Repository navigation
Conversation
When main crashes, experiences device removals, or fails to reach its end before logging full frames, its reported peak commit represents an incomplete run rather than full working-set memory. A PR that fixes the crash runs the full duration and naturally commits more memory than the aborted baseline, triggering a false-positive rejection. Skip the 125% peak commit ceiling check when main did not exit cleanly (crashes, device removals, non-zero exit, or incomplete frame log). Clean baselines continue to enforce the growth limit.
Owner
Author
|
Upstream PR xcl-dev#1112 was closed or merged. |
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.
When
mainexperiences crashes, device removals, or terminates before logging frames, its reportedpeak commitrepresents an incomplete run rather than full working-set memory. A PR that fixes the crash runs for the full duration and naturally commits more memory than the prematurely aborted baseline, triggering a false-positive rejection ("the PR's run commits much more memory than main's").What is in it
scripts/pr_check.py: detect whenmainsuffered crashes, device removals, non-zero exit status, or incomplete frame logging (frames shown: none logged). Skip the 125% peak commit ceiling check against crashed baselines.mainran and exited cleanly.scripts/test_pr_check.py: addSmokeComparisonTestscovering clean baseline growth limit enforcement, crashed baseline tolerance, and device removal / incomplete run cases.Tested
python -B -m unittest discover -s scripts -p "test_*.py" -v: 11 passed, 0 failed.Not tested
scripts/pr_check.pyandscripts/test_pr_check.py; no runtime files modified).AI use
Mirror of xcl-dev#1112 (auto-synced, do not edit).