Repository navigation
Show Run metrics and missing signals in Console details - #1151
Merged
Merged
Conversation
This was referenced Oct 23, 2026
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
Show retained Run metrics in Command details using the existing
show --jsondata. Preserve recorded zeroes and distinguish unavailable signals:Command details Run metrics Recorded values, stage times and finding counts - Unavailable signals: None + Unavailable signals: MissingCloses #1040
Evidence
cargo test --test console metrics::peek_shows_retained_run_metrics_and_marks_missing_signals -- --exactfailed because unavailable Security, Spec and Usual range signals rendered asNone.After: the same route test passes, including equality with
show --jsonand visible recorded zeroes.npm test --prefix console: 60 passed, including complete, partial and older records at 1440 px and 390 px; both the page and details remain within the viewport width.cargo check --lockedandcargo fmt --check: passed./usr/bin/time -p scripts/affected-tests origin/issue-981: all 44 site browser tests passed. The local Rust run was stopped after the same head passed the full suite in CI, reusing that result perdocs/testing.md. The selector ran for 1462.46 seconds including compilation (Rust compilation: 2m 17s); this is an interrupted local run, not a full-suite timing.ad65dce: all checks passed, including the fullcargo testsuite, clippy, formatting, and both browser suites.Test seams
/peekHTTP route paired withthirdshift show --jsonfor retained Run metrics.Review coverage
Independent Standards and Spec reviews against
issue-981, pinned to its fetched commitd8ef257e0cebc480b866c484b5ecb486e9d51956: 0 findings on each axis. Both reviewers read all eight changed files. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
Standards
None.
Spec
None.
Security
None. Guidance-mode review of
d8ef257...HEAD: presentation-only metrics wording (NonetoMissinginside run metrics) plus tests and docs; no new source, sink, endpoint, or auth change. A local probe rendering schema-valid run metrics carrying an inert script string through/peekconfirmed the output stays HTML-escaped, and the existing route and escaping tests pass. No introduced findings; nothing fixed.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Presentation and tests only; retained metrics and the CLI schema stay unchanged.
Blast Radius: Console
Unavailable Run metric values use clearer wording in Command details. Site descriptions document the behavior.
Built with codex · gpt-6.1-sol · xhigh