Interview Prep/CI/CD/GitHub Actions Failures

`No space left on device` on a GitHub-hosted runner.

IntermediateTroubleshootingGitHub Actions Failures
Answer

Likely causes → Large Docker images, build caches or dependencies exceed free disk.

Diagnose → df -h and docker system df at start and end.

Fix → Remove unneeded preinstalled software (for example /usr/share/dotnet, /opt/ghc), prune Docker, or use a larger runner.

Prevent → Multi-stage builds, smaller images, and disk checks.

All CI/CD questions

More on GitHub Actions Failures