UPSTREAM PR #2412: feat: add Rust closure fixtures to gix-testtools#18
Open
UPSTREAM PR #2412: feat: add Rust closure fixtures to gix-testtools#18
Conversation
Reviewed-by: Claude <noreply@anthropic.com>
|
The analysis encountered an error. Please review the Processing Details for more information. |
a4396e6 to
bdb09ad
Compare
9af85dc to
8124417
Compare
1a1cf0a to
f045646
Compare
e746ced to
fe5de3e
Compare
2c4a72b to
167bdd1
Compare
9b41e5f to
1f13824
Compare
06bc48e to
0e47b1e
Compare
8b02847 to
1bf0519
Compare
cdbe120 to
78a7ab5
Compare
49231d8 to
bc0a777
Compare
e902b63 to
c6739bc
Compare
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.
Note
Source pull request: GitoxideLabs/gitoxide#2412
Adds ability to create fixtures using Rust closures instead of shell scripts, with manual version numbers for cache invalidation.
New API
rust_fixture_read_only(name, version, closure)- cached read-only fixturerust_fixture_writable(name, version, mode, closure)- writable temp directory copy*_standalonevariants forfixtures/instead oftests/fixtures/Implementation
rust-(e.g.,rust-my_fixture.tar.xz)Example
Increment version when closure behavior changes to force cache rebuild.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.