-
Notifications
You must be signed in to change notification settings - Fork 64
chore: align release branching and nightly tagging flow #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rapids-bot
merged 2 commits into
NVIDIA:main
from
willkill07:wkk_docs-release-nightly-tags
May 13, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| --- | ||
| name: prepare-code-freeze | ||
| description: Prepare a NeMo Flow code freeze by creating the release branch, updating nightly alpha branch config, bumping main to the next version, and opening the required PR | ||
| author: NVIDIA Corporation and Affiliates | ||
| license: Apache-2.0 | ||
| --- | ||
|
|
||
| # Prepare Code Freeze | ||
|
|
||
| Use this skill when the user asks to start, prepare, or automate a NeMo Flow | ||
| code freeze. | ||
|
|
||
| ## Companion Guidance | ||
|
|
||
| Use `update-project-version` for version bump semantics and `prepare-pr` before | ||
| opening the PR. | ||
|
|
||
| ## Workflow | ||
|
|
||
| This workflow assumes `upstream` is the NVIDIA repository remote | ||
| (`NVIDIA/NeMo-Flow`). The `origin` remote can be a maintainer's personal fork. | ||
|
|
||
| 1. Confirm or infer the target release version from `upstream/main:Cargo.toml`. | ||
| Derive the release branch as `release/<major>.<minor>`. | ||
| 2. Prompt for `<next-version>` if the user did not provide it. This is the | ||
| version that `main` moves to after the release branch is cut. | ||
| 3. Fetch the latest `main` and create the release branch from `upstream/main`: | ||
|
|
||
| ```bash | ||
| git fetch upstream main | ||
| git branch release/<major>.<minor> upstream/main | ||
| git push upstream release/<major>.<minor> | ||
| ``` | ||
|
|
||
| If the remote release branch already exists, verify it points where expected | ||
| before continuing. | ||
| 4. Create a PR branch from latest `upstream/main`, for example | ||
| `docs/code-freeze-<major>.<minor>`. | ||
| 5. Update `.github/nightly-alpha-branches.yaml` to include the new release | ||
| branch. | ||
| 6. Run `just set-version <next-version>` to bump all release-versioned package | ||
| surfaces on `main`. | ||
| 7. Validate with targeted checks: | ||
|
|
||
| ```bash | ||
| ruby -e 'require "yaml"; YAML.load_file(".github/nightly-alpha-branches.yaml"); YAML.load_file(".github/workflows/nightly-alpha-tag.yaml")' | ||
| just set-version <next-version> | ||
| git diff --check | ||
| ``` | ||
|
|
||
| 8. Open a PR targeting `main` using `.github/pull_request_template.md`. The PR | ||
| must mention: | ||
| - the new release branch | ||
| - the nightly alpha branch config update | ||
| - the `just set-version <next-version>` bump | ||
| - that release-bound PRs now target the new `release/*` branch | ||
|
|
||
| ## Guardrails | ||
|
|
||
| - Do not create release tags. Code freeze only creates the branch and the main | ||
| PR. | ||
| - Do not target the code-freeze PR at the release branch. It targets `main`. | ||
| - Do not leave uncommitted user changes mixed into the code-freeze PR branch. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| branches: | ||
| - main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.