Skip to content

Invalidate build cache less often#2558

Draft
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:docker-build-cache
Draft

Invalidate build cache less often#2558
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:docker-build-cache

Conversation

@yorickdowne
Copy link
Copy Markdown
Collaborator

@yorickdowne yorickdowne commented Apr 22, 2026

What I did

Users that ./ethd update frequently get to keep their build cache, until 50GB are reclaimable. Strike a balance between cleaning up Docker artefacts and constantly rebuilding from scratch.

Parsing the docker system df output is brittle. There are multiple safeguards in place to just return and do nothing, instead of failing ethd entirely.

@yorickdowne yorickdowne force-pushed the docker-build-cache branch 7 times, most recently from dde7230 to 8f0be1c Compare April 22, 2026 01:49
@yorickdowne yorickdowne marked this pull request as draft April 27, 2026 06:50
@yorickdowne
Copy link
Copy Markdown
Collaborator Author

Putting this to draft. I'm worried it'll keep the build from pulling in changed latest clients. Need to test more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant