Skip to content

test(xai): expect the current default live model - #163175

Merged
RomneyDa merged 1 commit into
release/2026.9.8from
fix/release-2026.9.8-xai-default
Oct 2, 2026
Merged

RomneyDa merged 1 commit into
release/2026.9.8from
fix/release-2026.9.8-xai-default

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 2, 2026

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: the release/2026.9.8 xAI 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

  • Source failure: Full Release Validation run 36926596622.
  • pnpm test:live -- extensions/xai/x-search.live.test.ts extensions/xai/xai.live.test.ts completed successfully in 85.78s; 12 credential-dependent cases skipped as expected on the local host.
  • Formatting and git diff --check passed.
  • Fresh AutoReview: scoped clean.

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 10:43 PM ET / October 2, 2026, 02:43 UTC (Revision 2).

ClawSweeper review

What this changes

The 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
Reviewed head: 6d6547ab243908a33ae66d4a54b7f9f61469d31a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct assertion repair with no actionable findings; live execution is unverified and exempt from the contributor proof gate.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external contributor proof gate. Its changed search and code-execution assertions match the production default, but the reported skipped local cases do not prove after-fix live responses; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external contributor proof gate. Its changed search and code-execution assertions match the production default, but the reported skipped local cases do not prove after-fix live responses; no stored-data contract changes.
Evidence reviewed 8 items Verified introduced patch: The pinned base-to-head patch changes only three model expectations. Existing content, citation, and code-interpreter-use assertions remain intact.
Authoritative runtime default: The default model is Grok 4.7. Both search and code-execution model resolvers consume this constant when no model is configured; the changed live scenarios omit a model override.
Current-main necessity: Fetched main still expects Grok 4.3 in the search assertion and both code-execution assertions, despite its Grok 4.7 runtime default.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0. Total 0 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 3 3 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 3 3 0

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This repairs release-validation expectations without changing production behavior or test execution cost.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external contributor proof gate. Its changed search and code-execution assertions match the production default, but the reported skipped local cases do not prove after-fix live responses; no stored-data contract changes.

Evidence

What I checked:

  • Verified introduced patch: The pinned base-to-head patch changes only three model expectations. Existing content, citation, and code-interpreter-use assertions remain intact. (extensions/xai/x-search.live.test.ts:70, 6d6547ab2439)
  • Authoritative runtime default: The default model is Grok 4.7. Both search and code-execution model resolvers consume this constant when no model is configured; the changed live scenarios omit a model override. (extensions/xai/model-definitions.ts:14, 2ff7b76c8b44)
  • Current-main necessity: Fetched main still expects Grok 4.3 in the search assertion and both code-execution assertions, despite its Grok 4.7 runtime default. (extensions/xai/x-search.live.test.ts:70, 2ff7b76c8b44)
  • Shipped default context: The supplied latest release, v2026.9.7, also defines Grok 4.7 as the default; the proposed expectations match an existing runtime contract. (extensions/xai/model-definitions.ts:14, c074824a27c9)
  • Validation evidence and continuity: The captured body reports an 85.78-second focused run with 12 credential-dependent cases skipped, which does not establish live execution of the changed scenarios. The previous completed review examined the same head and retained no findings or published rank-up moves. No tests were executed during this read-only review. (6d6547ab2439)
  • Merged feature history: GitHub verifies feat(xai): add Grok 4.7 support #155379 as merged, authored by RomneyDa, with the recorded Grok 4.7 support commit. This establishes prior merged area involvement beyond the current proposal. (extensions/xai/model-definitions.ts, 2a2d28d578d2)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-02T02:38:52.516Z sha 6d6547a :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa marked this pull request as ready for review October 2, 2026 02:40
@RomneyDa
RomneyDa merged commit b2954c7 into release/2026.9.8 Oct 2, 2026
159 checks passed
@RomneyDa
RomneyDa deleted the fix/release-2026.9.8-xai-default branch October 2, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: xai P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant