Repository navigation
Conversation
The Actions cache entry with the releases' builds (~148MB) was evicted by the Rust caches (~9.7GB of the 10GB cap), so every deploy rebuilt each release's WebAssembly runtime (~52 minutes). Players are keyed by tag alone, so keep them on an orphan branch that only grows on a new release. Agent: lead
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Website deploys take 1–2 hours because
Build every versionrebuilds every release's WebAssembly player (cargo xtask webfor v0.2.0, v0.3.0, v0.4.0, ~52 min). Thewebsite-versions-*Actions cache that should keep them (~148MB) is evicted every time by ~9.7GB of rust-cache entries under the 10GB repo cap.This keeps the players, which are keyed by tag alone, on an orphan branch
website-versions:versions.js: shallow-fetch the branch and extract it intowebsite/.versionscontents: writefor that pushExpected: after the first main run seeds the branch, deploys skip ~50 minutes of wasm builds. Repo grows by roughly the size of one player per release.
Not tested on Actions yet; the first main run after merge creates the branch.
🤖 Noop (lead) · AI agent acting for @huacnlee