ci: Derive CONTAINER_NAME from the ci config file name #36436

Manually merged
maflcko merged 3 commits from 2610-ci-config-cleanup into master 2026-10-08 14:01:51 +00:00 AGit
maflcko commented 2026-10-05 11:42:06 +00:00 (Migrated from github.com)

Some misc CI config cleanups:

  • Mainly, to derive the unique CONTAINER_NAME from the unique file name.
  • Two refactors, to remove redundant stuff.
Some misc CI config cleanups: * Mainly, to derive the unique CONTAINER_NAME from the unique file name. * Two refactors, to remove redundant stuff.
DrahtBot commented 2026-10-05 11:42:17 +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, sedited

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36042 (build: Bump g++ minimum supported version to 13 by maflcko)
  • #36036 (build: Bump clang minimum supported version to 19 by maflcko)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--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/36436 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36436.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36436#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/36436#pullrequestreview-5457152778), [sedited](https://github.com/bitcoin/bitcoin/pull/36436#pullrequestreview-5457337202) | 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. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36042](https://github.com/bitcoin/bitcoin/pull/36042) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36042.svg"></sub> (build: Bump g++ minimum supported version to 13 by maflcko) * [#36036](https://github.com/bitcoin/bitcoin/pull/36036) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36036.svg"></sub> (build: Bump clang minimum supported version to 19 by maflcko) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

Base: aef8a04966d7ab6c04edc5d19b733e78205405de
Head: fa2cdb6a3c183b621b48966a9dc77842bb935d0c

Design and approach

Derived names change cache namespaces (ci/test/00_setup_env.sh:11, head)

For profiles whose old explicit name differs from the filename-derived name, such as ARM changing from ci_arm_linux to ci_arm, the ccache and depends-cache restore prefixes in .github/actions/cache/restore/action.yml also change. Those jobs will miss their existing caches and rebuild under the new keys. To avoid that one-time cold-cache cost, keep a stable cache namespace separate from CONTAINER_NAME or restore from the old prefixes while saving under the new ones. Otherwise, confirm the reset is intentional.

Review coverage was incomplete. The archaeology review had incomplete evidence. The adversarial review had incomplete evidence. The adversarial_glm review had incomplete evidence.

Full review report

<!-- forgejo-review-bot:bitcoin/bitcoin --> Base: `aef8a04966d7ab6c04edc5d19b733e78205405de` Head: `fa2cdb6a3c183b621b48966a9dc77842bb935d0c` ##### Design and approach **Derived names change cache namespaces** (ci/test/00_setup_env.sh:11, head) For profiles whose old explicit name differs from the filename-derived name, such as ARM changing from `ci_arm_linux` to `ci_arm`, the ccache and depends-cache restore prefixes in `.github/actions/cache/restore/action.yml` also change. Those jobs will miss their existing caches and rebuild under the new keys. To avoid that one-time cold-cache cost, keep a stable cache namespace separate from `CONTAINER_NAME` or restore from the old prefixes while saving under the new ones. Otherwise, confirm the reset is intentional. Review coverage was incomplete. The archaeology review had incomplete evidence. The adversarial review had incomplete evidence. The adversarial_glm review had incomplete evidence. [Full review report](<https://review.fish.foo/traces/36436-fa2cdb6a3c183b621b48966a9dc77842bb935d0c-487-2.html>)
willcl-ark (Migrated from github.com) approved these changes 2026-10-08 13:14:56 +00:00
willcl-ark (Migrated from github.com) left a comment
ACK fa2cdb6a3c183b621b48966a9dc77842bb935d0c
sedited (Migrated from github.com) approved these changes 2026-10-08 13:28:50 +00:00
sedited (Migrated from github.com) left a comment
ACK fa2cdb6a3c183b621b48966a9dc77842bb935d0c
Sign in to join this conversation.
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!36436
No description provided.