chore: improve actions performance and security practices#5970
Merged
Conversation
Member
Pull request changelogAppAddedChangedDeprecatedRemovedFixedSecurityWebsiteAddedChangedDeprecatedRemovedFixedSecurityHostingAddedChangedDeprecatedRemovedFixedSecurity |
Member
Frontend previewsLast deployed commit is 76b16d3c2db5a68b24f0f3f2c813cac2e060a978
|
aecsocket
approved these changes
May 3, 2026
This reverts commit def5cc1.
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.
Overhauls CI to be substantially faster and more cache-friendly. The bulk of the savings come from moving
Rust compilation onto Blacksmith runners with persistent disks, layering sccache on top, and rebuilding the
Docker images from prebuilt binaries instead of compiling inside the Docker context.
CI runners and caching
equivalents (blacksmith-Nvcpu-*). Sized runners per job (2vcpu for frontend deploys/preview, 4vcpu for Turbo
CI and Docker builds, 8vcpu for Theseus). All other jobs will continue to use ubuntu-latest as GitHub provides these runners for free.
theseus-build. Disk tier is mounted via useblacksmith/stickydisk so it survives between runs.
awalsh128/cache-apt-pkgs-action.
for the pnpm store. Added a new prepare-pnpm-cache.yml workflow that warms the cache on changes to
pnpm-lock.yaml / package.json.
but never on main / prod.
releases.
Docker build reshape
now runs cargo build on the Blacksmith runner (so it benefits from sccache and the Cargo cache), stages the
binary plus migrations/assets into a docker-stage/ directory, and the Dockerfile just COPYs into a slim
Debian image.
is no longer in the build context. Not like it did much to begin with.
rebuilds.
Build profiles and tooling
small amount of runtime perf for considerably faster builds while keeping symbols for Sentry.
malicious versions.
correctly from the workspace root.
@nuxt/eslint-config, and eslint-plugin-turbo.
Cleanup
Performance results
Labrinth Docker build
Modrinth App build (Theseus)
Monorepo lint & test (
pnpm run ci)