Skip to content

[ci] refactor: consolidate PR + release workflows; use validate-only#3658

Merged
ko3n1g merged 29 commits into
mainfrom
ko3n1g/refactor/validate-only-release
May 6, 2026
Merged

[ci] refactor: consolidate PR + release workflows; use validate-only#3658
ko3n1g merged 29 commits into
mainfrom
ko3n1g/refactor/validate-only-release

Conversation

@ko3n1g

@ko3n1g ko3n1g commented May 4, 2026

Copy link
Copy Markdown
Contributor

Why

See the design discussion in NVIDIA-NeMo/FW-CI-templates#466.

What

  • Delete .github/workflows/build-test-publish-wheel.yml.
  • Rewrite .github/workflows/release.yaml as the single caller for both push and workflow_dispatch. validate-only derives from the trigger.

One pin to FW-CI-templates governs both paths. Bumping it on a PR rehearses the exact same code path that ships at release.

Trigger / mode matrix

Event validate-only dry-run Effect
Push (PR / main / deploy-release) true n/a Build + validate-wheel + bump compute + gh-release echo + docs build. No publish.
workflow_dispatch dry-run=true false true Real bump branch + PR + cleanup. Wheel publish + GH release POST + docs publish all inert. Slack lands with dry-run prefix.
workflow_dispatch dry-run=false false false Full release.

Test plan

Rollout

  1. Land FW-CI-templates#466.
  2. Cut FW-CI-templates v1.0.0.
  3. Bump the SHA pin in this PR → tag.
  4. Merge.

Comment thread .github/workflows/release.yaml Outdated

release:
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.93.0
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@17906084f64b4353b596133c5e8b98c2347e4c8e

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.

nit: PR description says "Pinned to a SHA on the FW-CI-templates branch for iteration; will swap to a tagged release before merge." — flagging so this doesn't slip through. The old workflow pinned to v0.93.0; merging with a bare SHA makes future audits harder and bypasses any tag-level protection the templates repo may enforce.

@claude claude Bot 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.

Looks good overall — the consolidation is well-motivated and the validate-only / dry-run separation is clean.

One item to resolve before merge:

  • SHA pin on FW-CI-templates (inline comment): needs to be swapped to a tagged release as noted in the PR description.

Minor observations (no action needed unless you disagree):

  • The old build-test-publish-wheel-summary had a dead SKIPPING_IS_ALLOWED check (shell var was never set). Good that the new release-summary drops it.
  • cancel-in-progress is correctly gated to push events only, so manual workflow_dispatch releases won't get cancelled mid-flight.
  • Container image bumped from 25.05-py325.11-py3 — assumed intentional.

Suggested test cases

No perf tests impacted.

Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
ko3n1g and others added 9 commits May 5, 2026 16:54
Why: FW-CI-templates dropped GPG signing; SSH_KEY/SSH_PWD secrets no
longer needed by the release pipeline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
…in-check always on)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
…quirements-file)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
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