Skip to content

fix(review-runs): describe the census output list-recent-runs actually prints - #1680

Merged
max-sixty merged 2 commits into
mainfrom
nightly/review-runs-census-43378610797
Nov 13, 2026
Merged

max-sixty merged 2 commits into
mainfrom
nightly/review-runs-census-43378610797

Conversation

@tend-agent

@tend-agent tend-agent commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

review-runs Step 1 told sessions to check the census against .total_count and a FETCH_FROM fetch, and to treat a count of 30 or 100 as a page that was never followed. tend runtime list-recent-runs emits 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 a WARNING on 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's review-runs session 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.

…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 tend-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@max-sixty
max-sixty merged commit fa6526a into main Nov 13, 2026
12 checks passed
@max-sixty
max-sixty deleted the nightly/review-runs-census-43378610797 branch November 13, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants