mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-05 13:40:16 -07:00
The build workflow created empty tar files (via `tar --files-from /dev/null`) as placeholders before remote-cli-post-build runs. When the container is OOM-killed, only these ~10KB empty tars survive and get uploaded to S3. On the next build, the pull-cache hook downloads them and extracts an empty Library, providing zero caching benefit. Changes: - Remove empty placeholder tar creation in build-automation-workflow.ts - Keep mkdir -p for cache directories (hooks need them) - Add size check in aws-s3-upload-cache hook to delete tar files < 1KB before uploading, as a safety net against stale stubs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>