Skip to content

chore: drop the 403 blob-restriction case in downloadBlob - #58

Merged
Wenzel merged 1 commit into
masterfrom
chore/remove-blob-restriction-handling
Sep 7, 2026
Merged

Wenzel merged 1 commit into
masterfrom
chore/remove-blob-restriction-handling

Conversation

@Wenzel

@Wenzel Wenzel commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

graphql-api#70 removes branch-based blob restrictions, so GET /blob/:hash can no longer return 403 for a "restricted" blob. downloadBlob() in src/utils/filesystem.ts had a special case for that status; fold it into the generic failure path.

Validation

  • npm run lint, npm run type-check, prettier --check pass

🤖 Generated with Claude Code

The API removed branch-based blob restrictions
(OSWatcher/graphql-api#70), so a download can no longer return 403 for a
restricted blob. Fold that branch into the generic failure path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WnrRvhmHcMPj6iwJ2NnzK
@Wenzel
Wenzel merged commit 44e51dc into master Sep 7, 2026
4 checks passed
@Wenzel
Wenzel deleted the chore/remove-blob-restriction-handling branch September 7, 2026 23:49
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