Skip to content

ci: remove release-time self-test of release-notes checker#2213

Open
aryanputta wants to merge 1 commit into
NVIDIA:mainfrom
aryanputta:fix/remove-release-selftest
Open

ci: remove release-time self-test of release-notes checker#2213
aryanputta wants to merge 1 commit into
NVIDIA:mainfrom
aryanputta:fix/remove-release-selftest

Conversation

@aryanputta

Copy link
Copy Markdown
Contributor

Description

Fixes #2062.

The check-release-notes job in release.yml ran pytest ci/tools/tests from the repo root. Pytest then discovers the root conftest.py, which imports cuda.pathfinder. The job installs only pytest (not the project packages), so collection aborted with exit code 4 before any test ran, and the job never reached the actual Check versioned release notes exist step.

As noted in the issue, running infra/tooling tests during a release is the wrong place for them. The step was already disabled (commented out) and carried to main via #2073. This removes the dead block so the release workflow only validates that the versioned release notes exist.

Change

  • Remove the commented-out Self-test release-notes checker step from the check-release-notes job in .github/workflows/release.yml.

The Set up Python step is retained because Check versioned release notes exist still runs python ci/tools/check_release_notes.py.

Follow-up (out of scope)

The tooling tests under ci/tools/tests can be exercised in a PR-triggered CI workflow so they stay covered without the release-time package-import problem. Happy to do that as a separate PR if maintainers want it; running them cleanly needs to avoid loading the root conftest.py (e.g. --confcutdir), so it is kept separate from this minimal fix.

The check-release-notes job ran `pytest ci/tools/tests` from the repo
root, which discovers the root conftest.py. That conftest imports
cuda.pathfinder, but the job installs only pytest (not the project
packages), so collection aborted with exit code 4 before any test ran.

Running infra/tooling tests during a release is the wrong place for
them. The step was already disabled (commented out); this removes the
dead block so the release workflow only validates that the versioned
release notes exist. The tooling tests under ci/tools/tests can be
exercised in a PR-triggered CI workflow as a follow-up.

Fixes NVIDIA#2062
@copy-pr-bot

copy-pr-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the CI/CD CI/CD infrastructure label Jun 14, 2026
@aryanputta

Copy link
Copy Markdown
Contributor Author

The CI/CD label was applied automatically. The metadata check is still red on milestone and assignee, which I can't set as an external contributor. Could a maintainer add a milestone (e.g. cuda.bindings next, matching recent CI/CD PRs) and an assignee? Happy to adjust anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] CI: "Self-test release-notes checker" fails due to root conftest.py import error

1 participant