Skip to content

fix(ci): restore current main checks - #150491

Merged
steipete merged 3 commits into
mainfrom
codex/fix-pr-wrapper-discovery-closure
Sep 17, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/fix-pr-wrapper-discovery-closure

Conversation

@steipete

@steipete steipete commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Current main has four independent check failures caused by ownership drift:

  • the native PR wrapper's committed source closure omits three newly imported runtime modules;
  • worktree-preparation fixtures omit the bundled-plugin source utility newly imported by the static-asset owner;
  • Slack passes an unbound progress method to the reply dispatcher, which type-aware lint rejects;
  • four plugin bundle-preview messages enter the eager English catalog even though their consumer is lazy, putting startup JavaScript 118 gzip bytes over budget.

These failures block otherwise unrelated pull requests before their intended assertions run.

What Changed

  • Add validation-plugin-registry.ts, discovery-availability.ts, and runtime-degraded-state.ts to the native PR wrapper source inventory.
  • Add bundled-plugin-source-utils.mts to the worktree-preparation cold input closure.
  • Wrap the Slack approval callback so it preserves the progress-draft receiver.
  • Move the four bundle-preview messages to the existing lazy plugin-management English catalog and register it from the skill-preview consumer.

No budget, baseline, dependency, configuration, public contract, translation, or user-visible behavior changes.

Validation

  • Node 24.19 native PR tooling family: 3 files, 225 passed, 2 platform skips
  • Node 24.19 worktree preparation: 37 passed
  • Slack preview dispatch: 208 passed
  • UI cold-load and plugin-preview regressions: 6 passed
  • Canonical fixed-input startup gzip: 362,706 bytes before, 362,561 after, unchanged 362,588-byte limit
  • Complete composed English catalog remains byte-identical
  • Full pnpm check:changed, including type-aware extension lint, UI i18n verification, types, and dead-code scans
  • Fresh whole-branch P0-P2 autoreview: no actionable findings

@clawsweeper

clawsweeper Bot commented Sep 17, 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 17, 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 Sep 17, 2026
@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 10:31 PM ET / September 17, 2026, 02:31 UTC (Revision 3).

ClawSweeper review

What this changes

The branch completes isolated tooling dependency inventories, preserves Slack’s approval-progress callback receiver, and defers plugin-preview English messages until their consumer loads.

Merge readiness

✅ Ready for maintainer review

No actionable introduced defect found. Main already contains the wrapper and Slack repairs, but the fixture and lazy-catalog changes remain useful. An overlapping alternative is still open, and this maintainer-protected PR is not eligible for cleanup closure.

Priority: P2
Reviewed head: c0e686ba46cf8a6b7f0d4c0f15347d555596851c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair using existing owners, with relevant reported validation and no actionable introduced finding.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies maintainer authorship, so external-contributor proof is not required. Reported checks exercise the inventories, Slack dispatch, and lazy catalog; this internal loading change preserves visible copy and does not trigger authority-chain proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies maintainer authorship, so external-contributor proof is not required. Reported checks exercise the inventories, Slack dispatch, and lazy catalog; this internal loading change preserves visible copy and does not trigger authority-chain proof.
Evidence reviewed 8 items Introduced changes and review continuity: The host pins the complete introduced delta to 642c090..c0e686b. The previous completed review had no findings; changes since its head are confined to the UI catalog extraction and regression test. The supplied test merge has stale parents and was not used to infer removals.
Main covers only part of the repair: Pinned GitHub contents confirm that main has the Slack callback wrapper and required wrapper dependencies, but still omits bundled-plugin-source-utils.mts from the cold fixture and retains bundle-preview strings in eager English. Local comparison encountered an unavailable blob with HTTP 403; these source checks were recovered through GitHub REST. The wrapper repair is merged at #150451; no local containing release tag was returned.
Merged wrapper provenance: GitHub confirms the related wrapper repair merged on 2026-09-17T02:28:20Z at the fetched main SHA.
Findings None None.
Security None None.

How this fits together

Isolated tooling checks copy selected source dependencies before running. Separately, the Control UI loads preview translations on demand, while Slack forwards approval events to its progress display.

flowchart TD
  A[Source dependencies] --> B[Tooling inventories]
  B --> C[Isolated checks]
  D[Open skill preview] --> E[Lazy English catalog]
  E --> F[Translated preview messages]
  G[Approval events] --> H[Slack progress callback]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +7, Tests +47, Other +3. Total +57 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 4 17 10 +7
Tests 2 47 0 +47
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 3 0 +3
Total 7 67 10 +57

Review metrics

Metric Value Why it matters
Reported startup budget 145 gzip bytes saved; 27 bytes below the unchanged limit The captured fixed-input measurement restores budget compliance through deferred loading rather than a relaxed threshold.

Technical review

Best possible solution:

Keep dependency inventories complete and preview-only English lazy, converging the overlapping PRs on one catalog owner without changing budgets or displayed text.

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

Yes for the missing cold-fixture dependency: the copied static-asset owner imports a file absent from main’s fixture inventory. The precise startup-size failure is supported by the reported measurement, not a reviewer-run build.

Is this the best way to solve the issue?

Yes. The patch repairs the existing inventories and lazy registrar without introducing a competing runtime owner; the overlapping open PR offers a broader extraction of the same preview copy.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded repair to tooling checks and UI startup loading, with no demonstrated urgent user-facing outage.
  • 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 supplied repository state identifies maintainer authorship, so external-contributor proof is not required. Reported checks exercise the inventories, Slack dispatch, and lazy catalog; this internal loading change preserves visible copy and does not trigger authority-chain proof.

Evidence

What I checked:

  • Introduced changes and review continuity: The host pins the complete introduced delta to 642c090..c0e686b. The previous completed review had no findings; changes since its head are confined to the UI catalog extraction and regression test. The supplied test merge has stale parents and was not used to infer removals. (c0e686ba46cf)
  • Main covers only part of the repair: Pinned GitHub contents confirm that main has the Slack callback wrapper and required wrapper dependencies, but still omits bundled-plugin-source-utils.mts from the cold fixture and retains bundle-preview strings in eager English. Local comparison encountered an unavailable blob with HTTP 403; these source checks were recovered through GitHub REST. The wrapper repair is merged at fix(pr): include split plugin wrapper dependencies #150451; no local containing release tag was returned. (test/scripts/worktree-setup.test.ts:18, 19c117d3fc1d)
  • Merged wrapper provenance: GitHub confirms the related wrapper repair merged on 2026-09-17T02:28:20Z at the fetched main SHA. (scripts/pr-lib/wrapper-components.txt, 19c117d3fc1d)
  • Lazy catalog ownership: The preview registers English synchronously before rendering. Registration updates only the bundle subtree; the translation manager preserves active-language values and consults shared English for missing keys. Host composition already includes the registrar catalog, and the empty eager anchor preserves ordering. (ui/src/pages/plugins/skill-preview.ts:17, c0e686ba46cf)
  • Cold fixture repair: The fixture copies real script owners into an isolated checkout. Its static-asset owner imports bundled-plugin-source-utils.mts, so adding that input restores the import closure without weakening execution or output assertions. (scripts/lib/static-extension-assets.mts:5, c0e686ba46cf)
  • Overlapping open implementation: fix(ui): keep file preview copy out of the startup bundle #150424 remains open and unmerged. Its body describes moving the complete file-preview namespace to its lazy component and adding the same cold-fixture dependency. This establishes overlap, not a merged replacement for this PR.

Likely related people:

  • Patrick Erichsen: Raw commit a11a431 adds ui/src/pages/plugins/skill-preview.ts:108 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a11a431e380f; files: ui/src/pages/plugins/skill-preview.ts)
  • RomneyDa: 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 (2 earlier review cycles)
  • reviewed 2026-09-17T01:58:33.621Z sha f631b97 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T02:17:04.179Z sha 5cdec2d :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot added the channel: slack Channel integration: slack label Sep 17, 2026
@steipete steipete changed the title fix(pr): complete wrapper dependency closure fix(ci): restore isolated check ownership Sep 17, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S and removed size: XS labels Sep 17, 2026
@steipete steipete changed the title fix(ci): restore isolated check ownership fix(ci): restore current main checks Sep 17, 2026
@steipete
steipete merged commit 90b421a into main Sep 17, 2026
190 checks passed
@steipete
steipete deleted the codex/fix-pr-wrapper-discovery-closure branch September 17, 2026 02:40
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

fuller-stack-dev added a commit to 849261680/openclaw that referenced this pull request Sep 17, 2026
Replace the temporary file-preview extraction with the current-main implementation from openclaw#150491 before merging main. Preserve the channel alias repair and existing contributor ancestry.

Co-authored-by: Peter Steinberger <[email protected]>
fuller-stack-dev added a commit to superdiaodiao/openclaw that referenced this pull request Sep 17, 2026
Resolve the file-preview locale conflict by retaining the exact landed
openclaw#150491 UI implementation and removing the earlier consumed alternative.
Slack, native manifest, and cold fixture now match canonical main.

The seven ACP source/test files and pinned SDK inputs remain unchanged.
The UI loading regression and canonical fixed-input performance comparison
pass (362561B <= 362588B); scoped P0-P2 review has no findings.
fuller-stack-dev added a commit that referenced this pull request Sep 17, 2026
* fix(plugin-runtime): restore channel turn alias

* test(plugin-sdk): type channel turn alias override

* fix(plugin-sdk): preserve legacy turn mock overrides

* test(plugin-sdk): refresh channel turn alias gates

* Align legacy channel compatibility paths for current-main repair

Preserve the original contributor ancestry while resolving stale paths before the current-source alias repair. Intermediate branch preparation; not acceptance evidence.

* fix: preserve complete legacy channel runtime alias

Restore the complete five-member alias, including exact runtime-bound dispatch and scoped context construction. Preserve lazy loading, generic signatures and canonical override precedence. Keep deprecated compatibility metadata and current documentation aligned.

Closes #91122

Co-authored-by: Yzx <[email protected]>

* fix(ci): integrate canonical channel alias prerequisites

Consume the reviewed file-preview lazy-English extraction from #150424,
the cold worktree input closure, and the Qwen initial-deadline fixture
from #150026. Native manifest closure is now also present on main via
#150453. Keep the original channel alias implementation and accepted
built-runtime proof unchanged.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical UI startup repair

Replace the temporary file-preview extraction with the current-main implementation from #150491 before merging main. Preserve the channel alias repair and existing contributor ancestry.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical Qwen fixture

Use the current-main Qwen fixture from #150523 and #82290 unchanged. Remove the final temporary prerequisite delta while preserving the eleven-file alias repair and original contributor history.

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Yzx <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* fix(pr): complete wrapper dependency closure

* fix(ci): restore isolated check ownership

* fix(ui): defer plugin bundle preview messages from startup
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* fix(plugin-runtime): restore channel turn alias

* test(plugin-sdk): type channel turn alias override

* fix(plugin-sdk): preserve legacy turn mock overrides

* test(plugin-sdk): refresh channel turn alias gates

* Align legacy channel compatibility paths for current-main repair

Preserve the original contributor ancestry while resolving stale paths before the current-source alias repair. Intermediate branch preparation; not acceptance evidence.

* fix: preserve complete legacy channel runtime alias

Restore the complete five-member alias, including exact runtime-bound dispatch and scoped context construction. Preserve lazy loading, generic signatures and canonical override precedence. Keep deprecated compatibility metadata and current documentation aligned.

Closes openclaw#91122

Co-authored-by: Yzx <[email protected]>

* fix(ci): integrate canonical channel alias prerequisites

Consume the reviewed file-preview lazy-English extraction from openclaw#150424,
the cold worktree input closure, and the Qwen initial-deadline fixture
from openclaw#150026. Native manifest closure is now also present on main via
openclaw#150453. Keep the original channel alias implementation and accepted
built-runtime proof unchanged.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical UI startup repair

Replace the temporary file-preview extraction with the current-main implementation from openclaw#150491 before merging main. Preserve the channel alias repair and existing contributor ancestry.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical Qwen fixture

Use the current-main Qwen fixture from openclaw#150523 and openclaw#82290 unchanged. Remove the final temporary prerequisite delta while preserving the eleven-file alias repair and original contributor history.

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Yzx <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui channel: slack Channel integration: slack maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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