Skip to content

ci: scope pull request Rust builds and checks - #1478

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/light-check-pr/scope-pull-req-rust-builds-checks--5d9dfca9
Oct 18, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/light-check-pr/scope-pull-req-rust-builds-checks--5d9dfca9

Conversation

@tignear

@tignear tignear commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Rust PRs filtered nextest execution but still built unrelated integration
binaries and ran broad Clippy, API documentation, and sv-tests jobs. Select
Cargo test targets for single-package test/snapshot changes, scope lint and
documentation through the workspace graph, and skip conformance and cocotb
setup when their consumers are unaffected. Preserve Lydite lint coverage.

Queue, release, daily/manual, and ci:full runs retain broad validation.
Unknown scopes fail open; required checks reject failed or cancelled jobs
and accept skips only when explicitly unneeded.

Validation: all 251 repository script tests pass, including recorded Cargo
arguments and required-gate failure/skip cases. actionlint passes with the
existing ubuntu-26.04-arm runner label configured locally. git diff --check
passes. Cargo fmt, Biome, and cargo check --workspace --locked also pass.

Rust PRs filtered nextest execution but still built unrelated integration
binaries and ran broad Clippy, API documentation, and sv-tests jobs. Select
Cargo test targets for single-package test/snapshot changes, scope lint and
documentation through the workspace graph, and skip conformance and cocotb
setup when their consumers are unaffected. Preserve Lydite lint coverage.

Queue, release, daily/manual, and ci:full runs retain broad validation.
Unknown scopes fail open; required checks reject failed or cancelled jobs
and accept skips only when explicitly unneeded.

Validation: all 251 repository script tests pass, including recorded Cargo
arguments and required-gate failure/skip cases. actionlint passes with the
existing ubuntu-26.04-arm runner label configured locally. git diff --check
passes. Cargo fmt, Biome, and cargo check --workspace --locked also pass.

Change-Id: I5d9dfca94cd265228f7890328a50638bee4d8d65
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T03:01:40.674493Z f3b7070 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 18, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3b70703cd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/ci-rust-scope.mjs
Comment on lines +228 to +230
targets: affected.size === 0 && wholeTests.size === 0 && selected.size === 1
? [...binaries.get([...selected][0])].sort()
: [],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Enable required features for narrowed test targets

When an ordinary PR changes crates/celox/tests/sv_dpi.rs, this branch emits targets: ["sv_dpi"], while features(selected) only returns entries from CI_FEATURES and therefore enables celox/systemverilog, not the target's required sv-dpi feature (crates/celox/Cargo.toml:119-122). The scoped Rust-test and clippy steps then pass --test sv_dpi; cargo test --help describes this as “Test only the specified test target,” and Cargo rejects this explicitly selected target with status 101 unless sv-dpi is enabled. Such PRs therefore fail both scoped commands instead of validating the changed test, so the scope needs to include target-required features or avoid narrowing this target.

Useful? React with 👍 / 👎.

@mergify mergify Bot added the queued Mergify queue entry label Oct 18, 2026
@mergify

mergify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-18 03:36 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • ✅ Checks passed · on draft merge queue: checking #1478 on master (d53ecde) #1484
  • ✅ Merged — 2026-10-18 04:52 UTC · at a9cf7c23430a5fd6c085ac1c2428ddc3fa93e729 · merge

This pull request spent 1 hour 15 minutes 22 seconds in the queue, including 38 minutes 46 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify
mergify Bot merged commit a9cf7c2 into master Oct 18, 2026
29 checks passed
@mergify
mergify Bot deleted the stack/tignear/ci/light-check-pr/scope-pull-req-rust-builds-checks--5d9dfca9 branch October 18, 2026 04:52
@mergify mergify Bot removed the queued Mergify queue entry label Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant