Skip to content

Cache downloaded source archives#2856

Merged
plajjan merged 1 commit into
mainfrom
cache-deps-download
Jun 4, 2026
Merged

Cache downloaded source archives#2856
plajjan merged 1 commit into
mainfrom
cache-deps-download

Conversation

@plajjan

@plajjan plajjan commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Source and package builds fetch pinned tarballs into deps-download before unpacking bundled dependencies. When GitHub archive downloads return transient errors, the build can fail even though the inputs are unchanged.

This adds a content-keyed deps-download cache to the source-build and Debian package-build jobs. Successful runs can restore those archives before Make falls back to downloading them.

Source and package builds fetch pinned tarballs into deps-download.

A transient archive failure can break an otherwise valid build.

Cache deps-download with a key based on the dependency inputs.

Later runs can reuse the archives before Make falls back to the network.
@plajjan
plajjan merged commit 75d0f67 into main Jun 4, 2026
46 checks passed
@plajjan
plajjan deleted the cache-deps-download branch June 4, 2026 10:22
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