Skip to content

fix(test-suite): avoid rebuilding for absent Cargo configuration - #2218

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/queue-throughput/avoid-rebuilding-absent-cargo-config--91831975
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/queue-throughput/avoid-rebuilding-absent-cargo-config--91831975

Conversation

@tignear

@tignear tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Do not register nonexistent optional Cargo configuration files as build script inputs. Cargo treats those paths as always dirty, rebuilding the suite and its consumers on successive invocations; one observed CI run spent 2m47s rebuilding before cocotb.

Existing inputs remain registered and hashed by file(). Validated with repeated Cargo checks (the unchanged second invocation is fresh), both incremental CLI regression tests, crate clippy with verilator and icarus features, and formatting.

Depends-On: #2217

Do not register nonexistent optional Cargo configuration files as build script inputs. Cargo treats those paths as always dirty, rebuilding the suite and its consumers on successive invocations; one observed CI run spent 2m47s rebuilding before cocotb.

Existing inputs remain registered and hashed by file(). Validated with repeated Cargo checks (the unchanged second invocation is fresh), both incremental CLI regression tests, crate clippy with verilator and icarus features, and formatting.

Change-Id: I91831975d298ea8bbe3d4ee59768a08ca42196bc
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 ci: coalesce outdated pull request title checks #2217
2 fix(test-suite): avoid rebuilding for absent Cargo configuration #2218 👈

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 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-26T20:57:01.618423Z 9d28028 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-priority Prioritize queue admission and waiting order without interrupting running checks label Oct 26, 2026
@mergify mergify Bot added merge-ready Request merging through Mergify after required checks queued Mergify queue entry labels Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 1 minute 2 seconds in the queue, including 24 minutes 57 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [⛓️ ci: coalesce outdated pull request title checks #2217]:
  • 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

Base automatically changed from stack/tignear/ci/queue-throughput/coalesce-outdated-pull-req-title-checks--733818ef to master October 26, 2026 21:29
@mergify
mergify Bot merged commit d934dfe into master Oct 26, 2026
24 checks passed
@mergify
mergify Bot deleted the stack/tignear/ci/queue-throughput/avoid-rebuilding-absent-cargo-config--91831975 branch October 26, 2026 22:23
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-priority Prioritize queue admission and waiting order without interrupting running checks merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant