Skip to content

[ci] Bump download-artifact to v8 for the restate.tar snapshot - #235

Merged
MohamedBassem merged 1 commit into
mainfrom
ci/bump-download-artifact-v8
Oct 2, 2026
Merged

MohamedBassem merged 1 commit into
mainfrom
ci/bump-download-artifact-v8

Conversation

@MohamedBassem

Copy link
Copy Markdown
Member

actions/download-artifact before v6 can leave a truncated restate.tar behind and still report success when the blob download stalls. The docker load step after it then fails with:

failed to ingest "blobs/sha256/…": short read: expected 346982142 bytes but got 169199809: unexpected EOF

Cause: in v4/v5, the 30s stall timer destroys the HTTP response, but nothing listens for error on it, so Node drops the error. The download promise never settles, the process runs out of work and exits 0, and the built-in retries and digest check never run. v6 and later reject on the stall, so the retries kick in. v8 also fails the step on a digest mismatch by default.

Over the last two weeks this caused 12 "Install restate snapshot" failures in restatedev/restate CI. sdk-java already uses @v8 and had none.

The artifact is downloaded by name, so the v5 change to by-ID download paths doesn't apply. upload-artifact@v4 uploads zips, so v8 extracts them as before.

🤖 Generated with Claude Code

download-artifact < v6 can exit successfully with a truncated file when
the blob download stalls for 30s: the stall timer destroys the response
stream but the error is never surfaced, so the step passes and the next
step fails in `docker load` with:

    failed to ingest "blobs/sha256/…": short read: expected … bytes but got …: unexpected EOF

v6+ rejects on the stall timeout (so the built-in retries kick in), and
v8 also fails the step on digest mismatch by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Test Results

  8 files  ±0    8 suites  ±0   3m 34s ⏱️ +8s
 60 tests ±0   60 ✅ ±0  0 💤 ±0  0 ❌ ±0 
267 runs  ±0  267 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0f5aa98. ± Comparison against base commit ad4ea7c.

@MohamedBassem
MohamedBassem merged commit 63d2fe5 into main Oct 2, 2026
8 checks passed
@MohamedBassem
MohamedBassem deleted the ci/bump-download-artifact-v8 branch October 2, 2026 18:04
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant