Repository navigation
Conversation
An absent or n/a peak commit parsed as None and skipped the memory comparison, so incomplete smoke reports passed the documented limit. Require a measurement from both matching runs. Keep the existing growth threshold, update the minimal smoke fixture and document the requirement. Eight invalid subcases were accepted before the fix. The focused checker suite now passes: 11 tests, 0 failures, 0 skipped on macOS/Python 3.15.2. Assisted-by: omp (openai-codex/gpt-6-astra)
|
Tested exact head Tested
Not tested
AI use
|
check() compares the main and PR xcl-smoke blocks through number(), which gives None for a missing field, and the comparisons let None pass; the title / seconds match compares None == None. Two blocks holding only `xcl-smoke v1` and `commit: <sha>` passed every regression check, though CONTRIBUTING asks for at least 80 % of main's frames and blocks of the same title for the same time. A block that lacks a `title`, `seconds` or `frames shown` line, or has a non-number in one of the last two, is now reported, naming the field and the block's commit: the PR's block, and the main block it is compared with (every main block when none matches). The crash and device-removal counts are left to #635, and the peak commit to #1103. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
|
Confirmed the reported merge conflict at I ran The two targeted test methods passed on the author head. On the rebase, Follow-up on review feedback I checked the positive-peak review through I repeated the eight CLI cases on the candidate on the earlier main-based rebase. Both candidates rejected either missing peak, kept 100/125 MB at the limit, rejected 100/126 MB, and accepted 1/1 MB. Python test discovery passed 12 tests on the PR-based candidate and 28 on the main-based one. This verifies the checker on synthetic input only. Parent of the PR-based candidate: |
luckyteagirl
left a comment
There was a problem hiding this comment.
Could a matched main run require a positive peak commit value? 0 MB passes the None check and disables the 125% comparison at if pc and mc. With otherwise valid matched 60-second, 100-frame smoke blocks, main 0 MB / PR 400 MB currently passes without a memory finding. I reproduced this on the exact head, and it also remains after #2219, whose nonzero check covers only the PR side. A baseline-zero fixture and an explicit rejection of that unusable measurement would close the comparison bypass. Synthetic checker run only at 49b30dc1f2333361a94ff739912b2d6a78dbe04c; no retail or GPU run. AI-assisted review with Codex.
I fixed the PR checker accepting a memory comparison when either smoke run has no usable
peak commit. Missing, empty andn/ameasurements parsed asNone, so the 125% memory-growth check was skipped.What is in it
CONTRIBUTING.md.Tested
macOS Darwin 24.6.0, arm64; Python 3.15.2. No GPU used.
Before the fix,
python3 -B -m unittest discover -s scripts -p test_pr_check_memory.py -vexposed 8 accepted invalid subcases.After the fix,
python3 -B -m unittest discover -s scripts -p 'test_pr_check*.py' -v: 11 passed, 0 failed, 0 skipped.Windows 11 Pro ARM64 10.0.26100.1742 in UTM, Python 3.14.0 ARM64; no GPU used. Exact source archive
49b30dc1f2333361a94ff739912b2d6a78dbe04c:C:\xcl-tests\python\python.exe -B -m unittest discover -s scripts -p "test_pr_check*.py" -v: 11 passed, 0 failed, 0 skipped.Not tested
AI use
openai-codex/gpt-6-astra) to identify the gap, write the checker change and regressions, run the Python tests, and prepare this description.