Skip to content

fix(release): isolate plugin activation fixture - #164553

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-activation-fixture
Oct 3, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-activation-fixture

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 3, 2026

Copy link
Copy Markdown
Member

Summary

  • keep the packed bundled-plugin activation smoke focused on Telegram plugin activation
  • remove unrelated synthetic model/provider configuration that makes frozen candidates attempt Codex repair from ClawHub
  • cover the fixture boundary so model runtime selection cannot leak back into this smoke

Root cause

The packed activation fixture selected openai/gpt-5.6-luna even though the smoke only validates bundled Telegram activation and lazy dependency loading. On the frozen 2026.9.9 candidate, startup migration then tried to repair the unpublished candidate Codex plugin from ClawHub. The isolated HOME/state behavior from #164487 worked; the remaining failure was the fixture's unrelated model selection.

Validation

  • pnpm test test/release-check.test.ts --maxWorkers=1 — 49/49 passed, 54.93s wall; new case 2ms
  • node scripts/check-changed.mjs — passed
  • AutoReview P1 — scoped clean
  • pnpm release:check — attempted; stopped during declaration generation with host ENOSPC before the packed activation smoke, so no full-smoke result is claimed

Test cost

pnpm test test/release-check.test.ts --maxWorkers=1: 54.93s wall locally. The added fixture assertion took 2ms.

@clawsweeper

clawsweeper Bot commented Oct 3, 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.

@RomneyDa
RomneyDa marked this pull request as ready for review October 3, 2026 21:36
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Oct 3, 2026
@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 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed October 3, 2026, 5:42 PM ET / 21:42 UTC.

ClawSweeper review

What this changes

The PR removes model and provider settings from release validation’s synthetic Telegram activation configuration and adds a regression assertion for that boundary.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This remains a useful, narrow fixture repair, and no introduced correctness defect was found. Current main retains the unwanted model settings; the member-authored PR also requires explicit maintainer handling.

Priority: P2
Reviewed head: b5a050f5f7a303f3ce69341d543aeca8ee8b4b4b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused producer-side repair with useful regression coverage and no concrete introduced defect; packed activation validation remains incomplete.
Proof confidence 🌊 off-meta tidepool Not applicable: The member-authored PR is exempt from the external-contributor proof gate. Its configuration-writer regression is supplemental evidence; the installed-package Doctor activation path has no reported after-fix result because ENOSPC stopped the build earlier. Only disposable test-fixture bytes change, with no existing-user data migration.
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 configuration-writer regression is supplemental evidence; the installed-package Doctor activation path has no reported after-fix result because ENOSPC stopped the build earlier. Only disposable test-fixture bytes change, with no existing-user data migration.
Evidence reviewed 8 items Pinned introduced change: The merge-base-to-head patch removes only the synthetic agents and models blocks. Telegram enablement, its plugin allowlist, and isolated state remain intact.
Current main still needs the repair: The fetched main fixture still selects an OpenAI model and supplies a synthetic provider credential. Its activation runner invokes doctor --fix --non-interactive followed by plugins doctor.
Latest release retains the fixture settings: Inspection of the supplied latest release revision found the activation configuration writer and synthetic provider credential. The requested removal is not established as shipped.
Findings None None.
Security None None.

How this fits together

Release validation installs the candidate npm package and runs Doctor against an isolated Telegram configuration. This checks bundled plugin activation without needing an agent conversation or model provider.

flowchart TD
  A[Candidate npm package] --> B[Isolated package install]
  B --> C[Telegram activation fixture]
  C --> D[Doctor repairs dependencies]
  D --> E[Plugin Doctor checks activation]
  E --> F[Release validation result]
Loading

Before merge

  • Complete next step (P2) - Complete the isolated packed activation smoke through Doctor repair and plugins doctor, and record its result before merge.
Agent review details

Security

None.

PR surface

Tests +20, Other -14. Total +6 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 20 0 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 14 -14
Total 2 20 14 +6

Review metrics

None.

Technical review

Best possible solution:

Keep the activation fixture limited to Telegram and isolated state, with model-provider validation owned by separate release scenarios.

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

Unclear for an executed reproduction: source establishes the unwanted model-runtime selection path, but the reported frozen-candidate smoke was not replayed in this read-only review.

Is this the best way to solve the issue?

Yes. Removing unrelated configuration at the fixture producer preserves the intended activation check without changing model routing or plugin repair policy.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This fixes a bounded release-validation fixture failure without changing user runtime behavior.
  • 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 member-authored PR is exempt from the external-contributor proof gate. Its configuration-writer regression is supplemental evidence; the installed-package Doctor activation path has no reported after-fix result because ENOSPC stopped the build earlier. Only disposable test-fixture bytes change, with no existing-user data migration.

Label justifications:

  • P2: This fixes a bounded release-validation fixture failure without changing user runtime behavior.
  • 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 configuration-writer regression is supplemental evidence; the installed-package Doctor activation path has no reported after-fix result because ENOSPC stopped the build earlier. Only disposable test-fixture bytes change, with no existing-user data migration.

Evidence

What I checked:

  • Pinned introduced change: The merge-base-to-head patch removes only the synthetic agents and models blocks. Telegram enablement, its plugin allowlist, and isolated state remain intact. (scripts/release-check.ts:846, b5a050f5f7a3)
  • Current main still needs the repair: The fetched main fixture still selects an OpenAI model and supplies a synthetic provider credential. Its activation runner invokes doctor --fix --non-interactive followed by plugins doctor. (scripts/release-check.ts:809, 5421a7803640)
  • Latest release retains the fixture settings: Inspection of the supplied latest release revision found the activation configuration writer and synthetic provider credential. The requested removal is not established as shipped. (scripts/release-check.ts:847, fc23bc864e45)
  • Owned runtime-discovery boundary: OpenClaw collects configured model references to discover plugin runtimes, and its configured-plugin release repair consumes those runtime IDs. Removing the unrelated references addresses the fixture producer; this patch does not depend on a Codex harness or protocol contract. (src/agents/harness-runtimes.ts:136, b5a050f5f7a3)
  • Regression coverage and reported validation: The new test reads the configuration written by the actual fixture owner, preserves Telegram activation assertions, and rejects agents/models settings. The body reports 49 passing tests in 54.93 seconds, with the added case taking 2 ms; release:check stopped at declaration generation with ENOSPC before activation ran. Tests were not executed during this read-only review. (test/release-check.test.ts:191, b5a050f5f7a3)
  • Related merged repair and routing history: fix(release): packed activation smoke reads shared state #164487 repaired ambient state leakage, while this PR addresses separate model selection inside the fixture. GitHub commit metadata identifies RomneyDa as the author of that merged repair and the earlier Telegram allowlist repair. (scripts/release-check.ts, fe6414a23399)

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)

Rank-up moves

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

  • Record a successful isolated packed activation smoke after resolving the build host’s disk-space failure.

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.

@RomneyDa
RomneyDa merged commit 243c936 into main Oct 3, 2026
158 of 159 checks passed
@RomneyDa
RomneyDa deleted the fix/release-activation-fixture branch October 3, 2026 22:41
RomneyDa added a commit that referenced this pull request Oct 3, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
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