Repository navigation
Deepen Console Inbox row preparation for local Commands - #2355
Conversation
|
Delivery completed on agent-authored or reviewed head 6bca0a5. |
|
Review run. Pushed fixes to issue-2354 at 64ecf91. Spec axis used the linked closing issues. Reviewed PR #2355 against StandardsFixed duplicate Inbox identities for non-UTF-8 paths. Two distinct Command records rendered with the same row ID and selector because both paths converted to the same display string. The fix preserves the exact path bytes for identity and selection. The retained regression verifies that each rendered selector undoes only its own saved Dismissal. Regression test SpecNo actionable findings against the linked closing issue. The Inbox HTML route evaluates the owning Inbox once, and typed local Commands and checked Fleet rows use the shared presenter. Issue #2354 Unaddressed findings
CoverageBoth reviewers read all eight files in the pinned diff. The review covered all six follow-up files. No changed files were unread or excluded. Standards report · Spec report · Finding counts ValidationThe PR was open at the single pre-validation check. The affected suite and focused follow-ups ran with
The full Rust suite remains incomplete. Its failure was in the existing token test’s API and CLI equality assertion. Failing assertion · Validation log Standards 1 finding, duplicate Inbox identity fixed. Spec 0 findings. Security
CI passed or absent at 64ecf91 |
|
Delivery completed on agent-authored or reviewed head 143686c. |
|
Review run. The branch moved; no fixes were pushed. Proposed fixes remain in the local worktree. Spec axis used the linked closing issues. Reviewed PR #2355 against Standards
SpecThe Spec was the supplied linked closing issue. Issue #2354
Unaddressed findings
CoverageBoth reviewers read all 17 files in the pinned diff. I read every fix hunk, including the regenerated manual. Every changed file was covered, with no generated-output exclusions. The non-UTF-8 fixtures used the serving OS account. The separate Other-account suite passed all 19 tests. Standards report · Spec report · Finding counts ValidationEach retained regression exited
The cache reproduction also failed through
The Fleet fixture expected The manual browser probe initially timed out with a nested section folded. After correcting the probe, Standards 2 fixed, most serious the shared frozen GitHub answer. Spec 2 fixed, most serious the missing Ready for review Command. SecurityNo unaddressed introduced findings. Delivery failedhead moved after review; expected 103b98d, actual 143686c; the PR stays ready for review |
|
Review run. Pushed fixes to issue-2354 at 427c383. Spec axis used the linked closing issues. Reviewed PR #2355 against Standards
Spec
Unaddressed findings
Review coverageBoth reviewers read all 17 files in the pinned diff. I reviewed every fix hunk, including the regenerated manual. No changed files were unread or excluded. Standards report · Spec report · Finding counts ValidationThe affected suite ran in the review worktree with
Standards 2 fixed, chiefly the path and selector type mix-up. Spec 3 fixed, chiefly the missing Ready for review Command. SecurityNo unaddressed introduced findings. CI passed or absent at 427c383 |
Summary
The presenter keeps dispatch progress and Slow markers when a dispatched Run has its own row. It preserves Ready for review grouping, checks, title and link precedence, and local and Fleet controls. Non-UTF-8 paths use exact selectors for Command and Session links. Kept GitHub answers and Dismissals still use the keys already stored on disk.
Closes #2354
Evidence
Execution evidence
cargo test --test console inbox_renders_a_command_when_its_record_path_cannot_be_serializedpath contains invalid UTF-8 characters.cargo test --test console inbox::inbox_opens_details_for_command_in_non_utf8_logs_directory -- --exactCommand details are unavailable.1 passed; 0 failedcargo test --test console inbox::inbox_opens_session_in_non_utf8_logs_directory -- --exactLog is unavailable.1 passed; 0 failedcargo test --bin thirdshift logs::reading::tests::legacy_frozen_answer_keeps_non_utf8_failed_command_settled -- --exact1 passed; 0 failed. The archived Command stayed in History with its original departure reason.cargo test --test console inbox::inbox_full_log_preserves_the_frozen_title_for_a_non_utf8_command -- --exact1 passed; 0 failedcargo test --locked --bin thirdshift logs::status::rows::tests::checked_document_preserves_wire_and_prepares_legacy_rows -- --exactcalled Option::unwrap() on a None valuecargo fmt --all --checkandcargo check --lockedpassed. The test seams are the local Console HTTP routes, the owning Inbox evaluation, the common presentation interface for a captured Command and its emitted Fleet Document, and the status CLI.scripts/affected-tests refs/remotes/origin/mainpassed the full Rust suite and all 280 Console browser tests. The test process used aPATHwithout the host's installed Muse so the Plan usage fixture could exercise its absence. GitHub CI passed all four Rust partitions, their coverage gate, and the Console and site browser suites on103b98de. CI runVisual evidence
Headless Chromium exercised Inbox grouping, Peek, repository filtering and Dismiss/Undo. The new walkthrough compares the pinned base
8e12706band head103b98dewith the same faux Command directory containing a non-UTF-8 byte. The base returns HTTP 500. The head opens Peek, reads the full Command log and opens the Session trace. The recording masks the host name and filesystem paths.Before — Inbox and Peek, desktop 1440×900
After — Inbox and Peek, desktop 1440×900
Before — Inbox with a non-UTF-8 Command directory, desktop 1440×900
before-nonutf8-desktop.kjGqNR.mp4
After — Inbox, Peek and Session trace with a non-UTF-8 Command directory, desktop 1440×900
after-nonutf8-desktop.97Ylvl.mp4
Merge Danger
Door Two-way. A revert restores the prior presentation path.
Blast Radius Console Inbox and archive rows, Command detail links, and the local status handler.
Unaddressed findings
Standards
Spec
None.
Security
No unaddressed introduced findings.
Security review outcome
Review coverage
The Spec reviewer read all 17 changed files. The Standards reviewer read 16.
src/logs/status/target.rswas changed to address the Spec follow-up after the Standards pass.Built with codex codex-cli 0.167.2 · gpt-6.2-sol · xhigh