Skip to content

ci: reuse SUSFS archives across matrix builds - #80

Merged
huangdihd merged 4 commits into
mainfrom
fix/share-susfs-artifact
Sep 24, 2026
Merged

huangdihd merged 4 commits into
mainfrom
fix/share-susfs-artifact

Conversation

@huangdihd

Copy link
Copy Markdown
Owner

Summary

  • download each resolved SUSFS commit archive once per workflow run
  • distribute the shared archives to matrix jobs through GitHub Actions artifacts
  • route only SUSFS aria2c fetches to the local shared archive while preserving all other aria2 behavior
  • deduplicate downloads when multiple GKI targets resolve to the same SUSFS commit
  • keep SUSFS helper artifacts out of release staging

Why

Large matrix runs currently make every build job fetch the same SUSFS archives from GitLab independently. Each fetch uses high aria2 connection concurrency, so large runs can create thousands of simultaneous GitLab connections and fail with Failed to fetch SUSFS archive after multiple attempts.

This follows the same download-once/share-via-artifact pattern already used for the custom ccache binary, without changing the kernel build or SUSFS patching logic itself.

Expected effect

For a full matrix run, external SUSFS archive downloads drop from one per SUSFS-enabled device to at most one per unique resolved SUSFS commit (normally no more than the five supported GKI versions).

@huangdihd
huangdihd force-pushed the fix/share-susfs-artifact branch from c2b1cdd to 47b511c Compare September 24, 2026 13:52
@huangdihd
huangdihd merged commit 9bc3cfd into main Sep 24, 2026
168 checks passed
@huangdihd
huangdihd deleted the fix/share-susfs-artifact branch September 24, 2026 18:25
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