Repository navigation
test(xai): expect the current default live model - #163175
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 10:43 PM ET / October 2, 2026, 02:43 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR updates xAI search and remote code-execution live tests to expect Grok 4.7 while preserving their response, tool-use, and citation checks. Merge readiness✅ Ready for maintainer review Keep open: this remains a useful release-branch correction, and current main still contains the stale assertions. No introduced correctness or security defect was found; member-authored work is protected from automatic closure. Priority: P3 Review scores
Verification
How this fits togetherThe xAI plugin sends search and code-execution requests to xAI using its configured or default model. These live tests check the returned results and feed release validation. flowchart LR
A[Live test scenarios] --> B[xAI plugin tools]
C[Configured or default model] --> B
B --> D[xAI Responses service]
D --> E[Answers and tool results]
E --> F[Model and behavior assertions]
F --> G[Release validation result]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep release validation aligned with the plugin's established default while retaining independent checks for useful answers, citations, and actual code execution. Do we have a high-confidence way to reproduce the issue? Yes, from source: default search and code-execution requests resolve to Grok 4.7 while the base and current-main live assertions expect Grok 4.3. Credentialed execution was not performed in this review. Is this the best way to solve the issue? Yes. Updating the independent expected values is the narrowest repair and preserves the meaningful result checks without changing runtime defaults. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2ff7b76c8b44. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
What Problem This Solves
Fixes: the
release/2026.9.8xAI live suites reject successful default-model responses because they still expect Grok 4.3 instead of Grok 4.7.User Impact
User impact: release validation accepts the current xAI default model while preserving the live response, tool-use, and citation assertions.
Why This Change Was Made
The release candidate already defaults xAI tool calls to
grok-4.7; these focused live assertions now match the runtime contract instead of reporting successful calls as failures.Evidence
pnpm test:live -- extensions/xai/x-search.live.test.ts extensions/xai/xai.live.test.tscompleted successfully in 85.78s; 12 credential-dependent cases skipped as expected on the local host.git diff --checkpassed.