[30.x] Backport ci: inline runner selection #36672

Manually merged
fanquake merged 4 commits from backport_inline_runner_30_x into 30.x 2026-10-27 14:26:23 +00:00 AGit
fanquake commented 2026-10-26 21:21:05 +00:00 (Migrated from github.com)

Backports:

Backports: * #35348 * #35441 * #35571
DrahtBot commented 2026-10-26 21:21:16 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK willcl-ark

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36672 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36672.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36672#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [willcl-ark](https://github.com/bitcoin/bitcoin/pull/36672#pullrequestreview-5667236574) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

Base: 5cd4411542f3fd9c2f6e42af5c52c1a2b21506f6
Head: 95e321c110544068c8318e31e7a8c61f1efd5cfa

Backport verdict: Defective

The backport includes the upstream cache switch, Warp Docker-cache configuration, inline runner selection, and the follow-up restoring Warp cache selection. The source changes are represented, including the #35447 commit that is present in the commit list despite being omitted from the PR's backport bullet list. However, the changed workflow leaves the fork setup instructions pointing to a removed variable, so the backport introduces a concrete documentation defect.

Evidence:

  • The packet maps target commit 322f0389a4 to upstream c03107acf5 (#35348), which switches the general cache actions to actions/cache.
  • Target commit 17fe6566b4 corresponds to upstream 82901981bf (#35447); it adds the Warp provider, host networking, and local cache endpoint. Although #35447 is absent from the PR description's backport bullets, its source change is included in the commit list and evidence packet.
  • Target commit 4eaccf2d74 corresponds to upstream 726e196ef2 (#35441), removing the runner-selection job and using repository-context runner selection.
  • Target commit 95e321c110 corresponds to upstream b552f1713a (#35571), restoring the Warp cache provider expressions after the inline-selection change.
  • The target workflow retains GitHub-hosted runner fallbacks and the matrix's explicit provider: 'gha' override, while ci/README.md:79 still instructs forks to patch REPO_USE_WARP_RUNNERS.

Required fixes:

  • Update ci/README.md so fork maintainers are directed to the current runner and Docker-cache provider selections, and preserve the matrix's explicit GitHub-cache override.

Limitations:

  • Live availability of the Warp runner fleet and local cache proxy is external to the checkout. The target base already used Warp runner labels, and upstream #35571 reports the proxy working, but this static review does not independently verify current service availability.
Findings

Minor

Fork instructions refer to a removed runner-selection variable (.github/workflows/ci.yml:32, head)

The fork guide tells maintainers to patch REPO_USE_WARP_RUNNERS, but the workflow no longer declares or reads that variable. Runner selection is hard-coded, and Docker-cache providers are selected separately. Following the documented instruction therefore does not enable Warp runners for a fork. Update ci/README.md to describe the current selections, including the matrix's explicit GitHub-cache override.

Previously reported; verified as still present in this revision. Status: still_present. Author position: none. Originally reported at 95e321c110544068c8318e31e7a8c61f1efd5cfa. The README still names REPO_USE_WARP_RUNNERS, but unlike the base workflow, the head no longer reads that variable. The same documentation failure remains in the head and was introduced by this change to runner selection.

Alternatives

Make provider selection configurable through repository variables. Keep runner selection inline, but use a repository-level variable for the Warp-versus-GitHub provider choice across runner and Docker-cache expressions; retain the matrix's explicit GitHub-cache override. Benefit: Fork maintainers could opt into their own Warp runners without editing multiple hard-coded repository comparisons, while avoiding a separate selection job. Trade-off: Each repository needs the setting configured, and contributors have less ability to change provider selection through a workflow-only PR. Unresolved: Whether the convenience for fork maintainers is worth making selection depend on repository configuration. Source 1

Review coverage was incomplete.

Review limitations
  • verifier: Live availability of the Warp runner fleet and local cache proxy is external to the checkout. The target base already used Warp runner labels, and upstream #35571 reports the proxy working, but this static review does not independently verify current service availability.

Full review report

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:0ce13e2a78028334e0e5f61455eece387027bdabf38b17110291aa0ee36da575:6d229daee930d357bf3bc486f1a44176bb5f7f6b51cdb0efa84e190e20dfafe3 --> Base: `5cd4411542f3fd9c2f6e42af5c52c1a2b21506f6` Head: `95e321c110544068c8318e31e7a8c61f1efd5cfa` <!-- ralph-case:b2f15787019fc5a6f9b8bc1fe96b4f1ec963edb254f8e340d5cb6bc63bf9b6ed --> Backport verdict: **Defective** The backport includes the upstream cache switch, Warp Docker-cache configuration, inline runner selection, and the follow-up restoring Warp cache selection. The source changes are represented, including the #35447 commit that is present in the commit list despite being omitted from the PR's backport bullet list. However, the changed workflow leaves the fork setup instructions pointing to a removed variable, so the backport introduces a concrete documentation defect. Evidence: - The packet maps target commit 322f0389a4782215c33111a8171eeae0f81f82c3 to upstream c03107acf50aeada1bacdfdbf632ffce2957bff0 (#35348), which switches the general cache actions to actions/cache. - Target commit 17fe6566b4ba24cd073ead302774a65f8324a68e corresponds to upstream 82901981bfbaeb3f41956597e6d90daa59a0c078 (#35447); it adds the Warp provider, host networking, and local cache endpoint. Although #35447 is absent from the PR description's backport bullets, its source change is included in the commit list and evidence packet. - Target commit 4eaccf2d742c11dc5c7ce500a558f647862b0ac9 corresponds to upstream 726e196ef26490115edc595973f6703e61e1295b (#35441), removing the runner-selection job and using repository-context runner selection. - Target commit 95e321c110544068c8318e31e7a8c61f1efd5cfa corresponds to upstream b552f1713add4d14c8b940a8175b6bbe19bea846 (#35571), restoring the Warp cache provider expressions after the inline-selection change. - The target workflow retains GitHub-hosted runner fallbacks and the matrix's explicit provider: 'gha' override, while ci/README.md:79 still instructs forks to patch REPO_USE_WARP_RUNNERS. Required fixes: - Update ci/README.md so fork maintainers are directed to the current runner and Docker-cache provider selections, and preserve the matrix's explicit GitHub-cache override. Limitations: - Live availability of the Warp runner fleet and local cache proxy is external to the checkout. The target base already used Warp runner labels, and upstream #35571 reports the proxy working, but this static review does not independently verify current service availability. ##### Findings **Minor** **Fork instructions refer to a removed runner-selection variable** (.github/workflows/ci.yml:32, head) The fork guide tells maintainers to patch `REPO_USE_WARP_RUNNERS`, but the workflow no longer declares or reads that variable. Runner selection is hard-coded, and Docker-cache providers are selected separately. Following the documented instruction therefore does not enable Warp runners for a fork. Update `ci/README.md` to describe the current selections, including the matrix's explicit GitHub-cache override. Previously reported; verified as still present in this revision. Status: still_present. Author position: none. Originally reported at `95e321c110544068c8318e31e7a8c61f1efd5cfa`. The README still names REPO_USE_WARP_RUNNERS, but unlike the base workflow, the head no longer reads that variable. The same documentation failure remains in the head and was introduced by this change to runner selection. ##### Alternatives **Make provider selection configurable through repository variables.** Keep runner selection inline, but use a repository-level variable for the Warp-versus-GitHub provider choice across runner and Docker-cache expressions; retain the matrix's explicit GitHub-cache override. Benefit: Fork maintainers could opt into their own Warp runners without editing multiple hard-coded repository comparisons, while avoiding a separate selection job. Trade-off: Each repository needs the setting configured, and contributors have less ability to change provider selection through a workflow-only PR. Unresolved: Whether the convenience for fork maintainers is worth making selection depend on repository configuration. [Source 1](https://github.com/bitcoin/bitcoin/pull/35441) Review coverage was incomplete. ##### Review limitations - verifier: Live availability of the Warp runner fleet and local cache proxy is external to the checkout. The target base already used Warp runner labels, and upstream #35571 reports the proxy working, but this static review does not independently verify current service availability. [Full review report](<https://review.fish.foo/traces/36672-95e321c110544068c8318e31e7a8c61f1efd5cfa-1472-3.html>)
willcl-ark (Migrated from github.com) approved these changes 2026-10-27 12:45:56 +00:00
willcl-ark (Migrated from github.com) left a comment

ACK 95e321c110

This LGTM.

ci/README.md still mentions REPO_USE_WARP_RUNNERS but I don't think that's an issue worth fixing up on an old branch.

ACK 95e321c110544068c8318e31e7a8c61f1efd5cfa This LGTM. ci/README.md still mentions `REPO_USE_WARP_RUNNERS` but I don't think that's an issue worth fixing up on an old branch.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36672
No description provided.