-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(git): instrument SimpleGit operations
#39591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
4227732 to
9667590
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
secustor
reviewed
Nov 27, 2025
Member
secustor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably why you are getting 0ms total time
jamietanna
commented
Nov 28, 2025
521521c to
893821b
Compare
9667590 to
3d76bf7
Compare
893821b to
ec20ae9
Compare
3d76bf7 to
f516a62
Compare
ec20ae9 to
4d6800c
Compare
4eba28c to
6e53101
Compare
4d6800c to
6cb5559
Compare
12 tasks
Contributor
Author
Moving convo into #39596 |
6e53101 to
2aca5e2
Compare
viceice
reviewed
Dec 1, 2025
Now we have the basis for instrumentation for SimpleGit, we can now fully integrate it. This creates a wrapper, `InstrumentedSimpleGit`, which has a simplified interface for `SimpleGit` to allow us to focus on the important parts of the interface for what we need, instead of trying to correctly extend / implement SimpleGit's interface (and slightly complex types). In each of our methods, we then make sure we instrument it with the relevant Git subcommand being invoked. Co-authored-by: gpt-4.1 <[email protected]>
2aca5e2 to
0918850
Compare
SimpleGit operationsSimpleGit operations
viceice
previously approved these changes
Dec 1, 2025
Currently, SimpleGit's `getRemotes` function being passed a `verbose: false` is the same as not providing a `verbose`. This fixes the code coverage failures, as we do not call this.
viceice
approved these changes
Dec 1, 2025
Contributor
|
🎉 This PR is included in version 42.27.5 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Changes
Context
Please select one of the below:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
The public repository: