Skip to content
Snippets Groups Projects

Add error handling for not found changesets from GitHub

Merged Administrator requested to merge es/add-error-handling-not-found-github-import into main

Created by: eseliger

This fixes the implementation of the ChangesetSource interface, which states a LoadChangeset implementation should throw a ChangesetNotFoundError. It also introduces a new operation to the reconciler, which tracks a changeset is initially imported and not just synced, in which case it won't go to the errored state, but remain unsynced and in a terminal error state, so no retries are attempted.

This fixes https://github.com/sourcegraph/sourcegraph/issues/14923

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading