Skip to content

[ci] Reject conflicting CI build and skip labels - #9018

Merged
ScottTodd merged 2 commits into
mainfrom
users/scotttodd/ci-build-label-validation
Oct 14, 2026
Merged

ScottTodd merged 2 commits into
mainfrom
users/scotttodd/ci-build-label-validation

Conversation

@ScottTodd

@ScottTodd ScottTodd commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Motivation

For #7346 I want to add a ci:skip-rocm that will conflict with ci:build-python-packages and ci:build-native-linux, so this does some pre-work.

This also moves some tests that were added under TestDecideJobs incorrectly - if they test CIInputs.validate() they should go under TestCIInputs.

Test Plan

Submission Checklist

Validate opposing labels for native Linux packages, ROCm Python packages, PyTorch, and JAX before job selection. Replace the previous build-label precedence test with input validation coverage.

Validation: configuration tests passed (150 passed, 1 skipped).

Generated with Codex
Move stage and test-label validation cases out of TestDecideJobs. Keep them focused on validate() rather than also running the configuration pipeline.

Validation: configuration tests passed (150 passed, 1 skipped).

Generated with Codex
@ScottTodd
ScottTodd requested a review from geomin12 October 14, 2026 17:52
@ScottTodd ScottTodd added ci:build-jax Enable Jax Build ci:skip-jax Skip JAX package builds labels Oct 14, 2026
@therock-pr-bot

therock-pr-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@ScottTodd ScottTodd added ci:skip Skip all CI builds/tests for this PR and removed ci:build-jax Enable Jax Build ci:skip-jax Skip JAX package builds labels Oct 14, 2026
@ScottTodd
ScottTodd marked this pull request as ready for review October 14, 2026 17:54
@ScottTodd
ScottTodd merged commit 248a92b into main Oct 14, 2026
30 of 41 checks passed
@ScottTodd
ScottTodd deleted the users/scotttodd/ci-build-label-validation branch October 14, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:skip Skip all CI builds/tests for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants