Skip to content

fix(ci): AUT-957 support golden checks in merge queue#5989

Merged
ko3n1g merged 2 commits into
NVIDIA:mainfrom
svcnemo-autobot:fix/golden-values-event-context
Jul 23, 2026
Merged

fix(ci): AUT-957 support golden checks in merge queue#5989
ko3n1g merged 2 commits into
NVIDIA:mainfrom
svcnemo-autobot:fix/golden-values-event-context

Conversation

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator

Background

Merge-group run 29983603449 failed in linting: get-pr-info is skipped for merge_group, while the golden-value step evaluated fromJSON on its empty output and made the workflow template invalid. The PR event path itself passed in run 29902228424.

What changed

Details

.github/workflows/cicd-main.yml now avoids parsing an empty get-pr-info output and uses the merge-group event payload directly. tools/check_golden_values.py is unchanged from #5959.

Tested

  • uv sync --locked --only-group linting
  • BASE_REF=main CHECK_ONLY=true SKIP_DOCS=false bash tools/autoformat.sh
  • Black, isort, pylint, and ruff on tools/check_golden_values.py
  • Finite, non-finite, and malformed JSON cases
  • PR-event validator and lint passed in run 29902228424

balasaajay and others added 2 commits July 23, 2026 07:07
- Introduced a new step in the CI workflow to validate golden-value JSON files for NaN and infinity values.
- Added a new script, `check_golden_values.py`, to perform the validation checks on the specified files.
- The validation step is triggered during pull request pushes, ensuring that any updates to golden values are properly checked before merging.

Signed-off-by: [Your Name] <your.email@example.com>
Co-authored-by: [Co-author Name] <coauthor.email@example.com>
Signed-off-by: Ajay Balasa <abalasa@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
@svcnemo-autobot
svcnemo-autobot requested a review from a team as a code owner July 23, 2026 07:37
@svcnvidia-nemo-ci
svcnvidia-nemo-ci marked this pull request as draft July 23, 2026 07:38
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically converted to draft because all PRs must start as drafts.

When you are ready for review, click Ready for Review to begin the review process. This will:

  1. Add the oncall reviewer (optional reviewer)
  2. Add required review teams based on your changes

See the contribution guide for more details.

@copy-pr-bot

copy-pr-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ko3n1g
ko3n1g marked this pull request as ready for review July 23, 2026 07:39
@svcnvidia-nemo-ci
svcnvidia-nemo-ci requested a review from a team July 23, 2026 07:39
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the Approved All necessary approvals have been made label Jul 23, 2026
@svcnemo-autobot

Copy link
Copy Markdown
Collaborator Author

/ok to test a6eb587

@ko3n1g
ko3n1g merged commit bb5647a into NVIDIA:main Jul 23, 2026
27 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved All necessary approvals have been made complexity: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants