Skip to content

Deepen Fleet Inbox read ordering - #2340

Merged
JacobStephens2 merged 4 commits into
mainfrom
issue-2339
Nov 26, 2026
Merged

JacobStephens2 merged 4 commits into
mainfrom
issue-2339

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

flowchart LR
  Poll[Subscribed poll] --> Reads[Fleet Inbox read ordering]
  Save[Saved Dismissal or Undo] --> Reads
  Reads --> Owner[Owning machine Inbox]
  Owner -->|Read result| Reads
  Reads -->|Retained answer| Inbox[Watching Console Inbox]
Loading

A save drops the affected Command from retained answers, including nested copies, and invalidates earlier reads. Failures preserve the last good answer and its timestamp while clearing action scopes. A retired poll holds its slot until it returns.

Evidence

Execution evidence

  • node --test --test-name-pattern 'drops a finished answer' console/tests/fleet.test.cjs
    • Before AssertionError: a polling sweep should drop the inactive viewer’s finished answer
    • After # pass 1 and # fail 0
  • cargo test --locked --bin thirdshift console::fleet_inbox::reads::tests passed all seven deterministic tests. The two review regressions initially failed on duplicate poll admission and a retained nested copy. Both pass with the fixes.
  • npm test --prefix console passed all 280 browser tests on 20523336.
  • RUST_TEST_THREADS=4 cargo test --locked --test console passed 370 integration tests with two ignored. The test PATH excluded the host’s installed Muse binary.
  • The final head passed Console CI and all four Linux x86 Rust partitions, including the coverage gate. CI run

The tests exercise admission, save, completion, and lookup through the production read module, and the browser exercises the Console through its Inbox and owning-machine HTTP routes. The Fleet fixtures hold a second Inbox subscription through full-page navigation and failed-read checks. The cleanup test closes the last subscription.

Visual evidence

Before — Fleet Dismiss and Undo, desktop 1440×900

before-desktop.yA00pt.mp4

After — Fleet Dismiss and Undo, desktop 1440×900

after-desktop.hbnRdn.mp4

Both walkthroughs use faux Commands and accounts. The actor dismissed and restored the Fleet row, and the second viewer saw both changes under its own scopes.

Merge Danger

Door Two-way. Read ordering and retained answers live in memory.

Blast radius Console.

Unaddressed findings

  • Standards None.
  • Spec None.
  • Security None.

Both axes reviewed all seven changed files. No changed files were left unread.

Closes #2339

Built with codex codex-cli 0.167.2 · gpt-6.2-sol · xhigh

Security review outcome

No unaddressed introduced findings.

@JacobStephens2
JacobStephens2 merged commit fd7694e into main Nov 26, 2026
29 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2339 branch November 26, 2026 15:28
@JacobStephens2 JacobStephens2 mentioned this pull request Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deepen Fleet Inbox read ordering

1 participant