Repository navigation
Show elapsed time before Run and Spec run outcomes - #747
Merged
Merged
Conversation
JacobStephens2
marked this pull request as draft
October 17, 2026 05:55
JacobStephens2
marked this pull request as ready for review
October 17, 2026 05:55
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
Report elapsed wall time for a top-level Run or Spec run on stderr before its final outcome, using the existing Run notification duration format.
Closes #51
Evidence
Before:
cargo test --test progress_lines ends_a_successful_run_by_naming_the_prfailed: expected one elapsed summary, found zero.After: The same test passes, with one elapsed line immediately before the PR outcome and only the PR URL on stdout, with notifications disabled.
Failure and graceful interruption checks preserve exit code
1and the original cause.A linear Spec run produces one elapsed summary; its two child Runs produce none.
Deterministic duration cases cover fractional seconds, minute/hour boundaries, and durations beyond 24 hours.
Final validation:
cargo test(1783 passed, 2 ignored),cargo fmt --check, andcargo clippy --all-targets -- -D warningspassed.Test seams
Durationvalues at second/minute/hour boundaries, preserving the Run notification's existing format.Unaddressed findings
Standards: None.
Spec: None.
Security: None.
Security review outcome
No unaddressed introduced findings.
Review coverage
git diff b58d24d287aa956679f59341482eaaf709dc9a64...HEADand supporting command lifecycle, logging, notification and child-output code found no introduced security findings. Read the relevant attack-class guidance; no repositorySECURITY.mdor dedicated threat model was present. Offline checks in a network-isolated sandbox passed: 43 unit tests, all 11progress_linesintegration tests, and the linear Spec run test.Reports are retained in
.thirdshift-review-wZmfRL/standards.mdand.thirdshift-review-wZmfRL/spec.mdin the Run's worktree.Merge Danger
Door: two-way
Blast Radius: terminal
Adds a stderr summary to top-level Run/Spec endings. Existing outcomes, stdout URLs, exit codes and notification content are preserved.
Built with codex · gpt-6.1-sol · high