Handle transient 404 on organization repository-defaults during first import#659
Draft
Copilot wants to merge 6 commits into
Draft
Handle transient 404 on organization repository-defaults during first import#659Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/eclipse-csi/otterdog/sessions/305839ba-b0c3-4931-b989-8b5354ec0cc8 Co-authored-by: mbarbero <452625+mbarbero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/eclipse-csi/otterdog/sessions/305839ba-b0c3-4931-b989-8b5354ec0cc8 Co-authored-by: mbarbero <452625+mbarbero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/eclipse-csi/otterdog/sessions/305839ba-b0c3-4931-b989-8b5354ec0cc8 Co-authored-by: mbarbero <452625+mbarbero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/eclipse-csi/otterdog/sessions/305839ba-b0c3-4931-b989-8b5354ec0cc8 Co-authored-by: mbarbero <452625+mbarbero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/eclipse-csi/otterdog/sessions/305839ba-b0c3-4931-b989-8b5354ec0cc8 Co-authored-by: mbarbero <452625+mbarbero@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix otterdog import failure on repository defaults page
Handle transient 404 on organization repository-defaults during first import
May 12, 2026
Contributor
|
cc @heurtematte |
Contributor
|
Sounds more like a workaround than a root cause fix. This happened to me twice in a row for two GitHub organizations. |
Contributor
Those orgs were both brand new? |
Contributor
|
that's right! |
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.
First-time
otterdog importfor newly created organizations could fail when GitHub temporarily returned404for thesettings/repository-defaultspage; a subsequent import usually succeeded once the page became available. This change makes that path resilient to the transient availability window without relaxing failures for other pages.Web UI page-load resilience
WebClient._goto(...)to retry only when:404, and.../settings/repository-defaults.Behavioral guardrails
Focused test coverage
tests/providers/github/test_web_client.pywith explicit cases for:repository-defaults,