Skip to content

ci: reuse cocotb builds and warm CI dependency caches - #1916

Merged
mergify[bot] merged 2 commits into
masterfrom
ci/reuse-test-builds
Oct 24, 2026
Merged

mergify[bot] merged 2 commits into
masterfrom
ci/reuse-test-builds

Conversation

@tignear

@tignear tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Full CI serializes default-feature library/doctest validation after the main test run and recompiles VPI with a different package/feature selection for cocotb. Windows NAPI also lacks a default-branch dependency-cache warmer. These add avoidable time to the required CI path.

Run ignored cocotb cases through nextest with exactly the original packages, features and targets; retain their JUnit reports separately. Move default-feature validation to an independent job whose result remains mandatory in Rust Test & NAPI Build. Warm default-feature and Windows NAPI dependencies on master using the matching job IDs and build commands.

Keep the baseline build profiles and vtest-v1 cache key: only the shared executor uses the optimized vtest profile, while ordinary tests/doctests retain the normal profile. Matching profiles alone does not guarantee artifact reuse across different dependency feature graphs. This avoids discarding the existing cache or adding optimization work to every test binary.

Validation:

  • All 292 repository JavaScript tests passed, including required-check failure/skip handling, full and scoped cocotb build-selection parity, report isolation and error propagation.
  • Normal-profile VPI tests: 8 passed; ignored cocotb E2E: 5 passed (one slow, 78.9s). The cocotb build reused artifacts in 0.62s, with separate JUnit reports preserved.
  • actionlint passed for both changed workflows with the existing ubuntu-26.04-arm runner label recognized.

Hosted full-CI timing and Windows cache reuse remain to be measured; a new dependency/toolchain cache key still needs a first cache fill.

Pre-push workspace cargo check, formatting, Biome, and submodule checks passed.

Change-Id: Ie43192fc57f87e17226b84ab5779211d3b4245f7
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 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-24T18:08:52.429705Z e97945b New commits
ℹ️ 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 merge-ready Request merging through Mergify after required checks and removed merge-ready Request merging through Mergify after required checks labels Oct 24, 2026
Change-Id: I4b6427df26ee17c68a606e4b9c68d3424f866390
@tignear tignear changed the title ci: reuse Rust test builds and warm Windows dependencies ci: reuse cocotb builds and warm CI dependency caches Oct 24, 2026
@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 24, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 24, 2026
@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 35 minutes 11 seconds in the queue, including 36 minutes 28 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 0550040 into master Oct 24, 2026
32 checks passed
@mergify
mergify Bot deleted the ci/reuse-test-builds branch October 24, 2026 21:01
@mergify mergify Bot removed the queued Mergify queue entry label Oct 24, 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