Repository navigation
Show Plan usage by Harness above machine details - #2274
Merged
Merged
Conversation
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
The summary uses the selected scope's existing Logins. Different account identities keep separate sub-rows; unidentified Logins show their freshest observation. CLI and API JSON retain their existing view.
Closes #2229
Test seams: Console HTTP page/API responses and the rendered
/plan-usagebrowser flow, including Machine selection and responsive geometry.Evidence
Execution evidence
node --test console/tests/plan-usage.test.cjs# pass 3,# fail 0), including all five entries above the fold at 1280×720 and no horizontal overflow at 390px.node --test /tmp/spec-2229-fold-repro.cjsfailed withbottom=914.828125for three machines with distinct Claude/Codex/Muse identities. After: the exact command passed (# pass 1,# fail 0). The regression is retained inconsole/tests/plan-usage.test.cjsas “three distinct Logins keep all five Harnesses above the fold”.cargo test --test console plan_usage:: -- --nocapture: 9 passed, covering API/CLI parity, distinct identities, restrictions, escaped names, expired windows, freshness and scope.npm run docs:check --prefix site: passed.RUST_TEST_THREADS=3 scripts/affected-tests mainpassed the site suite, locked build and all 261 Console browser tests. Its duplicate Rust run was stopped after CI passed all four Rust shards and the complete test gate on the exact headce75cc4036902d961ff1d6074c466e00059d36bc, reusing successful CI as the implementation skill anddocs/testing.mddirect. The local selector therefore was not a complete green run; Rust validation is supplied by that successful CI run. All PR checks are green.Visual evidence
Paired captures were inspected at the same Fleet state and viewports. Publishing to a secret Gist failed because the available GitHub token lacks the
gistscope (HTTP 404: Not Found; This API operation needs the "gist" scope). The exact local artifacts are retained in this Session; public image embeds are unavailable.Before — Plan usage Fleet, desktop 1440×900
/tmp/before-desktop.UoWddz.pngAfter — Plan usage Fleet, desktop 1440×900
/tmp/after-desktop.atP9Vl.pngBefore — Plan usage Fleet, mobile 390×844
/tmp/before-mobile.i4aLQQ.pngAfter — Plan usage Fleet, mobile 390×844
/tmp/after-mobile.nR5qmU.pngBefore — three distinct Logins, desktop 1440×900
/tmp/before-desktop.d6EbDQ.pngAfter — three distinct Logins, desktop 1440×900
/tmp/after-desktop.N3Mmem.pngBefore — three distinct Logins, mobile 390×844
/tmp/before-mobile.usNFmg.pngAfter — three distinct Logins, mobile 390×844
/tmp/after-mobile.wueSAg.pngReview coverage
Independent Standards and Spec reviews against
refs/remotes/origin/main(e137ab54ec9758cc3b06b28f6e857bede4ac6281), including the final amendment ince75cc40. Standards: 0 actionable findings. Spec: 1 finding, reproduced and fixed with its regression retained. Reviewers read all 10 changed files, including the generated manual HTML. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
Standards
None.
Spec
None. The three-Login fold finding was reproduced and fixed in
ce75cc40.Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Reverting removes the page projection and its styles; no stored data changes.
Blast Radius: Console
Plan usage rendering and its documentation.
Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh