Repository navigation
Show saved Run notifications in Command details - #2280
Merged
Merged
Conversation
Preserve both saved Run notification documentation and incoming Lanes/Stages title guidance, then regenerate the site manual.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reads stay bounded and confined for Other-account Commands. Security notifications
keep the existing
securityscope requirement. Missing sidecars show nothing;dispatched children do not inherit their parent's notification. Logs inventory stays unchanged.
Test seams: the CLI (
showtext and JSON), Console HTTP (/peekand/api/v1/peek), Fleet remote details, and rendered Command details in Chromium.Closes #2146
Evidence
Execution evidence
cargo test --test run_notification a_run_without_email_saves_its_notification_beside_its_command_log -- --exactfailed:
left: Null, expected[thirdshift] acme/widgets#7 Add export button: ready for review.After: same command passed:
1 passed; 0 failed.node --test --test-name-pattern='saved Run notification' console/tests/inbox.test.cjsfailed waiting for the missing Run notification region. Adding an exact timestamp assertion also failed:
actual
Reset: 2026-11-18 07:34 EST, expectedReset: 2026-11-18T12:34:56.123Z.After: same command passed:
1 passed; 0 failed(84 unrelated tests skipped).AssertionError: A dispatched Run with no saved notification inherited its parent notice.After the ownership fix, the same script passed. The kept regression is
cargo test --test console notifications::dispatched_children_do_not_inherit_the_parent_notification -- --exact.RUST_TEST_THREADS=3 scripts/affected-tests mainpassed thesite checks (104.39 s), locked build and full Console browser suite (346.86 s).
The full
cargo testrun reached the Trial target, then failed after 6160.45 sincluding compilation on the existing
a_scoped_hog_leaves_journal_oom_evidenceassertion:
the scope's journal must record its oom-kill.cargo test --test trial a_scoped_hog_leaves_journal_oom_evidence -- --exact --nocapturereproduced it;
journalctl --user --no-pager -n 5reports No journal files were found.The test and OOM-exec code are unchanged by this branch. All earlier groups
passed, including 1,972 unit tests, 357 Console HTTP tests, 47 Run notification
tests and the Architect, Pickup, Security and Spec run groups.
RUST_TEST_THREADS=3 cargo test --test trial_scope --test update --test user_config.python3 -m unittest discover -s scripts -p test_generate_release.pyalso passedall 10 tests. No repository files were changed to bypass the host journal limitation.
Visual evidence
Same synthetic Command and initial details state at both viewports; extra captures below show the notification after scrolling past the facts.
Before — Command details, desktop 1440×900
After — Command details, desktop 1440×900
Before — Command details, mobile 390×844
After — Command details, mobile 390×844
Notification below the facts
After — Run notification, desktop 1440×900
After — Run notification, mobile 390×844
Review
Fixed point:
refs/remotes/origin/main(e137ab54). Standards: 0 findings.Spec: 1 finding, reproduced and fixed (dispatched-child ownership).
Both reviewers read all 19 changed files. No unread changed files or generated-output exclusions.
Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Blast Radius: details
Built with codex codex-cli 0.169.0 · gpt-6.1-sol · xhigh