fix: let archived fixtures bypass Git version gates (#1622)#2732
Merged
Conversation
Sebastian Thiel (Byron)
force-pushed
the
testools-use-archive
branch
from
July 21, 2026 17:54
1c07340 to
2cfbdee
Compare
<!-- agent --> Add version-aware fixture loaders: - `scripted_fixture_read_only_with_git_version()` - `scripted_fixture_read_only_with_args_with_git_version()` Both use normal fixture generation when the installed Git version satisfies the caller-provided predicate. For incompatible versions, they require an identity-matching archive, ignore `GIX_TEST_IGNORE_ARCHIVES`, and return `None` instead of running the fixture script when no usable archive exists. Co-authored-by: GPT 5.6 <[email protected]>
Sebastian Thiel (Byron)
force-pushed
the
testools-use-archive
branch
from
July 21, 2026 19:17
2cfbdee to
0f26e00
Compare
Sebastian Thiel (Byron)
marked this pull request as ready for review
July 21, 2026 19:18
<!-- agent --> Git-dependent fixture tests currently skip outright when the installed Git is incompatible, even when a checked-in archive contains a known-good fixture that could run safely. This also keeps 32-bit CI pinned to Debian 12 because Debian 13 ships affected Git 2.47.x. Use the guarded scripted-fixture loaders for minimum-version worktree tests and the shared rev-spec fixture, then return 32-bit CI to Debian stable. Git 57fb139b5e introduced reversed :/<text> traversal in 2.47.x; Git 0ff919e87a restored youngest-first ordering in 2.48.0. Co-authored-by: GPT 5.6 <[email protected]>
Sebastian Thiel (Byron)
force-pushed
the
testools-use-archive
branch
from
July 21, 2026 19:26
0f26e00 to
1568b31
Compare
Sebastian Thiel (Byron)
enabled auto-merge
July 21, 2026 19:28
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.
Tasks
This section is for Byron only. Models continuing this PR must not add, remove, check, uncheck, rename, or reorder checkboxes here.
Fixes #1622 .
Everything below this line was generated by Codex GPT-5.
Created by Codex on behalf of Byron. Byron will review before this is ready to merge.
Summary
Git 57fb139b5e introduced reversed :/ traversal in 2.47.x; Git 0ff919e87a restored youngest-first ordering in 2.48.0.
Refs #1622
Validation