Skip to content

fix(ci): retain check artifacts across partial reruns - #6005

Merged
marta-sd merged 2 commits into
martas/fep-1927-dynamic-tests-for-agent-serversfrom
glovisotto/ci-artifact-retries
Nov 13, 2026
Merged

marta-sd merged 2 commits into
martas/fep-1927-dynamic-tests-for-agent-serversfrom
glovisotto/ci-artifact-retries

Conversation

@giuliolovisotto

@giuliolovisotto giuliolovisotto commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Partial workflow reruns retain successful jobs from earlier attempts, but looking up artifacts only by the latest attempt drops their evidence. Match each selected job to the artifact uploaded during its execution window, and use that same artifact ID for report links. Missing uploads from rerun jobs cannot fall back to stale results.

Updates the shared downloader and its harness-conformance, documentation-table, and Environment Server compliance callers. This is split from #5376; no separate issue is needed for this bounded reporting correction. Stacked on #5920, with #5376 depending on this PR. Merge order will be handled separately.

Validation:

  • Shared artifact selection, both publishers, publication, and table tests: 139 passed on this parent branch.
  • pre-commit run --all-files and git diff --check: passed.
  • Test cleanup reduces the two new test files from 241 to 178 lines; production code is unchanged. The dependent test(conformance): add Claude Code, Terminus and Mini-SWE to CI #5376 was rebased, and the same 139 reporting tests pass there.
  • Model rollouts: N/A; only CI evidence selection and reporting change.

@giuliolovisotto giuliolovisotto added bug Something isn't working area:ci CI workflows, test routing, and repository automation needs-review PR is ready for code review and waiting on a reviewer labels Nov 11, 2026
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team November 11, 2026 12:08

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SHIP — LGTM — no concerns found.

I reviewed all eight changed files and traced the shared artifact selection through both check publishers, the documentation-table renderer, and the workflow upload contracts. The changes preserve SHA validation and unavailable-result handling while linking reports to the selected artifacts.

This was a static review. I couldn't execute tests or independently verify GitHub’s retained-job API behavior in this read-only environment.

Note: formal approval is not available for this request, so this review is posted as a comment only.

Review generated by codex. This was a full review. Request a full review with /review reset=true.

@giuliolovisotto

Copy link
Copy Markdown
Contributor Author

/review-approve

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SHIP — LGTM — no concerns found.

I compared the current head with the previously reviewed commit, 08b9e41. Only the two test files changed; production code is unchanged.

The revised shared artifact tests retain coverage for successful retained jobs, rerun failures, missing uploads, stale-result removal, and partial-download cleanup. The simplified compliance test checks the caller-specific job-name mapping and selected-artifact links through the real summary renderer.

This follow-up covers the test cleanup since the prior clean review, not a fresh whole-PR review. I found no introduced regressions. This was a static review; I couldn't execute tests.

Note: ⚠️ giuliolovisotto is not in any eligible team (automation, gym_maintainers) — you don't have permission to trigger formal reviews. Posting review as comment only.

Review generated by codex. This was a findings-only review. Request a full review with /review reset=true.

@github-actions github-actions Bot added the sla:review-overdue Review response is over the one-business-day SLA label Nov 12, 2026
@marta-sd
marta-sd requested a review from a team as a code owner November 13, 2026 08:06
@marta-sd
marta-sd force-pushed the glovisotto/ci-artifact-retries branch from 6bb6c29 to c5735ba Compare November 13, 2026 08:09
@marta-sd
marta-sd force-pushed the glovisotto/ci-artifact-retries branch from c5735ba to 83ab684 Compare November 13, 2026 08:26
@marta-sd

Copy link
Copy Markdown
Contributor

/ok to test 83ab684

@marta-sd
marta-sd enabled stacked auto-merge November 13, 2026 10:55
@marta-sd
marta-sd added this pull request to the merge queue Nov 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because a pull request earlier in the stack was removed Nov 13, 2026
@marta-sd
marta-sd added this pull request to the merge queue Nov 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because a pull request earlier in the stack was removed Nov 13, 2026
@marta-sd
marta-sd force-pushed the glovisotto/ci-artifact-retries branch from 83ab684 to 1589adc Compare November 13, 2026 12:24
@marta-sd

Copy link
Copy Markdown
Contributor

/ok to test 1589adc

@marta-sd
marta-sd enabled stacked auto-merge November 13, 2026 12:35
@marta-sd
marta-sd added this pull request to the merge queue Nov 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/43427162106

Merged via the queue into main with commit 4caaebe Nov 13, 2026
147 of 149 checks passed
@marta-sd
marta-sd deleted the glovisotto/ci-artifact-retries branch November 13, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI workflows, test routing, and repository automation bug Something isn't working needs-review PR is ready for code review and waiting on a reviewer sla:review-overdue Review response is over the one-business-day SLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants