Skip to content

fix: abort sync when child manifest blobs are missing#26

Merged
davidpoblador merged 1 commit intomainfrom
worktree-flickering-pondering-treehouse
Apr 2, 2026
Merged

fix: abort sync when child manifest blobs are missing#26
davidpoblador merged 1 commit intomainfrom
worktree-flickering-pondering-treehouse

Conversation

@davidpoblador
Copy link
Copy Markdown
Member

Summary

  • Sync worker now validates all blobs (including child manifest blobs) exist locally before pushing anything upstream
  • Raises SyncMissingBlobsError when blobs are missing, triggering retry with exponential backoff
  • Fixes blob count in sync log to include child manifest blobs

Test plan

  • New test: test_sync_one_fails_when_child_manifest_blobs_missing verifies sync raises error and marker stays pending
  • All 69 existing tests pass

🤖 Generated with Claude Code

Previously, the sync worker would silently skip missing blobs and push
child manifests upstream without them, resulting in broken images. Now it
validates all blobs exist locally before pushing anything, and raises
SyncMissingBlobsError so the sync retries with backoff. Also fixes the
blob count log to include child manifest blobs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@davidpoblador davidpoblador merged commit 44f5c2d into main Apr 2, 2026
@davidpoblador davidpoblador deleted the worktree-flickering-pondering-treehouse branch April 2, 2026 14:42
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.

1 participant