Skip to content

Commit 642b6e5

Browse files
committed
ci: the sandbox cache starts over after glibc 2.44.3's packaging revision 5
1 parent e50177d commit 642b6e5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎.github/actions/bootstrap-mcpp/action.yml‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,17 @@ runs:
8888
# ci.yml is part of the key because it names the toolchains the build
8989
# job installs before it saves (`prewarm`): a sandbox saved under an
9090
# unchanged key would never gain one added there.
91-
key: mcpp-sandbox-${{ runner.os }}-${{ runner.arch }}-ci-xl${{ inputs.xlings-version }}-${{ hashFiles('mcpp.toml', '.xlings.json', '.github/workflows/ci.yml') }}
91+
# THE PREFIX IS `ci2`, NOT `ci` (2026-11-26). restore-keys hands the
92+
# latest sandbox saved under the old prefix to every new key, and a run
93+
# whose jobs fail saves nothing: after the index republished glibc 2.44.3
94+
# at packaging revision 5, the restored sandbox kept revision 4, so an own
95+
# home that inherits from it installed revision 5 beside a binding that
96+
# names revision 4's path (`binding-own-home/200`), and every pack leg
97+
# installed it again (test 992 reached its 600 s). A new prefix starts
98+
# one sandbox from nothing, which installs what the index holds now.
99+
key: mcpp-sandbox-${{ runner.os }}-${{ runner.arch }}-ci2-xl${{ inputs.xlings-version }}-${{ hashFiles('mcpp.toml', '.xlings.json', '.github/workflows/ci.yml') }}
92100
restore-keys: |
93-
mcpp-sandbox-${{ runner.os }}-${{ runner.arch }}-ci-xl${{ inputs.xlings-version }}-
101+
mcpp-sandbox-${{ runner.os }}-${{ runner.arch }}-ci2-xl${{ inputs.xlings-version }}-
94102
95103
- name: Restore xlings
96104
id: xlings

0 commit comments

Comments
 (0)