Skip to content

fix(release): pin packed activation runtime - #164881

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-packed-codex-fixture
Oct 4, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-packed-codex-fixture

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 4, 2026

Copy link
Copy Markdown
Member

Problem

The exact-candidate npm artifact producer in FRV 37193199690 runs the packed bundled-plugin activation smoke through doctor --fix. Its fixture leaves OpenAI runtime selection on auto, so the frozen candidate enables the now-external Codex harness and the following read-only plugins doctor exits on the resulting missing-plugin warning.

Solution

Pin openai/* to the built-in openclaw runtime in this model-independent activation fixture. The smoke remains scoped to bundled Telegram activation and cannot select an optional harness.

Evidence

The failing FRV job is the real-entry-point reproduction. Focused post-push proof is running; no full local CI will be run.

@clawsweeper

clawsweeper Bot commented Oct 4, 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 labels Oct 4, 2026
@RomneyDa

RomneyDa commented Oct 4, 2026

Copy link
Copy Markdown
Member Author

Post-push focused proof for 0b7aed9613f:

  • pnpm tsgo:scripts — passed
  • pnpm test test/release-check.test.ts --maxWorkers=1 — 48/48 passed; one tooling shard, 107.45s wall (Vitest 96.08s; tests 1.02s)
  • Real-entry-point reproduction: FRV 37193199690 artifact job 111411890234 fails after the candidate's doctor --fix creates plugins.entries.codex; the following packed plugins doctor exits 1 because Codex is external and absent. The fixture now explicitly selects the built-in runtime, so the activation smoke cannot create that unrelated harness dependency.

No full local CI was run.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 4, 2026, 7:20 AM ET / 11:20 UTC (Revision 2).

ClawSweeper review

What this changes

The PR pins the packed-package Telegram activation fixture to OpenClaw’s built-in agent runtime and updates its existing configuration regression test.

Merge readiness

✅ Ready for maintainer review

The focused repair remains useful: current main lacks the runtime pin, and no introduced correctness or security defect was found. The MEMBER-authored PR stays open for the normal release-owner review.

Priority: P2
Reviewed head: 0b7aed9613f28c2984e815920838798390556b3a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable fixture repair with reported targeted validation and no actionable introduced defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored PR. Reported focused tests exercise the fixture writer; the linked failing artifact job establishes the original entrypoint, not after-fix packed recovery. Only disposable test configuration changes, so no stored-data upgrade 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 external-contributor proof gate does not apply to this MEMBER-authored PR. Reported focused tests exercise the fixture writer; the linked failing artifact job establishes the original entrypoint, not after-fix packed recovery. Only disposable test configuration changes, so no stored-data upgrade contract changes.
Evidence reviewed 8 items Pinned introduced change: The merge-base-to-head delta adds the existing openai/* runtime policy to the isolated fixture and adjusts its existing test; it changes no product routing implementation.
Existing runtime-policy owner: Model runtime policy resolves provider wildcards, and harness discovery excludes the built-in openclaw runtime from selectable plugin runtimes. The fix relies on OpenClaw-owned configuration and setup behavior; it does not execute or require compatibility with the sibling Codex runtime or protocol.
Current-main necessity: The fetched main fixture still contains only channel and plugin configuration, without the proposed runtime pin.
Findings None None.
Security None None.

How this fits together

Release qualification installs the candidate npm package into isolated state and runs Doctor followed by plugin diagnostics. The activation fixture controls which bundled plugin and runtime those checks select.

flowchart TD
  A[Candidate npm package] --> B[Isolated installation]
  C[Telegram activation fixture] --> B
  C --> D[Built-in runtime policy]
  B --> E[Doctor repair]
  D --> E
  E --> F[Plugin diagnostics]
  F --> G[Release qualification result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +4, Other +7. Total +11 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 6 2 +4
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 7 0 +7
Total 2 13 2 +11

Review metrics

None.

Technical review

Best possible solution:

Keep release activation qualification deterministic through the existing runtime-policy setting while retaining isolated state and the Telegram plugin checks.

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

Yes, the reported entrypoint is packed Doctor repair followed by plugin diagnostics against the frozen candidate. Source supports the runtime-selection mechanism, but this read-only review did not execute a failing current-main run.

Is this the best way to solve the issue?

Yes, the existing model-scoped wildcard policy is a narrow way to keep this fixture on the built-in runtime without changing global defaults or reintroducing synthetic provider credentials.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This repairs a bounded release-qualification fixture failure without changing existing users’ runtime settings.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored PR. Reported focused tests exercise the fixture writer; the linked failing artifact job establishes the original entrypoint, not after-fix packed recovery. Only disposable test configuration changes, so no stored-data upgrade contract changes.

Label justifications:

  • P2: This repairs a bounded release-qualification fixture failure without changing existing users’ runtime settings.
  • 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 external-contributor proof gate does not apply to this MEMBER-authored PR. Reported focused tests exercise the fixture writer; the linked failing artifact job establishes the original entrypoint, not after-fix packed recovery. Only disposable test configuration changes, so no stored-data upgrade contract changes.

Evidence

What I checked:

  • Pinned introduced change: The merge-base-to-head delta adds the existing openai/* runtime policy to the isolated fixture and adjusts its existing test; it changes no product routing implementation. (scripts/release-check.ts:816, 0b7aed9613f2)
  • Existing runtime-policy owner: Model runtime policy resolves provider wildcards, and harness discovery excludes the built-in openclaw runtime from selectable plugin runtimes. The fix relies on OpenClaw-owned configuration and setup behavior; it does not execute or require compatibility with the sibling Codex runtime or protocol. (src/agents/harness-runtimes.ts:18, 0b7aed9613f2)
  • Current-main necessity: The fetched main fixture still contains only channel and plugin configuration, without the proposed runtime pin. (scripts/release-check.ts:807, 31a1705cca22)
  • Prior merged fixture repair: fix(release): isolate plugin activation fixture #164553 is merged and removed synthetic model selection and provider credentials from this fixture. This PR retains that simplification while adding an explicit runtime policy, so the earlier repair does not supersede it. (scripts/release-check.ts, 243c9363149e)
  • Validation and proof scope: The captured author comment reports passing script typechecks and 48/48 focused tests for the pinned head, with 107.45 seconds wall time. GitHub confirms the cited artifact job failed during final npm package verification; neither the comment nor that failing job establishes an after-fix packed activation pass. (test/release-check.test.ts:191, 0b7aed9613f2)
  • Release and merge identity: GitHub confirms the PR remains open and unmerged at the pinned head. The latest release is v2026.9.8; its inspected fixture uses the older synthetic model/provider configuration and does not contain this runtime pin. The verified test merge has the recorded base followed by the exact PR head and changes only the two introduced paths. (scripts/release-check.ts, fc23bc864e45)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • openclaw/openclaw-release-managers: 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-04T11:16:02.348Z sha 0b7aed9 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 4, 2026
@RomneyDa
RomneyDa merged commit ee53507 into main Oct 4, 2026
104 checks passed
@RomneyDa

RomneyDa commented Oct 4, 2026

Copy link
Copy Markdown
Member Author

Merged via squash.

@RomneyDa
RomneyDa deleted the fix/release-packed-codex-fixture branch October 4, 2026 11:45
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 5, 2026
RomneyDa added a commit that referenced this pull request Oct 10, 2026
…68256)

* fix(release): pin packed activation runtime (#164881)

(cherry picked from commit ee53507)

* fix(release): give the root-managed VPS upgrade lane the measured survivor budget

The root-managed VPS upgrade lane used the 900s default command timeout and a
1500s docker run cap. On hosted release checks its update-candidate phase took
866s on a pass and was killed at 900s after reporting a successful update
(release checks 38020418926). Share the published upgrade survivor's measured
1500s command, 2280s run and 2580s lane budget.

* fix(plugins): Windows Gateway startup stalls capturing installed plugin files

Plugin source capture routed every Windows file through fs-safe's guarded
clone, which skips native copies and path-admission caching on win32, so
Gateways with installed plugins spent minutes in synchronous capture before
binding (cross-OS installer-fresh, release checks 38020418926). Windows now
uses the existing pinned-descriptor copy for small ordinary files, as it did
before the guarded-clone migration (#164680); large and native files keep the
guarded clone. The small-copy guard tests now run on Windows too.

* fix(release): pin 2026.10.1 performance gate to release-calibrated Kova limits

The mock-provider Kova gate failed 2026.10.1 only on status-cli: a 950 MB
tree against the 900 MB cap and CPU intervals straddling 200%. Pin the
release workflow to Kova release/openclaw-2026.10.1 (ae41f747d7e1), which is
the existing 88d9a7efa5e6 evaluator with status-cli raised to 1100 MB / 250%
on fresh-install and gateway-performance. Main keeps its pin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. 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