-
Notifications
You must be signed in to change notification settings - Fork 247
ci(fix): Wheel build #2192
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
Merged
ci(fix): Wheel build #2192
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e73bd12
ci(fix): Wheel build
ko3n1g 8781e70
fix
ko3n1g 38d6678
-container
ko3n1g 4ef4ae5
lock
ko3n1g f51a9a7
7674f57ffc0c2aa7f79590894bbfbc5929683da1
ko3n1g 08a9d47
bump
ko3n1g 0914a91
lockfile
ko3n1g 7c54312
test
ko3n1g 486d7e9
dbcf904a528ef93d55f3c4dbdd519af7897c51f7
ko3n1g e103c5a
te cu13
ko3n1g e2d0b6e
uv
ko3n1g c7ea73f
fix
ko3n1g ee39938
fix
ko3n1g bb47dc6
fix
ko3n1g cc0c2be
bump
ko3n1g 66ab601
fix
ko3n1g 3c9d3a4
test
ko3n1g ed48baa
fix docs
ko3n1g 23579fd
downgrade nvrx
ko3n1g da425e8
nvrx source install
ko3n1g 25ac5d1
update modelopt
ko3n1g 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: NVIDIA-NeMo/Megatron-Bridge
Length of output: 119
🏁 Script executed:
Repository: NVIDIA-NeMo/Megatron-Bridge
Length of output: 4293
🌐 Web query:
GitHub Actions gh cli run view required permissions actions:read💡 Result:
To run
gh run viewinside a GitHub Actions workflow, authenticateghwithGH_TOKENand ensure the workflow token has Actions read permission.Notes:
ghmust setGH_TOKENto a token with the required permissions/scopes. [1]GITHUB_TOKENpermissions via thepermissions:block. [2]gh run watch), you may needchecks: readin addition toactions: read. [3]actions/checkoutrecommendscontents: read. [4]Sources: [1] [2] [3] [4]
🏁 Script executed:
Repository: NVIDIA-NeMo/Megatron-Bridge
Length of output: 53
gh run viewfails silently due to missingactions:readpermission.The workflow's permission block (lines 28–30) grants only
id-token: writeandcontents: read. Thebuild-test-publish-wheel-summaryjob has no job-level permission override and callsgh run viewon line 86 with error masking (|| echo 0), which hides the authorization failure and causesFAILED_JOBSto be set to 0. The job then exits with status 0, incorrectly reporting success even when the check itself failed. Line 94's secondgh run viewcall is also unprotected and will fail withoutactions:readpermission.Add
permissions: {actions: read}to the job and setGH_TOKEN: ${{ github.token }}in the step to grant the necessary access. Replace the error-masking|| echo 0with strict failure handling to catch and report permission errors.Suggested fix
build-test-publish-wheel-summary: needs: [pre-flight, build-test-publish-wheel] if: | ( needs.pre-flight.outputs.docs_only == 'true' || needs.pre-flight.outputs.is_deployment_workflow == 'true' || always() ) && !cancelled() + permissions: + actions: read + contents: read runs-on: ubuntu-latest steps: - name: Result + env: + GH_TOKEN: ${{ github.token }} run: | - FAILED_JOBS=$(gh run view $GITHUB_RUN_ID --json jobs --jq '[.jobs[] | select(.status == "completed" and .conclusion != "success")] | length') || echo 0 + FAILED_JOBS=$(gh run view $GITHUB_RUN_ID --json jobs --jq '[.jobs[] | select(.status == "completed" and .conclusion != "success")] | length') || { echo "gh run view failed"; exit 1; }📝 Committable suggestion
🤖 Prompt for AI Agents