Skip to content

ci: narrow Rust builds and shared-case tests per pull request - #1542

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/scoped-pr-tests/narrow-rust-builds-shared-case-tests-per-pull-req--1ff943ad
Oct 19, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/scoped-pr-tests/narrow-rust-builds-shared-case-tests-per-pull-req--1ff943ad

Conversation

@tignear

@tignear tignear commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Changing one shared case file selected every Celox consumer and discarded
backend-specific test filtering in mixed frontend/case changes. Select the
harnesses referencing that case group and preserve full dependency coverage
for runtime changes, unknown groups, and shared adapters.

Keep Cargo target selections per package instead of falling back to all
integration targets when multiple packages are affected. Narrow known SV
test modules, avoid external simulator features for Celox-only tests, and
select cocotb setup/end-to-end execution only when its VPI target is needed.
Use the same Celox features for scoped nextest and cocotb builds.

Every PR still runs its selected tests. Queue validation, full scheduled
coverage, and merge behavior remain unchanged.

Validation:

  • 75 focused script/workflow regressions pass, including mixed SV/case edits,
    package-specific Cargo arguments, feature selection, and failure propagation.
  • actionlint passes with the existing Ubuntu 26.04 runner labels configured.
  • cargo fmt --all -- --check and pnpm run lint pass.
  • cargo check --workspace --locked passes.

CI wall-clock improvement has not yet been measured on GitHub runners.

Changing one shared case file selected every Celox consumer and discarded
backend-specific test filtering in mixed frontend/case changes. Select the
harnesses referencing that case group and preserve full dependency coverage
for runtime changes, unknown groups, and shared adapters.

Keep Cargo target selections per package instead of falling back to all
integration targets when multiple packages are affected. Narrow known SV
test modules, avoid external simulator features for Celox-only tests, and
select cocotb setup/end-to-end execution only when its VPI target is needed.
Use the same Celox features for scoped nextest and cocotb builds.

Every PR still runs its selected tests. Queue validation, full scheduled
coverage, and merge behavior remain unchanged.

Validation:
- 75 focused script/workflow regressions pass, including mixed SV/case edits,
  package-specific Cargo arguments, feature selection, and failure propagation.
- actionlint passes with the existing Ubuntu 26.04 runner labels configured.
- cargo fmt --all -- --check and pnpm run lint pass.
- cargo check --workspace --locked passes.

CI wall-clock improvement has not yet been measured on GitHub runners.

Change-Id: I1ff943ad4441102f8edc73fada85584bc93f2b0d
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 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-19T09:59:58.305649Z 93de2bf 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 19, 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: 93de2bfe59

ℹ️ 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
for (const name of [...selected].sort()) {
if (!affected.has(name) && !wholeTests.has(name)) builds.push({
packages: [name], targets: [...(binaries.get(name) ?? [])].sort(),
features: features([name], selected.has("celox-test-suite")),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Scope external adapter features to the suite build

When a recognized shared .vtest changes, selected contains celox-test-suite, so this passes true to features() for every per-package build. Consequently, the separate celox invocation also receives celox-test-suite/verilator and celox-test-suite/icarus through its dev dependency, defeating the intended build isolation and compiling the external-adapter feature set for a Celox-only test binary. Determine the external flag from the current build's packages rather than the global selection.

AGENTS.md reference: AGENTS.md:L14-L20

Useful? React with 👍 / 👎.

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

mergify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 3 hours 38 minutes 26 seconds in the queue, including 31 minutes 33 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 9a3ddf6 into master Oct 19, 2026
29 checks passed
@mergify
mergify Bot deleted the stack/tignear/ci/scoped-pr-tests/narrow-rust-builds-shared-case-tests-per-pull-req--1ff943ad branch October 19, 2026 14:25
@mergify mergify Bot removed the queued Mergify queue entry label Oct 19, 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