[v3-2-test] Add tests for git bundle force-push resilience, error recovery, etc. (#65750)#65854
Draft
github-actions[bot] wants to merge 1 commit intov3-2-testfrom
Draft
[v3-2-test] Add tests for git bundle force-push resilience, error recovery, etc. (#65750)#65854github-actions[bot] wants to merge 1 commit intov3-2-testfrom
github-actions[bot] wants to merge 1 commit intov3-2-testfrom
Conversation
…overy, etc. (#65750) Expand GitDagBundle test coverage with 12 new tests addressing gaps identified during investigation of repeated recloning after tag force-push. Force-push resilience: - Branch force-pushed to unrelated commit follows the new ref - Tag force-pushed to unrelated commit follows the new ref - Tag moved forward then backward across multiple refreshes - Refresh after force-push never triggers Repo.clone_from - Repeated refreshes after force-push remain stable - Re-initialization reuses existing repos (no reclone) Error handling: - Upstream tag deletion does not break refresh (local copy persists) - Failed bare-repo fetch preserves previous working tree - Refresh on versioned bundle raises AirflowException - Corrupted working repo triggers cleanup and retry Edge cases: - Real submodule fixture with ref change and submodule sync - Ambiguous ref (branch+tag same name) documents branch preference (cherry picked from commit 19ae9ee) Co-authored-by: Dev-iL <6509619+Dev-iL@users.noreply.github.com>
1 task
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.
Expand GitDagBundle test coverage with 12 new tests addressing gaps
identified during investigation of repeated recloning after tag force-push.
Force-push resilience:
Error handling:
Edge cases:
(cherry picked from commit 19ae9ee)
Co-authored-by: Dev-iL 6509619+Dev-iL@users.noreply.github.com