mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8955] [MERGED] ci(container): stop PRs writing the Docker build cache #8911
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8911
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8955
Author: @Promansis
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @Promansis
Base:
staging← Head:chore(ci)/pr-docker-cache-readonly📝 Commits (1)
bab7ac6ci(container): stop PRs writing the Docker build cache (#8950)📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+1 -1)📄 Description
Linked issue
Closes #8950
Why this change
container-build-testrandocker/build-push-actionwithcache-to: type=gha,mode=maxon every pull request, so each PR merge ref wrote a full set of Docker layer blobs into the repository's Actions cache. A sample of the cache showed 8.15 GB of the 8.27 GB of Docker blobs belonging to three PR merge refs, whilestagingheld 0.08 GB. The cache sits at its 10 GB limit, so GitHub evicts the pnpm, Playwright and CodeQL entries that other jobs depend on. The CodeQL incremental-database follow-up needs this room first.What changed
cache-from: type=gha, whichbuild-container.ymlfills on pushes tostagingandmain.ARG BUILD_COMMIT/ARG BUILD_BRANCHbefore the builder stage'sRUNsteps, and the PR build does not set them. Builder-stage layers therefore probably miss the staging cache in PR builds today, so the first run on this PR may show fewCACHEDlayers. That is expected and not hidden here. Moving thoseARGlines is a possible follow-up, not part of this PR.Cache usage before (2026-11-07):
gh api repos/Pasta-Devs/Marinara-Engine/actions/cache/usagereported 10,337,046,476 bytes across 84 entries. The "after" number will be recorded a few days after merge.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run locally:
node scripts/validate-pr-triage.mjs(exit 0) andprettier --checkon the workflow file (pass).pnpm checkwas not run: no source files changed.Manual verification notes
container-build-testlog forimporting cache manifest from ghaand note how many layers areCACHED.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.