Skip to content

fix(ci): extend OpenAI live profile setup budget - #116580

Merged
vincentkoc merged 1 commit into
mainfrom
fix/release-openai-setup-timeout-20260730
Jul 30, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/release-openai-setup-timeout-20260730

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a release-validation problem where the OpenAI gateway profile could
finish real provider work but fail during cold models.json preparation after
exceeding the three-minute setup envelope.

Why This Change Was Made

Raises only the OpenAI profile's setup budget from three to five minutes. The
provider operation and model-call budgets remain unchanged, so this covers
observed cold compilation without weakening live inference checks.

User Impact

Release validation no longer rejects a healthy OpenAI live profile solely
because cold setup takes about four minutes on the release runner.

Evidence

@vincentkoc vincentkoc self-assigned this Jul 30, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Jul 30, 2026
@clawsweeper clawsweeper Bot added 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 7:29 PM ET / 23:29 UTC.

ClawSweeper review

What this changes

The PR raises the OpenAI gateway profile’s release-validation setup timeout from 180 to 300 seconds while leaving the provider step and model-call budgets unchanged, and updates the workflow contract test.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for explicit maintainer judgment: this member-authored PR carries the protected maintainer label. The branch is a narrow release-validation adjustment, and the supplied exact-head OpenAI live run is positive, but a maintainer should confirm that five minutes remains a bounded cold-setup allowance rather than masking a real setup stall.

Priority: P3
Reviewed head: f5c525cfdea0ad9f428775eaed7dce2349da24a1
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow, contract-tested workflow adjustment with positive exact-head live evidence; the remaining gate is an intentional maintainer decision about acceptable release-validation latency.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (linked_artifact): The PR body supplies a passed exact-head OpenAI live release-validation action after the timeout change, which directly exercises the changed release profile; no user-sensitive material is implicated by the supplied evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The PR body supplies a passed exact-head OpenAI live release-validation action after the timeout change, which directly exercises the changed release profile; no user-sensitive material is implicated by the supplied evidence.
Evidence reviewed 5 items Profile-specific workflow change: The proposed head adds OPENCLAW_LIVE_GATEWAY_SETUP_TIMEOUT_MS=300000 only to the OpenAI native live gateway profile; its 180-second step timeout and 600-second model timeout remain unchanged.
Workflow contract coverage: The matching package-acceptance workflow test is updated to require the exact OpenAI profile command with the five-minute setup budget, preventing this profile-specific setting from being silently removed.
After-fix live evidence: The PR body links an exact-head OpenAI live release-validation action reported as passed, following two reported cold setup observations of about 245 seconds against the former 180-second envelope.
Findings None None.
Security None None.

How this fits together

OpenClaw’s release-validation workflow launches real provider gateway profiles and applies separate time budgets to setup, provider steps, and model calls. This change adjusts only the OpenAI profile’s setup envelope so cold preparation can complete before the live inference checks run.

flowchart LR
  A[Release validation] --> B[OpenAI gateway profile]
  B --> C[Cold setup and models preparation]
  C --> D{Setup budget}
  D -->|Up to 5 minutes| E[Live provider checks]
  E --> F[Release validation result]
Loading

Decision needed

Question Recommendation
Should release validation accept up to five minutes of OpenAI-only cold setup time while preserving the existing 180-second provider-step and 600-second model-call budgets? Confirm the bounded OpenAI allowance: Accept the five-minute OpenAI setup ceiling because it covers observed cold preparation while leaving inference budgets and every other provider profile unchanged.

Why: The patch is mechanically narrow and has positive exact-head live evidence, but choosing how long release validation should wait before declaring OpenAI setup unhealthy is an operational release-policy judgment.

Before merge

  • Resolve merge risk (P1) - A five-minute setup watchdog can delay detection of a genuine OpenAI cold-start stall by up to two additional minutes; the live proof shows a successful approximately four-minute setup case, but maintainers should confirm this remains acceptable for release validation.
  • Complete next step (P2) - A member-authored PR with a protected maintainer label needs a release-validation owner to confirm the operational timeout policy; there is no mechanical repair finding to dispatch.
Agent review details

Security

None.

PR surface

Tests 0, Config 0. Total 0 across 2 files.

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

Review metrics

Metric Value Why it matters
OpenAI setup allowance 1 profile changed: 180 seconds → 300 seconds; provider-step and model-call budgets unchanged The operational effect is deliberately limited to cold OpenAI setup, so maintainers can judge the added failure-detection latency without inferring a broader live-check relaxation.

Merge-risk options

Maintainer options:

  1. Confirm the OpenAI-only ceiling before merge (recommended)
    Verify that five minutes is the intended maximum cold-setup window for the release runner, then merge with the step and model budgets unchanged.
  2. Retain the faster failure signal
    Decline the longer ceiling if the release process should expose cold-start regressions within three minutes and pursue setup performance separately.

Technical review

Best possible solution:

Keep the timeout override scoped to the OpenAI live profile, retain the contract assertion, and merge only after the release-validation owner confirms that 300 seconds is the intended cold-setup ceiling.

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

No direct current-main reproduction was run in this read-only review. The PR records two beta validations with roughly 245-second setup times against the former 180-second limit and links an exact-head successful live validation after the change.

Is this the best way to solve the issue?

Yes, conditionally: a profile-scoped setup budget is narrower than relaxing provider-step or model-call timeouts, and the paired contract test protects that scope. The remaining question is whether five minutes is the correct release-policy ceiling.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against f4a7f2b553d3.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies a passed exact-head OpenAI live release-validation action after the timeout change, which directly exercises the changed release profile; no user-sensitive material is implicated by the supplied evidence.

Label justifications:

  • P3: This is a small, bounded release-validation reliability adjustment rather than a user-facing runtime regression.
  • merge-risk: 🚨 availability: Extending the setup watchdog changes when release validation declares the OpenAI live profile stalled, which can lengthen feedback for genuine setup failures.
  • 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 (linked_artifact): The PR body supplies a passed exact-head OpenAI live release-validation action after the timeout change, which directly exercises the changed release profile; no user-sensitive material is implicated by the supplied evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies a passed exact-head OpenAI live release-validation action after the timeout change, which directly exercises the changed release profile; no user-sensitive material is implicated by the supplied evidence.

Evidence

What I checked:

  • Profile-specific workflow change: The proposed head adds OPENCLAW_LIVE_GATEWAY_SETUP_TIMEOUT_MS=300000 only to the OpenAI native live gateway profile; its 180-second step timeout and 600-second model timeout remain unchanged. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:3088, f5c525cfdea0)
  • Workflow contract coverage: The matching package-acceptance workflow test is updated to require the exact OpenAI profile command with the five-minute setup budget, preventing this profile-specific setting from being silently removed. (test/scripts/package-acceptance-workflow.test.ts:1812, f5c525cfdea0)
  • After-fix live evidence: The PR body links an exact-head OpenAI live release-validation action reported as passed, following two reported cold setup observations of about 245 seconds against the former 180-second envelope. (f5c525cfdea0)
  • Prior review continuity: The prior ClawSweeper review had no code findings and asked for exact-SHA confirmation that the longer allowance resolves cold setup without weakening inference checks; the current PR body supplies a passed exact-head live action. (72cdb33874b6)
  • Protected maintainer handling: The author association is MEMBER and the PR has the maintainer label, so the conservative cleanup policy keeps it open for explicit maintainer handling rather than auto-close or automated repair routing. (f5c525cfdea0)

Likely related people:

  • vincentkoc: The available PR context identifies vincentkoc as the member author, assignee, and source of the observed beta-run timing evidence and exact-head OpenAI live proof; repository-history attribution could not be completed because read-only terminal inspection was unavailable. (role: release-validation contributor; confidence: medium; commits: f5c525cfdea0; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml, test/scripts/package-acceptance-workflow.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Confirm that 300 seconds is the approved OpenAI cold-setup ceiling for the release runner.

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-07-30T23:20:53.816Z sha 72cdb33874b68e77147832db75e51aee40345a49 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc marked this pull request as ready for review July 30, 2026 23:24
@vincentkoc
vincentkoc force-pushed the fix/release-openai-setup-timeout-20260730 branch from 72cdb33 to f5c525c Compare July 30, 2026 23:25
@vincentkoc
vincentkoc enabled auto-merge (squash) July 30, 2026 23:26
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jul 30, 2026
@vincentkoc
vincentkoc merged commit a473fc6 into main Jul 30, 2026
105 checks passed
@vincentkoc
vincentkoc deleted the fix/release-openai-setup-timeout-20260730 branch July 30, 2026 23:40
vincentkoc added a commit that referenced this pull request Jul 31, 2026
…-supported-paths

* origin/main: (168 commits)
  fix(plugins): keep registry sqlite root consistent (#116427)
  fix(cli): keep Gateway auth failures parseable in JSON (#116597)
  fix(trajectory): preserve prompts in oversized events (#116220)
  test(buzz): add live QA Lab channel lane (#116298)
  chore(i18n): refresh native locales (#116567)
  feat: add OpenClaw TUI prototype skill (#116583)
  fix(update): accept concrete versions selected by ranges (#116585)
  fix(agents): preserve locked session model routes
  test(qa-lab): preserve Matrix fault proxy identity
  fix(ci): extend OpenAI live profile setup budget (#116580)
  fix: prevent configured models from stalling startup (#116553)
  fix(cli): close MCP listener after one-shot commands
  fix(auto-reply): keep explicit NO_REPLY silent (#116548)
  test(discord): cover deferred backpressure terminals
  fix(discord): cancel backpressured realtime playback
  test(discord): cover realtime output backpressure
  fix(codex): add remote WebSocket heartbeat and reconnect (#116135)
  fix(macos): wait for the current reconnect snapshot (#116550)
  fix(outbound): recognize current-source message-tool sends (#116560)
  fix(voice-call): type cancelled consult outcomes
  ...

# Conflicts:
#	extensions/google/setup-api.test.ts
#	ui/src/e2e/model-setup.e2e.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 31, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
…-supported-paths

* origin/main: (168 commits)
  fix(plugins): keep registry sqlite root consistent (openclaw#116427)
  fix(cli): keep Gateway auth failures parseable in JSON (openclaw#116597)
  fix(trajectory): preserve prompts in oversized events (openclaw#116220)
  test(buzz): add live QA Lab channel lane (openclaw#116298)
  chore(i18n): refresh native locales (openclaw#116567)
  feat: add OpenClaw TUI prototype skill (openclaw#116583)
  fix(update): accept concrete versions selected by ranges (openclaw#116585)
  fix(agents): preserve locked session model routes
  test(qa-lab): preserve Matrix fault proxy identity
  fix(ci): extend OpenAI live profile setup budget (openclaw#116580)
  fix: prevent configured models from stalling startup (openclaw#116553)
  fix(cli): close MCP listener after one-shot commands
  fix(auto-reply): keep explicit NO_REPLY silent (openclaw#116548)
  test(discord): cover deferred backpressure terminals
  fix(discord): cancel backpressured realtime playback
  test(discord): cover realtime output backpressure
  fix(codex): add remote WebSocket heartbeat and reconnect (openclaw#116135)
  fix(macos): wait for the current reconnect snapshot (openclaw#116550)
  fix(outbound): recognize current-source message-tool sends (openclaw#116560)
  fix(voice-call): type cancelled consult outcomes
  ...

# Conflicts:
#	extensions/google/setup-api.test.ts
#	ui/src/e2e/model-setup.e2e.test.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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