Skip to content

ci: fix check_tier_skips early-return under set -e#4564

Open
svcnemo-autobot wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
svcnemo-autobot:ci/fix-tier-skips-set-e-issue4563
Open

ci: fix check_tier_skips early-return under set -e#4564
svcnemo-autobot wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
svcnemo-autobot:ci/fix-tier-skips-set-e-issue4563

Conversation

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator

Replaced the fragile [ "$expect" != "true" ] && return guard introduced in 6d5e924 with an explicit if block so the early return is safe under set -e -o pipefail in the CI summary job.

The `[ "$expect" != "true" ] && return` guard added in 6d5e924 is unsafe
under `set -e`: when a tier IS expected the `[ ]` test exits non-zero and
the `&&` short-circuit leaves the compound statement with a failing exit
status, which can abort the step before the skip check runs. Use an
explicit `if` block so the early return is robust under `set -e`.
@svcnemo-autobot svcnemo-autobot requested a review from a team as a code owner June 28, 2026 21:11
@copy-pr-bot

copy-pr-bot Bot commented Jun 28, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator Author

/ok to test 03183cc

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.

1 participant