Catch API NotFoundException to skip deleted/inaccessible repos - #113
Merged
myleshenderson merged 1 commit intoMar 10, 2026
Merged
Conversation
The existing GitLocalRepoNotFoundException handler only catches 404s during git clone/fetch. Repos that return 404 from the GitHub REST API (e.g. deleted or permissions-revoked repos) still crashed the ingest job. Add NotFoundException to the same except block so these repos are logged and skipped gracefully. Jira: MW-10870 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NotFoundException(GitHub REST API 404) to the existingexceptblock indo_sync()alongsideGitLocalRepoNotFoundExceptionContext
PR #22 on minware-singer-utils handled 404s during git clone/fetch, but the error in MW-10870 is a GitHub REST API 404 (
tap_github.NotFoundException), which is a different code path. This PR closes the gap.Test plan
Jira: MW-10870
🤖 Generated with Claude Code