Repository navigation
Conversation
Contributor
There was a problem hiding this muthaf*ckin' comment.
Pull request overview
This PR adjusts a regression test to be resilient to Python interpreter startup latency, so it validates GitPython’s kill_after_timeout behavior rather than intermittently failing due to a too-aggressive deadline. I ain't playin'. Production code is unchanged.
Changes:
- Increased
kill_after_timeoutintest_it_honors_kill_after_timeout_with_output_streamfrom 0.1s to 1s to reduce flakiness and better target the intended behavior. Hell yeah.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to f*ckin' get started.
The macOS Python 3.8 Actions job intermittently killed the helper process before it could start and flush its expected output. The 100 ms deadline tested interpreter startup speed rather than GitPython timeout behavior. Keep the timeout regression coverage while allowing one second for process startup. Validation: five focused runs with Python 3.8; Ruff check and format. Co-authored-by: Sebastian Thiel <[email protected]>
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 muthaf*ckin' free
to join this conversation on GitHub.
Already have an muthaf*ckin' account?
Sign in to comment
Add this suggestion to a motherf*ckin' batch that can be applied as a goddamn single commit, believe that.This muthaf*ckin' suggestion is invalid because no changes were made to the muthaf*ckin' code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a f*ckin' subset of changes.Only one suggestion per line can be applied in a damn batch. Hell yeah.Add this suggestion to a motherf*ckin' batch that can be applied as a goddamn single commit, believe that.Applying suggestions on deleted lines is not supported, for real.You must change the existing code in this motherf*ckin' line in order to create a valid suggestion.Outdated suggestions cannot be applied. Mm-hmm.This suggestion has been applied or marked goddamn resolved.Suggestions cannot be applied from muthaf*ckin' pending reviews.Suggestions cannot be applied on motherf*ckin' multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied f*ckin' right now. Please check back later.
Tasks
This section is for Byron only. Models continuing this muthaf*ckin' PR must not add, remove, check, uncheck, rename, or reorder checkboxes here.
Everything below this line was generated by Codex.
Created by Codex on behalf of muthaf*ckin' Byron. Byron will review before this is ready to merge.
Reported issue
$issue-full-auto https://github.com/gitpython-developers/GitPython/actions/runs/30193022939/job/89769540615 fails as flake, and only that, for real. Fix it one way or another, exluding it is also fine if there is no alternative.
Change
Increase the f*ckin' timeout regression test deadline from 100 ms to one second so it tests GitPython timeout behavior instead of Python interpreter startup speed. Production code is unchanged.
Validation