Skip to content

Fix disk space exhaustion in Docker image publishing#42

Merged
konard merged 3 commits intomainfrom
issue-41-9147e2851aa6
Feb 13, 2026
Merged

Fix disk space exhaustion in Docker image publishing#42
konard merged 3 commits intomainfrom
issue-41-9147e2851aa6

Conversation

@konard
Copy link
Member

@konard konard commented Feb 13, 2026

Summary

Fixes the "No space left on device" error that caused the Docker image publishing workflow to fail (Issue #41).

Root Cause: The GitHub Actions runner ran out of disk space during the "Build and push full sandbox (amd64)" step. The runner starts with ~22 GB free space (ubuntu-24.04 x64), but building the full sandbox Docker image requires more space than was available after accounting for pre-installed software.

Solution: Added the jlumbroso/free-disk-space action to free approximately 30 GB of disk space by removing unused pre-installed software before building Docker images.

Changes

Workflow Updates (.github/workflows/release.yml)

  • Added disk space cleanup step to docker-build-push job (amd64)
  • Added disk space cleanup step to docker-build-push-arm64 job (arm64)

Documentation

  • Created comprehensive case study in docs/case-studies/issue-41/CASE-STUDY.md
    • Timeline of events
    • Root cause analysis
    • Impact assessment
    • Proposed solutions
    • Implementation recommendations

Changeset

  • Added changeset for automatic version bump (patch release)

Disk Space Freed

The free-disk-space action removes:

Component Space Freed
Android SDK ~14 GB
.NET runtime ~2.7 GB
Large packages ~5.3 GB
Swap storage ~4 GB
Total ~30 GB

Test plan

  • Verify workflow YAML syntax is valid
  • Trigger a manual workflow_dispatch to test the fix
  • Confirm docker-build-push job completes successfully
  • Confirm docker-build-push-arm64 job completes successfully
  • Verify Docker images are published to registries

Related Links


Fixes #41

🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #41
@konard konard self-assigned this Feb 13, 2026
Added jlumbroso/free-disk-space action to docker-build-push and docker-build-push-arm64
jobs to prevent "No space left on device" errors. This frees approximately 30 GB by removing
unused pre-installed software (Android SDK, .NET runtime, large packages).

Changes:
- Add disk space cleanup step before Docker builds in release workflow
- Add case study documentation with root cause analysis and solutions
- Add changeset for automatic version bump

Root cause: The workflow failed because GitHub Actions runners ran out of disk space
when building the full sandbox Docker image. The runner starts with ~22 GB free space
(ubuntu-24.04 x64) but pre-installed software occupies significant space.

Fixes #41

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@konard konard changed the title [WIP] We have publishing of new images failed Fix disk space exhaustion in Docker image publishing Feb 13, 2026
@konard konard marked this pull request as ready for review February 13, 2026 19:40
@konard
Copy link
Member Author

konard commented Feb 13, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $5.615133
  • Calculated by Anthropic: $3.854455 USD
  • Difference: $-1.760678 (-31.36%)
    📎 Log file uploaded as Gist (1019KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit ccf6c91 into main Feb 13, 2026
19 checks passed
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.

We have publishing of new images failed

1 participant