test(github-copilot): cover live xhigh reasoning for non-Claude mini models (#59416)#91728
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 21, 2026, 8:25 PM ET / 00:25 UTC. Summary PR surface: Tests +31. Total +31 across 1 file. Reproducibility: yes. for source-level review: current main consumes Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the focused regression tests after ordinary maintainer review and required checks, while keeping broader Copilot live-catalog policy on its canonical issue path. Do we have a high-confidence way to reproduce the issue? Yes for source-level review: current main consumes Is this the best way to solve the issue? Yes. Since the live-catalog runtime behavior is already on main, focused provider-boundary regression coverage is the narrowest maintainable remaining change. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1f6ae32cabb9. Label changesLabel justifications:
Evidence reviewedPR surface: Tests +31. Total +31 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
336c450 to
a9ad1f1
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
4e1d319 to
0d0bb45
Compare
|
Thanks for the review. You were right — the live I've reset the branch onto Re-requesting review on the slimmed-down change. Happy to close instead if you'd rather fold these assertions in elsewhere. |
openclaw#91728) Regression coverage for openclaw#59416: when live /models metadata wins over the static xhigh allowlist, non-Claude mini-family ids (e.g. gpt-5.4-mini) must gain xhigh from their resolved compat, while ids whose live effort list lacks xhigh (e.g. gpt-5-mini) must not over-grant it. The live-first model catalog union and models-defaults removal are already in origin/main (42a7ac4, ce83abf, ae5a2a3); this PR now contributes only the still-missing regression tests on top of that base. Co-authored-by: saju01 <[email protected]>
openclaw#91728) Regression coverage for openclaw#59416: when live /models metadata wins over the static xhigh allowlist, non-Claude mini-family ids (e.g. gpt-5.4-mini) must gain xhigh from their resolved compat, while ids whose live effort list lacks xhigh (e.g. gpt-5-mini) must not over-grant it. The live-first model catalog union and models-defaults removal are already in origin/main (75405f6, 46c42d4, d227959); this PR now contributes only the still-missing regression tests on top of that base. Co-authored-by: saju01 <[email protected]>
openclaw#91728) Regression coverage for openclaw#59416: when live /models metadata wins over the static xhigh allowlist, non-Claude mini-family ids (e.g. gpt-5.4-mini) must gain xhigh from their resolved compat, while ids whose live effort list lacks xhigh (e.g. gpt-5-mini) must not over-grant it. The live-first model catalog union and models-defaults removal are already in origin/main (75405f6, 46c42d4, d227959); this PR now contributes only the still-missing regression tests on top of that base. Co-authored-by: saju01 <[email protected]>
openclaw#91728) Regression coverage for openclaw#59416: when live /models metadata wins over the static xhigh allowlist, non-Claude mini-family ids (e.g. gpt-5.4-mini) must gain xhigh from their resolved compat, while ids whose live effort list lacks xhigh (e.g. gpt-5-mini) must not over-grant it. The live-first model catalog union and models-defaults removal are already in origin/main (75405f6, 46c42d4, d227959); this PR now contributes only the still-missing regression tests on top of that base. Co-authored-by: saju01 <[email protected]>
What
Adds regression tests covering xhigh reasoning resolution for non-Claude "mini" Copilot models via the live
/modelsextended-thinking compat path.gpt-5.4-minishould gainxhighwhen the live catalog advertises it (live extended-thinking compat applies).gpt-5-minimust not over-grantxhigh(guards against the compat helper widening reasoning levels too broadly).Refs #59416.
Why this PR shrank
This branch originally proposed a live
/modelscatalog with static fallback union. That idea has since landed upstream independently (live discovery via75405f64d0/d2279591bf; the oldmodels-defaults.tshelper was removed in46c42d4a0d), with live-first precedence handled centrally — so the original implementation is now redundant and unmergeable as-was.Rather than resurrect dead code, this PR is reset onto
mainand reduced to the one piece not yet covered upstream: the non-Claude mini xhigh reasoning boundary tests above.Real behavior proof
xhighboundary after the live catalog path landed upstream.gpt-5.4-minixhigh allow case and thegpt-5-minino-overgrant guard without changing runtime code.Testing
vitest(github-copilot extension): 21/21 passedoxlint: 0 warnings / 0 errorsoxfmt: cleanTests-only change — no runtime behavior modified.