You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I dismissed something in the console in Needs You, and it went away, but then it popped back up there for maybe 10 seconds before disappearing again #2327
A successfully dismissed Command can briefly return to Needs you when the Console renders an older Inbox snapshot. Reproduced both paths on main at 4db74a82 with Chromium and isolated Command records.
Fleet Console. Dismiss a failed Command from a paired Console, then update an unrelated Command on the caller to trigger a live refresh before the next Fleet poll. The Dismiss POST returned HTTP 200 and the owning Console already showed the Command in Done. The caller put it back in Needs you for about 14 seconds, until the next 15-second poll. src/console/fleet_actions.rs:82 returns the owner's success while src/console/fleet_inbox.rs:243 still renders the caller's cached answer.
Owning Console. Hold a live Inbox GET taken before Dismiss, let the save and its follow-up GET finish, then release the older response. The row went from Needs you to Done, back to Needs you, then to Done on the next refresh. The Failed Dismissal stayed saved throughout. src/console/assets/changes.js:38 serializes live refreshes within the subscription, and src/console/assets/console.js:606 calls refresh() independently and clears the optimistic state when it finishes.
Prevent a pre-save snapshot from overriding a successful Dismissal. Order the browser's Inbox responses across the action and reconcile the caller's Fleet answer with the owning Console's saved result. Extend console/tests/inbox.test.cjs to release an older GET after the successful refresh and console/tests/fleet.test.cjs to trigger a caller refresh before the next owner poll. In both cases, assert that the same dismissed Command stays out of Needs you. Preserve immediate removal, restoration with an error when the save fails, Undo, and the documented return of a Command with a newly uncovered Needs you kind.
Activity
JacobStephens2 commentedon Nov 22, 2026
Agent Brief
A successfully dismissed Command can briefly return to Needs you when the Console renders an older Inbox snapshot. Reproduced both paths on
mainat4db74a82with Chromium and isolated Command records.src/console/fleet_actions.rs:82returns the owner's success whilesrc/console/fleet_inbox.rs:243still renders the caller's cached answer.src/console/assets/changes.js:38serializes live refreshes within the subscription, andsrc/console/assets/console.js:606callsrefresh()independently and clears the optimistic state when it finishes.Prevent a pre-save snapshot from overriding a successful Dismissal. Order the browser's Inbox responses across the action and reconcile the caller's Fleet answer with the owning Console's saved result. Extend
console/tests/inbox.test.cjsto release an older GET after the successful refresh andconsole/tests/fleet.test.cjsto trigger a caller refresh before the next owner poll. In both cases, assert that the same dismissed Command stays out of Needs you. Preserve immediate removal, restoration with an error when the save fails, Undo, and the documented return of a Command with a newly uncovered Needs you kind.