Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): live background-work banner no longer hides behind the update notice #5595

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/5595/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

With a server update pending and subagents running, the composer showed the passive "Server update available" notice in front while the live "3 agents working in the background" banner hid behind it until hover. Worse, the collapsed stack cap peeking out behind the front banner is hardcoded warning-yellow, so the neutral subagent banner read as a mystery yellow warning that "transformed" on hover.

Two fixes:

  • Banner ordering is now by urgency: error/warning system banners stay in front, the background-liveness banner comes next (its Stop button is the only stop affordance once a turn settles), and calm notices like the update offer stack behind it.
  • The collapsed stack cap border now derives from the variant of the banner actually hidden behind the front one, instead of always faking a warning.

🤖 Generated with Claude Code using Claude Fable 5


Note

Low Risk UI-only banner ordering and styling in the chat composer; no auth, data, or API changes.

Overview Fixes composer banner stacking so live states (background agents, in-flight server update, reconnect) stay in front of passive notices like “Server update available,” and so the collapsed stack peek no longer always looks like a warning.

ChatView splits system banners into urgent (error/warning variants or urgent: true) vs calm, then builds the stack as: urgent system → background liveness → calm system → woke / branch-mismatch / parked. Reconnect/version-skew and running server-update items are flagged urgent so they front the stack despite default styling.

ComposerBannerStack adds optional urgent on items (assembler-only) and maps the collapsed cap border to the first hidden banner’s variant instead of a fixed warning border. Tests cover neutral vs warning caps behind the front banner.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit aa08190e6146fa020dc7d1b839e63ca6a271720d. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Fix live background-work banner being hidden behind the update notice in ChatViewContent

  • Reorders composer banners in ChatView.tsx by partitioning system banners into 'urgent' (error/warning variants or items flagged urgent: true) and 'calm' sets, placing urgent items before background liveness and calm items after.
  • The reconnecting-through-version-skew and in-progress server update banners are now flagged urgent: true so they appear first; 'update available' (calm) no longer obscures the liveness banner.
  • The collapsed stack cap border in ComposerBannerStack.tsx now reflects the severity of the first hidden banner instead of always using a warning color.
Macroscope summarized aa08190.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: bc637f54-f6c1-46f4-a0c3-9ced5273eda8

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    3. Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 14614652f4d644f1d74b11abd75889a3efdb19a4. Configure [here](https://www.cursor.com/dashboard/bugbot).
      @@ -4423,11 +4427,18 @@
      44234427 void handleSwitchCheckoutToThread();
      44244428 }, [gitStatusQuery.data?.hasWorkingTreeChanges, handleSwitchCheckoutToThread]);
      44254429 const composerBannerItems = useMemo<ComposerBannerStackItem[]>(() => {
      4430+ const urgentSystemItems = systemComposerBannerItems.filter(
      4431+ (item) => item.variant === "error" || item.variant === "warning",
      4432+ );
      4433+ const calmSystemItems = systemComposerBannerItems.filter(
      4434+ (item) => item.variant !== "error" && item.variant !== "warning",
      4435+ );
      44264436 const backgroundLivenessItems =
      44274437 backgroundLivenessBannerItem === null ? [] : [backgroundLivenessBannerItem];
      44284438 const wokeThreadItems = wokeThreadBannerItem === null ? [] : [wokeThreadBannerItem];
      44294439 const parkedThreadItems = parkedThreadBannerItem === null ? [] : [parkedThreadBannerItem];
      44304440 if (!localCheckoutBranchMismatch || !showBranchMismatchBanner || !activeBranchMismatchKey) {
      44314441 return [
      4432- ...systemComposerBannerItems,
      4442+ ...urgentSystemItems,
      44334443 ...backgroundLivenessItems,
      4444+ ...calmSystemItems,

      Update progress hides behind liveness

      Medium Severity

      When a server update is running and background liveness is shown, the in-flight update banner stays on the default variant and lands in calmSystemItems, so it stacks behind the liveness banner. Users only see ServerUpdateProgress after hover, while a failed update on the same surface remains in the urgent tier in front.

      Fix in Cursor Fix in Web
      Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 14614652f4d644f1d74b11abd75889a3efdb19a4. Configure [here](https://www.cursor.com/dashboard/bugbot).
      t3dotgg(GitHub profile, opens in a new tab)commented

      [claude-fable-5] RESPONDING ON BEHALF OF THEO


      Real finding, fixed in aa08190e6. A running update styles as the calm default variant, so the variant-based urgency split stacked its progress behind the liveness banner. Banner items now carry an explicit urgent flag for calm-styled live states (update progress, the reconnect fold), and ordering keys off that plus error/warning variants. Only the idle "update available" offer stacks behind liveness.

    4. Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 14614652f4d644f1d74b11abd75889a3efdb19a4. Configure [here](https://www.cursor.com/dashboard/bugbot).
    5. github-actions[bot](GitHub profile, opens in a new tab)commented

      Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire11.3 KiB11.3 KiB+11 B (+0.1%)15.1 KiB✅
      CodexThread snapshot wire5.4 KiB5.4 KiB−1 B (−0.0%)7.3 KiB✅
      CodexLive turn WebSocket wire5.9 KiB5.9 KiB+12 B (+0.2%)7.8 KiB✅
      CodexLive turn WebSocket decoded49.7 KiB49.7 KiB0 B (0.0%)66.4 KiB✅
      CodexLive turn messages16160 (0.0%)21✅
      ClaudeTotal thread wire11.3 KiB11.3 KiB−21 B (−0.2%)15.1 KiB✅
      ClaudeThread snapshot wire5.5 KiB5.5 KiB+1 B (+0.0%)7.3 KiB✅
      ClaudeLive turn WebSocket wire5.9 KiB5.8 KiB−22 B (−0.4%)7.8 KiB✅
      ClaudeLive turn WebSocket decoded50.6 KiB50.6 KiB0 B (0.0%)66.4 KiB✅
      ClaudeLive turn messages16160 (0.0%)21✅

      Baseline: 8100062 · PR result: aa08190 · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 94.6 KiB
      • Claude decoded thread snapshot: 95.3 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

    6. Approvability

      Verdict: Needs human review

      An unresolved review comment identifies a potential issue where in-progress update banners (using 'default' variant) would incorrectly stack behind liveness banners, which warrants human evaluation of the urgent/calm classification logic.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).

Sign in to join this conversation.