Repository navigation
Scripts: let local PR checks use an upstream main ref - #2646
luckyteagirl wants to merge 1 commit into
Conversation
|
Rerun on the new head On #2219 makes the checker require With
Windows 11 Pro 26300, Python 3.12. AI use: Claude Code (Claude Opus 5.5) ran the checks and wrote this comment. |
A fork can have a stale origin/main and reject valid upstream smoke baselines. Let local callers specify the fetched main ref while keeping origin/main as the default. Exercise the default and alternate refs in a temporary Git repository. Assisted-by: Codex (GPT-6.2 Sol)
9fa03d5 to
0076516
Compare
|
Thanks for the precise repro. I added both fields to the synthetic smoke block in Codex assisted with the fixture and checks; the root session's exact model identifier is not exposed to me. |
A fork checkout can have a stale
origin/main, which makes the local PR checker reject a retail smoke report from the current upstream main. Use--local --main-ref upstream/mainto check against a fetched upstream branch.What is in it
--main-refto the local checker, withorigin/mainas the default.Tested
python -B -m unittest discover -s scripts -p 'test_*.py' -v: 26 passed, 0 failed, 0 skipped on Windows.exitandpeak commitfields, the combined tree's full Python suite passed 32/32; before the fixture update, the focused test failed with exactly those two missing-field diagnostics. The standalone branch still passed 26/26.git diff --checkpassed.Regression run
Not tested
AI use