Skip to content

ci: key the vtest dependency cache by the executor's build plan - #2487

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/vtest-cache-key/key-vtest-dep-cache-executor-s-build-plan--9b8d55c3
Oct 28, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/vtest-cache-key/key-vtest-dep-cache-executor-s-build-plan--9b8d55c3

Conversation

@tignear

@tignear tignear commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

After #2467 moved the test build to the vtest profile, Rust Tests jobs
still restored the old vtest-v1 cache, built for the previous plan, and
compiled the dependencies again in the executor step (10 minutes and more).
The warm workflow ran on the merge but found the same key and skipped its
build, since the rust-cache key does not change with Cargo commands or
profiles.

Key the cache by scripts/run-vtest.mjs, which holds the executor's
profile, scope and features, in both CI and the warm workflow. A change of
the plan is then a new key that the warm run on master populates.

Validation: repository workflow tests (26) pass, including the key parity
between CI and the warm workflow; actionlint reports only its unknown
ubuntu-26.04-arm label.

After #2467 moved the test build to the `vtest` profile, Rust Tests jobs
still restored the old `vtest-v1` cache, built for the previous plan, and
compiled the dependencies again in the executor step (10 minutes and more).
The warm workflow ran on the merge but found the same key and skipped its
build, since the rust-cache key does not change with Cargo commands or
profiles.

Key the cache by `scripts/run-vtest.mjs`, which holds the executor's
profile, scope and features, in both CI and the warm workflow. A change of
the plan is then a new key that the warm run on master populates.

Validation: repository workflow tests (26) pass, including the key parity
between CI and the warm workflow; actionlint reports only its unknown
`ubuntu-26.04-arm` label.

Change-Id: I9b8d55c3142c7a3b00a751b6f005cbb57fa5d2f4
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 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-28T19:59:08.291764Z 2717a14 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 merge-urgent Emergency enqueue and highest queue priority; may interrupt checks; required checks still apply merge-priority Prioritize queue admission and waiting order without interrupting running checks and removed merge-urgent Emergency enqueue and highest queue priority; may interrupt checks; required checks still apply labels Oct 28, 2026
@mergify mergify Bot added merge-ready Request merging through Mergify after required checks queued Mergify queue entry labels Oct 28, 2026
@mergify

mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as e7e1408 at 21:09 UTC

Merged together with #2480. 26 min in the queue, 13 min of it CI.

So far

Merge conditions: 7 of 7 met

The batch, tested on draft #2489

Condition Required by
✅ check-success = Conventional Commit title —
✅ check-success = Queue validation —
✅ any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Queue validation, check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation GitHub repository ruleset rule master

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit e7e1408 into master Oct 28, 2026
23 checks passed
@mergify
mergify Bot deleted the stack/tignear/ci/vtest-cache-key/key-vtest-dep-cache-executor-s-build-plan--9b8d55c3 branch October 28, 2026 21:09
@mergify mergify Bot removed the queued Mergify queue entry label Oct 28, 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