Skip to content

List only the current attempt's jobs in the SEC regression summary - #255

Merged
nanocoh merged 2 commits into
mainfrom
fix13
Sep 22, 2026
Merged

nanocoh merged 2 commits into
mainfrom
fix13

Conversation

@nanocoh

@nanocoh nanocoh commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

The summary job listed the jobs of every attempt of its run. After a few re-runs that listing spans several pages, and GitHub's API answers some of those pages with a persistent 502, so every re-run of the summary failed (main run #335, four attempts).

Listing the current attempt returns every job of the run in a listing that paginates cleanly. Jobs carried over from earlier attempts keep their own run_attempt, which summarize_sec_regress.py already uses to pick the latest attempt of each job and its result artifact.

The summary job listed the jobs of every attempt of its run. After a few
re-runs that listing spans several pages, and GitHub's API answers some of
those pages with a persistent 502, so every re-run of the summary failed
(main run #335, four attempts).

Listing the current attempt returns every job of the run in a listing that
paginates cleanly. Jobs carried over from earlier attempts keep their own
run_attempt, which summarize_sec_regress.py already uses to pick the latest
attempt of each job and its result artifact.
Listing only the current attempt would look up every job under that attempt
number, but after a re-run of failed jobs the unchanged jobs ran, and stored
their results, under an earlier attempt.

The step now lists attempts 1 through the current one. A job appears from
the attempt it ran in onward, so its first appearance gives that attempt,
and the summary keeps each job's latest attempt and reads the matching
result artifact. Jobs re-run in different attempts are therefore each taken
from their own last run.
@nanocoh
nanocoh merged commit f025fa2 into main Sep 22, 2026
17 of 18 checks passed
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant