Skip to content

test(update): use supported reasoning in live survivor probe - #155085

Merged
steipete merged 1 commit into
mainfrom
steipete/upd-w2-0921
Sep 21, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/upd-w2-0921

Conversation

@steipete

@steipete steipete commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The published upgrade survivor's live OpenAI probe fails after a successful update because it requests an unsupported reasoning level from its default model.

User Impact

No product behavior changes. Maintainers can finish the existing live upgrade proof with the default openai/gpt-5.5 model.

Why This Change Was Made

The probe passed --thinking off, but GPT-5.5 supports low, medium, high, and xhigh. Use low while preserving the model, timeout, credentials handling, and reply-marker assertion.

Evidence

  • Before: published [email protected] and [email protected] both updated successfully to the packed 2026.9.5 candidate, preserved state, and passed Doctor plus Gateway health/readiness/RPC. Both then failed with Thinking level "off" is not supported for openai/gpt-5.5.
  • After: exact 2026.9.2 / base / LIVE=1 rerun on the same Blacksmith Testbox passed with LANE_EXIT=0, summary.status=passed, updateOutcome=success, installed version 2026.9.5, and the live-openai phase passed. Remote command wall time: 866.166 seconds. Testbox run.
  • After: exact 2026.9.1 / base / LIVE=1 rerun on its same Blacksmith Testbox also passed with LANE_EXIT=0, summary.status=passed, updateOutcome=success, installed version 2026.9.5, and the live-openai phase passed. Remote command wall time: 803.593 seconds.
  • Existing focused harness tests: pnpm test test/scripts/upgrade-survivor-plugin-registry.test.ts --maxWorkers=1 — 28 passed, 86.07 seconds wall on the loaded host.
  • bash -n scripts/e2e/lib/upgrade-survivor/run.sh, git diff --check, and all selected node scripts/check-changed.mjs checks passed. Independent Codex review found no actionable findings through P2.
  • The Docker lane itself is the existing regression proof; no duplicate source-string test was added. This invocation uses the existing manual restart fixture and does not claim an updater-owned managed-service restart. Raw private failure bundles are retained locally.

Landing note: CI passed at 18:35 UTC but the openclaw/ci-gate status publisher missed the workflow_run event; this edit re-triggers it.

@clawsweeper

clawsweeper Bot commented Sep 21, 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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Sep 21, 2026
@steipete
steipete marked this pull request as ready for review September 21, 2026 18:20
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 Sep 21, 2026
@clawsweeper

clawsweeper Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 21, 2026, 2:31 PM ET / 18:31 UTC.

ClawSweeper review

What this changes

The upgrade-survival test requests low reasoning for its live OpenAI verification turn so the default model can complete the probe.

Merge readiness

✅ Ready for maintainer review

This remains a useful, narrowly scoped fix: fetched main and the latest release still request the unsupported reasoning level. No actionable patch defects were found, and the supplied live upgrade results cover the changed probe.

Priority: P2
Reviewed head: 7ff70a1cc29797c53f83285c840697859e85d2ab

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with relevant reported live upgrade evidence and no actionable findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.
Evidence reviewed 7 items Exact introduced change: The pinned merge-base-to-head patch changes only the live agent invocation from --thinking off to --thinking low; model selection, credentials, timeout, failure propagation, and reply-marker verification remain intact.
Current main still needs the fix: Fetched main retains --thinking off in the same live probe, whose default model is openai/gpt-5.5.
Latest release comparison: The source at the supplied v2026.9.5 release commit also retains --thinking off; this repair is not already present there.
Findings None None.
Security None None.

How this fits together

The upgrade-survival harness installs a published OpenClaw version, upgrades it to a candidate package, and checks preserved state and runtime health. Its optional live probe then requests a model reply containing a verification marker.

flowchart LR
  A[Published installation] --> B[Candidate upgrade]
  B --> C[State and health checks]
  C --> D[Live model turn with low reasoning]
  D --> E[Verify reply marker]
  E --> F[Survivor result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Other 0. Total 0 across 1 file.

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

Review metrics

None.

Technical review

Best possible solution:

Keep the existing survivor flow and its reply assertion, using a reasoning level supported by the default model.

Do we have a high-confidence way to reproduce the issue?

Yes: main's live survivor probe explicitly requests off, while the model catalog excludes that level and command admission rejects unsupported explicit requests; the PR also records the corresponding failure. This review did not execute the lane.

Is this the best way to solve the issue?

Yes: changing the probe input to the lowest advertised reasoning level fixes the fixture while preserving the actual upgrade and response checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d34acf900f16.

Labels

Label changes:

  • add P2: This repairs an optional live upgrade-validation failure without changing installed product behavior.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.

Label justifications:

  • P2: This repairs an optional live upgrade-validation failure without changing installed product behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured evidence reports successful after-fix live model turns through the changed survivor probe on Blacksmith Testboxes after two published-version upgrades, including the live-openai phase and overall lane result.

Evidence

What I checked:

  • Exact introduced change: The pinned merge-base-to-head patch changes only the live agent invocation from --thinking off to --thinking low; model selection, credentials, timeout, failure propagation, and reply-marker verification remain intact. (scripts/e2e/lib/upgrade-survivor/run.sh:2022, 7ff70a1cc297)
  • Current main still needs the fix: Fetched main retains --thinking off in the same live probe, whose default model is openai/gpt-5.5. (scripts/e2e/lib/upgrade-survivor/run.sh:2022, d34acf900f16)
  • Latest release comparison: The source at the supplied v2026.9.5 release commit also retains --thinking off; this repair is not already present there. (scripts/e2e/lib/upgrade-survivor/run.sh:1966, ec9c1a13db89)
  • Runtime contract and dependency signal: The agent command rejects explicitly requested unsupported reasoning levels. The Codex harness guide identifies Codex app-server as the implementation for embedded OpenAI turns, making its advertised model reasoning levels relevant to this live probe. (src/agents/command/model-selection.ts:566, 7ff70a1cc297)
  • Dependency model contract inspected: The sibling checkout's model catalog advertises low, medium, high, and xhigh for gpt-5.5, with no off level. Repository ownership was verified through its backing Git cache's origin URL, https://github.com/openai/codex.git. (codex-rs/models-manager/models.json:787, 6b9826e3aa83)
  • Supplied real upgrade evidence: The captured PR body reports the original unsupported-level failure, then successful after-fix LIVE=1 runs from published 2026.9.2 and 2026.9.1 to candidate 2026.9.5, with live-openai passed, summary.status=passed, and LANE_EXIT=0. Reported wall times are 866.166 and 803.593 seconds. These exercise the changed local agent turn after upgrade; they explicitly do not claim managed-service restart proof. The linked Testbox workflow remains in progress, so its workflow status is not treated as an independent completion result.

Likely related people:

  • steipete: 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.

@steipete
steipete enabled auto-merge (squash) September 21, 2026 18:59
@steipete
steipete merged commit 75525a6 into main Sep 21, 2026
150 checks passed
@steipete
steipete deleted the steipete/upd-w2-0921 branch September 21, 2026 19:14
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Sep 21, 2026
* commit '3d4033fbe0aca10c9eec45a7c088540607181d79': (42 commits)
  fix(windows): prevent update readiness failures on fractional timeouts (#155051)
  fix(test): await approval readiness and request cleanup (#155111)
  test(update): preserve published plugin archives in survivor fixtures (#155093)
  fix(ci): recover security review from inconsistent file lists (#155129)
  fix(crabbox): skip unused startup and preserve provisioning waits (#154321)
  fix(qa-lab): refresh Control UI links on URL updates (#152397)
  fix(maintainer): recover locally refused auto-merge requests (#154988)
  test(ui): advance debug tray polling with the browser clock (#155091)
  fix(snapshot): preserve concurrently recovered backups (#155075)
  fix(anthropic): preserve context-window-limited responses (#155029)
  fix(ui): stop redundant actions crowding mobile session titles (#154493)
  test(gateway): compare large buffers with native assertions (#154351)
  chore(ci): resync pull request head after the Actions incident
  fix: join local provider child cleanup before releasing ownership
  fix(test): isolate MXC host environment fixtures
  fix(test): prevent Windows worker pipe inheritance
  test(update): use supported reasoning in live survivor probe (#155085)
  fix(firecrawl): omit impossible publication dates from search results (#155032)
  fix(sessions): order WAL recovery and join probe release
  fix(logs): retain severity and subsystem from JSON console records (#153890)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts 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