Repository navigation
Conversation
pytorch/test-infra's trigger_nightly.yml cut the nightly branch of meta-pytorch/torchcomms with GH_PYTORCHBOT_TOKEN, a classic personal access token that the meta-pytorch org now rejects (403). The nightly branch has not moved since 2026-09-09, so no nightly has been built from it. Pushing to it from here would also have to get past the "Meta CLA Enforcement" ruleset, which a commit pushed without a PR cannot satisfy. Build main directly on a 11:30 UTC schedule instead. The reusable build workflow uploads on trigger-event == schedule, so it does not need the nightly branch. The `ref` input is set explicitly because it defaults to the nightly branch. A new source-commit job writes the commit sha to the run summary so each nightly can be traced to the commit it was built from. A manual run can upload to the nightly index when `publish` is set: the workflow then reports `schedule` as the trigger event to the reusable workflow. The wheel version still comes from BUILD_VERSION, which the reusable workflow sets to <version.txt>.dev<date> for the nightly channel. Test Plan: Not run on GitHub yet. After merge, dispatch the workflow to build and check the summary and the build job's checkout. A workflow_dispatch without `publish` builds main but does not upload; the first scheduled run (11:30 UTC) is the end-to-end check. Tracking: pytorch/test-infra#9303 This PR was authored with an AI assistant (Claude Code).
huydhn
approved these changes
Nov 9, 2026
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
pytorch/test-infra's trigger_nightly.yml cut the nightly branch of meta-pytorch/torchcomms with GH_PYTORCHBOT_TOKEN, a classic personal access token that the meta-pytorch org now rejects (403). The nightly branch has not moved since 2026-09-09, so no nightly has been built from it. Pushing to it from here would also have to get past the "Meta CLA Enforcement" ruleset, which a commit pushed without a PR cannot satisfy.
Build main directly on a 11:30 UTC schedule instead. The reusable build workflow uploads on trigger-event == schedule, so it does not need the nightly branch. The
refinput is set explicitly because it defaults to the nightly branch. A new source-commit job writes the commit sha to the run summary so each nightly can be traced to the commit it was built from. A manual run can upload to the nightly index whenpublishis set: the workflow then reportsscheduleas the trigger event to the reusable workflow. The wheel version still comes from BUILD_VERSION, which the reusable workflow sets to <version.txt>.dev for the nightly channel.Test Plan:
Not run on GitHub yet. After merge, dispatch the workflow to build and check the summary and the build job's checkout. A workflow_dispatch without
publishbuilds main but does not upload; the first scheduled run (11:30 UTC) is the end-to-end check. Tracking: pytorch/test-infra#9303This PR was authored with an AI assistant (Claude Code).