Skip to content

fix(release): isolate bundled plugin activation smoke - #164446

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-check-telegram-allowlist
Oct 3, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-check-telegram-allowlist

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 3, 2026

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: Full Release Validation rejects packed npm artifacts when the Telegram activation smoke allows Doctor to inspect unrelated plugin migrations.

User Impact

User impact: no product behavior changes; release qualification now checks only the bundled Telegram plugin selected by this smoke.

Why This Change Was Made

The packed activation fixture enables Telegram, but previously left plugin discovery unrestricted. An independently installed Codex plugin could therefore contribute unfinished migration state and fail plugins doctor. Explicitly allowlisting Telegram keeps this release check aligned with its intended subject.

Evidence

  • node scripts/check-changed.mjs -- scripts/release-check.ts — passed.
  • Direct fixture assertion verified plugins.allow is exactly ["telegram"].
  • Autoreview: scoped clean, no actionable findings.
  • Original FRV failure: run 37141830899, Verify final npm package bytes and lifecycle.

@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 added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 3, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review October 3, 2026 18:20
@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 maintainer review before merge. Reviewed October 3, 2026, 2:25 PM ET / 18:25 UTC.

ClawSweeper review

What this changes

The PR restricts the packed-package activation smoke to the Telegram plugin so unrelated plugin state cannot contaminate its qualification result.

Merge readiness

✅ Ready for maintainer review

Keep open: this is a focused release-fixture repair that remains absent from inspected main and the latest release. No introduced correctness defect was found, and the member-authored PR is protected from automatic closure.

Priority: P2
Reviewed head: b61c1b20db25033d08a47363d8ed2c5c9a387bd9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable fixture correction with no identified blocking defect; runtime recovery was not independently observed.
Proof confidence 🌊 off-meta tidepool Not applicable: The member-authored PR is exempt from the external-contributor proof gate. The supplied fixture assertion does not demonstrate the installed-package Doctor path after the fix; the linked run demonstrates only the earlier qualification failure. 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. The supplied fixture assertion does not demonstrate the installed-package Doctor path after the fix; the linked run demonstrates only the earlier qualification failure. No stored-data contract changes.
Evidence reviewed 8 items Pinned introduced change: The merge-base-to-head patch adds only the existing plugins.allow setting to the temporary activation fixture. Telegram remains explicitly enabled, and both Doctor invocations remain intact.
Current main still needs the repair: The inspected main fixture enables Telegram without a plugin allowlist. The activation smoke uses a temporary home and sanitized environment; broader bundled-channel entry checks remain separate.
Latest-release comparison: The v2026.9.8 source also lacks an allowlist in this fixture. GitHub's contents API supplied the release source after local historical-blob hydration failed with HTTP 403.
Findings None None.
Security None None.

How this fits together

Release qualification installs the packed OpenClaw package and runs Doctor against a temporary Telegram-enabled configuration. Its result helps determine whether the npm artifact is ready for publication.

flowchart TD
  A[Packed npm artifact] --> B[Temporary installation]
  B --> C[Telegram smoke configuration]
  C --> D[Plugin allowlist]
  D --> E[Doctor repair and inspection]
  E --> F[Package qualification result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Other +1. Total +1 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 0 +1
Total 1 1 0 +1

Review metrics

None.

Technical review

Best possible solution:

Keep the Telegram activation fixture explicitly scoped through the existing plugin policy while retaining the separate broader package checks.

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

No high-confidence executed reproduction was established. Source supports the unrestricted-plugin selection mechanism and GitHub confirms the qualification step failed, but the detailed failure log was inaccessible.

Is this the best way to solve the issue?

Yes: configuring the existing allowlist at the fixture producer is a narrow repair that preserves the Doctor implementation and broader package coverage.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This repairs a bounded release-qualification 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. The supplied fixture assertion does not demonstrate the installed-package Doctor path after the fix; the linked run demonstrates only the earlier qualification failure. No stored-data contract changes.

Label justifications:

  • P2: This repairs a bounded release-qualification 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. The supplied fixture assertion does not demonstrate the installed-package Doctor path after the fix; the linked run demonstrates only the earlier qualification failure. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced change: The merge-base-to-head patch adds only the existing plugins.allow setting to the temporary activation fixture. Telegram remains explicitly enabled, and both Doctor invocations remain intact. (scripts/release-check.ts:867, b61c1b20db25)
  • Current main still needs the repair: The inspected main fixture enables Telegram without a plugin allowlist. The activation smoke uses a temporary home and sanitized environment; broader bundled-channel entry checks remain separate. (scripts/release-check.ts:864, f79dac86bd4a)
  • Latest-release comparison: The v2026.9.8 source also lacks an allowlist in this fixture. GitHub's contents API supplied the release source after local historical-blob hydration failed with HTTP 403. (scripts/release-check.ts:873, fc23bc864e45)
  • Existing Doctor selection contract: Doctor's state-migration selection requires non-bundled owners to pass effective activation. Existing coverage explicitly excludes a global plugin omitted from a restrictive allowlist. This supports using the existing policy in the fixture without changing migration behavior. (src/plugins/doctor-contract-registry.ts:545, b61c1b20db25)
  • Actual merge composition: The raw test-merge parents are the pinned base followed by the exact PR head. Comparing that merge result against its base preserves the same one-line fixture change; endpoint drift does not belong to this PR. (scripts/release-check.ts:867, 79a5fd7fe244)
  • Reported release failure: The linked run https://github.com/openclaw/openclaw/actions/runs/37141830899 failed in Verify final npm package bytes and lifecycle. Job metadata was inspected; the log download redirected to a blocked storage host, so the exact Codex migration failure was not independently verified. The PR body's fixture assertion and scoped-check claims are supplemental evidence, not an observed after-fix activation run. (ee9127b79e98)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • 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.

@RomneyDa
RomneyDa enabled auto-merge (squash) October 3, 2026 18:27
@RomneyDa
RomneyDa merged commit 8e138c5 into main Oct 3, 2026
156 of 158 checks passed
@RomneyDa
RomneyDa deleted the fix/release-check-telegram-allowlist branch October 3, 2026 18:28
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. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) 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