Repository navigation
fix(review-runs): describe the census output list-recent-runs actually prints - #1680
Merged
Merged
Conversation
…y prints The census paragraph pointed at .total_count and a FETCH_FROM fetch, which the Python script never emits; it prints a JSON array and reports coverage gaps as stderr warnings.
tend-agent
commented
Nov 13, 2026
tend-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The new sentence calls every stderr WARNING a coverage gap, but one of the five list-recent-runs emits isn't: the re-run warning (run(s) in this list were re-run) says the listed rows carry only the latest attempt's conclusion and asks the session to read each earlier attempts/N log before counting failures. Nothing else in review-runs mentions re-runs, so this line is the skill's only guidance on that output. Read as written, it lets a session note the re-run in its summary and skip the earlier attempts, undercounting the window's failures.
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.
review-runsStep 1 told sessions to check the census against.total_countand aFETCH_FROMfetch, and to treat a count of 30 or 100 as a page that was never followed.tend runtime list-recent-runsemits neither field: it prints a bare JSON array of runs, fetches each workflow up to the Actions pagination ceiling (RUN_LIMIT = 1000), and reports what the array can't show as aWARNINGon stderr — coverage gaps (a window past the 49h cap, no prior success, the ceiling reached) and re-runs, whose earlier attempts have no row. The paragraph dates from the Bash version of the census, before the move into Python in #1158. Every consumer'sreview-runssession loads it, and it sends them looking for a key that isn't there.The replacement points at what the script actually reports: count the rows, carry each stderr warning into the summary as a coverage gap rather than an all-clear, and for the re-run warning read the earlier attempts' logs before counting the window's failures.
No test change, since this edits skill prose only. The skill-related pytest selection and the pre-commit hooks pass on the edited file.