Skip to content

Acceptance jobs fetch the sources an evicted cache no longer holds - #216

Merged
DevomB merged 1 commit into
mainfrom
sources-fallback
Oct 5, 2026
Merged

DevomB merged 1 commit into
mainfrom
sources-fallback

Conversation

@DevomB

@DevomB DevomB commented Oct 2, 2026

Copy link
Copy Markdown
Owner

The acceptance parts took the upstream sources only from the Actions cache (prepare with sources: restore, exact key, no fallback). When that cache is evicted in the two hours or so between the build job and acceptance, the parts' sources-lock and kernel-config items fail on files the build had all along. That is what turned #173's run red (36981993351: four parts whole, the fifth's VM suites all passed, only those two items failed with "Cache not found for input keys: sources-v3-8b6e5764…"). Tonight's many branch runs push the 10 GB cache store past its limit, and a tag's acceptance restores main's cache by the same key, so a release run could fail the same way.

Now a job that restores also fetches what the cache lacks (make sources, then prune-sources.sh; every file is still hashed against sources.lock), starting from the closest older set like a fetch job does. It saves nothing, so the five parts do not race to write the cache; only fetch jobs save the set and run the signature pass.

Conflict to expect: #176 (cleanup-ci) shortens comments in the same file.

Not exercised by a Distro run: a branch run restores main's cache by its exact key, so the new step would not run. It is the same two commands the build job runs on a miss.

The acceptance parts took the upstream sources only from the Actions cache. A cache evicted in the hours between the build job and acceptance (tonight's branch runs push the 10 GB store past its limit) left sources-lock and kernel-config failing on files that were never missing from the build. A job that restores now fetches what the cache lacks, held to sources.lock like any fetch, and saves nothing; only 'fetch' jobs save the set and run the signature pass.
@DevomB
DevomB merged commit 9bf011b into main Oct 5, 2026
11 checks passed
@DevomB
DevomB deleted the sources-fallback branch October 5, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant