Skip to content

fix(package): restore npm package size headroom - #129782

Merged
vincentkoc merged 4 commits into
mainfrom
fix/package-external-plugin-dist
Aug 26, 2026
Merged

vincentkoc merged 4 commits into
mainfrom
fix/package-external-plugin-dist

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Related: #129758

What Problem This Solves

The release npm package exceeded its audited unpacked-size limit because the diffs plugins' syntax-highlighting chunks were compiled into the core package graph.

Why This Change Was Made

Build the diffs plugins as isolated external packages, while reusing the existing Docker plugin-selection contract when staging static assets. Docker now runs manifest-owned asset generators before runtime postbuild, preserving the producer-before-copy invariant for explicitly selected external plugins.

This keeps plugin-only chunks out of the core tarball without raising the package budget, adding a fallback, changing package exclusions, or adding a parallel build path.

User Impact

Release packaging is under the existing 213,909,504-byte unpacked-size limit. Standalone and explicitly Docker-selected diffs plugin builds both retain assets/viewer-runtime.js.

Thanks @RomneyDa for reporting the package-size regression in #129758. This implementation does not reuse that PR's budget-increase patch.

Evidence

  • Exact head: e41d949e919f5425d1d89e8450538f538477be8a.
  • Focused Vitest: 127 tests passed across the package-script and package-build tooling coverage.
  • pnpm check:changed: passed before the mechanical current-main merge; exact-head CI covers the merged head.
  • Exact-head pnpm build:package: passed; 63 external plugin local distributions built.
  • Exact-head npm candidate: 55,404,455-byte tarball; 204,812,560 unpacked bytes; 10,621 files; 9,096,944 bytes below the unchanged cap.
  • Standalone package builds: diffs viewer 5,780,421 bytes; language-pack viewer 14,006,143 bytes; both emitted dist/assets/viewer-runtime.js.
  • Exact-head Docker-selected build: OPENCLAW_INTERNAL_DOCKER_BUILD_PLUGIN_IDS=diffs,diffs-language-pack pnpm build:docker passed and retained the same two final viewer assets.
  • Exact-head CI: https://github.com/openclaw/openclaw/actions/runs/32929885803 completed with 135 successful jobs, 16 skipped, and no failures.
  • Exact-head ClawSweeper review: https://github.com/openclaw/clawsweeper/actions/runs/32929889353 found no blocking correctness issue. Its 30-second live-build timeout is non-signal; the same command completed locally and the final assets were verified.
  • Test-audit: the package-script assertion protects observable producer-before-copy ordering and fails on the pre-repair command; it adds no production seam.
  • Autoreview (gpt-5.6-sol, high): clean; no actionable findings, overall confidence 0.98.

Scope And LOC

  • Runtime production: 0 lines.
  • Build tooling/config and plugin manifests: +17 net lines.
  • Tests: +10 net lines.
  • Changelog: 0 lines.

The tooling growth threads the existing Docker selection into canonical static-asset discovery and adds one build-order contract.

This change was developed with AI assistance.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc vincentkoc self-assigned this Aug 26, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 26, 2026 02:27
@openclaw-barnacle openclaw-barnacle Bot added size: S maintainer Maintainer-authored PR labels Aug 26, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

ClawSweeper rank-up moves reviewed against exact head c99a5b1f2cd6f8a144ca6b953dea917832a23335:

  • Remove the CHANGELOG.md entry. Skipped. The operator explicitly required a concise changelog entry because this changes release-package operational behavior; that current-task instruction intentionally overrides the normal-PR recommendation.
  • Rebase and provide exact-head package and Docker-selected artifact validation once CI completes. Rebase skipped. Exact-head CI is green (85 successful, 0 failing), including openclaw/ci-gate; the PR evidence already records the successful package build, 204,604,687-byte unpacked candidate, both isolated viewer assets, and explicit Docker-selected discovery. Rebasing seven unrelated main commits now would invalidate the completed exact-head CI and Claw review without changing this repair.

No code or scope changes are required from the review.

@vincentkoc

Copy link
Copy Markdown
Member Author

/clownfish automerge

@openclaw-clownfish openclaw-clownfish Bot added clownfish:automerge Maintainer opted this Clownfish PR into bounded ClawSweeper-reviewed automerge clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge labels Aug 26, 2026
@openclaw-clownfish

Copy link
Copy Markdown
Contributor

Clownfish is on the reef for this PR. 🐠

I tagged clownfish:automerge and sent ClawSweeper over this exact head. If the sweep finds rough coral, failing checks, or needs-human, I will take another bounded repair lap and ask for a fresh review.

A maintainer can call /clownfish stop any time and I will drift this back to human review.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 12:25 AM ET / 04:25 UTC.

ClawSweeper review

What this changes

The PR removes the diffs and language-pack plugin outputs from the core build graph and generates selected Docker plugin assets before runtime postbuild stages them.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking correctness finding found. This maintainer-authored, protected PR remains necessary: it aligns the already-external diffs packages with the core build and preserves selected Docker assets; exact-head checks are still incomplete.

Priority: P1
Reviewed head: e41d949e919f5425d1d89e8450538f538477be8a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The source path and focused coverage are coherent, with meaningful reported artifact proof; exact-head checks remain the material confidence reducer.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This MEMBER-authored PR is exempt from the external-contributor proof gate; its body records package and Docker artifact results, but the read-only review did not rerun them.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored PR is exempt from the external-contributor proof gate; its body records package and Docker artifact results, but the read-only review did not rerun them.
Evidence reviewed 5 items External package contract: Both plugins now declare isolated distributions while retaining their package-owned asset generators; the official catalog already advertises both as separately installable npm/ClawHub plugins.
Selected-Docker asset path: Static asset discovery skips external packages in normal core builds but includes an explicitly Docker-selected package, so the same selection contract controls staging.
Producer-before-copy ordering: The Docker script generates plugin assets before runtime postbuild, whose static-asset phase copies them into dist and the runtime overlay.
Findings None None.
Security None None.

Live Verification

Command: OPENCLAW_INTERNAL_DOCKER_BUILD_PLUGIN_IDS=diffs,diffs-language-pack pnpm build:docker

Result: FAIL (failed) — step 1 run OPENCLAW_INTERNAL_DOCKER_BUILD_PLUGIN_IDS=diffs,diffs-language-pack pnpm build:docker: previous terminal command was still running after 30 seconds: "OPENCLAW_INTERNAL_DOCKER_BUILD_PLUGIN_IDS=diffs,diffs-language-pack pnpm build:docker"

$ pnpm plugins:assets:build && node --import tsx scripts/tsdown-build.mts && node --import tsx scripts/check-cli-bootstrap-imports.mts && node scripts/runtime-p
ostbuild.mjs && node --import tsx scripts/build-stamp.mts && node --import tsx scripts/runtime-postbuild-stamp.mts && pnpm plugins:assets:copy && node --import
tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts
$ node --import tsx scripts/bundled-plugin-assets.mts --phase build
[canvas] build: node scripts/bundle-a2ui.mjs
[log] ‹DIR›/a2ui.bundle.js  chunk │ size: 399.96 kB
[log] ‹DIR›/a2ui-v0.9.bundle.js  chunk │ size: 615.66 kB
[log]
[success] rolldown v1.2.0 Finished in 85.49 ms
[diffs] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated
[diffs-language-pack] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts full
[discord] build: node --import tsx ../../scripts/build-discord-activity-sdk.mts
[tsdown-build] invocation 1/11 finished in 3.7s
[tsdown-build] invocation 2/11 finished in 17.4s

Assertions:

  • FAIL expect_output: runtime-postbuild:

How this fits together

Package assembly determines which plugin code enters the core npm artifact, while Docker selection builds and stages only explicitly selected plugin assets into its runtime image. The changed manifest and asset-discovery path control both the size budget and availability of the diff viewer runtime.

flowchart LR
A[Plugin manifests] --> B[Core package build]
A --> C[Docker plugin selection]
C --> D[Generate plugin assets]
D --> E[Runtime postbuild]
E --> F[Docker runtime image]
B --> G[npm package artifact]
Loading

Before merge

  • Resolve merge risk (P1) - This changes the package/Docker compatibility boundary: the two viewer plugins leave the core graph, while Docker-selected builds must still stage their assets. The supplied exact-head checks are not yet complete, and this read-only partial clone could not rerun the package or Docker build.
  • Complete next step (P2) - No repair job is warranted: no discrete defect remains, and this protected maintainer PR awaits normal exact-head validation.
Agent review details

Security

None.

PR surface

Tests +10, Config +2, Other +15. Total +27 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 50 40 +10
Docs 0 0 0 0
Config 3 3 1 +2
Generated 0 0 0 0
Other 3 20 5 +15
Total 10 73 46 +27

Review metrics

Metric Value Why it matters
Production versus test delta production/tooling +23/-6 (net +17); tests +50/-40 (net +10) The production growth is confined to one shared selection/discovery path; the test delta covers its package and Docker boundary.
Distribution boundary 2 plugin manifests changed to bundledDist: false Both official diffs packages are now excluded from the core build graph while retaining their independent package contract.

Stored data model

Persistent data-model change detected: vector/embedding metadata: package.json. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Finish exact-head artifact validation (recommended)
    Wait for the current head's required checks, then confirm the capped npm artifact and Docker-selected diffs assets before merging.

Technical review

Best possible solution:

Keep the existing package-size cap, use the manifest-owned external distributions, and merge only after the exact head proves both the capped npm artifact and selected-Docker viewer assets.

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

Yes in source: external packages are omitted from the normal core build, and the prior Docker sequence could run postbuild before their generated assets existed. This review did not execute the build because the checkout is read-only and its partial-clone history cannot hydrate without network access.

Is this the best way to solve the issue?

Yes: the existing official package catalog and root package exclusions already establish these as external packages, so removing their core build entries is more maintainable than increasing the size budget; Docker reuses its existing selected-plugin contract.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P1: The PR addresses a release-package regression that blocks the audited package-size path.
  • merge-risk: 🚨 compatibility: Changing two plugins from core-built to external distributions can affect package and Docker-selected artifact availability.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • status: 🚀 automerge armed: This PR is in ClawSweeper's automerge lane. Not applicable: This MEMBER-authored PR is exempt from the external-contributor proof gate; its body records package and Docker artifact results, but the read-only review did not rerun them.

Evidence

What I checked:

  • External package contract: Both plugins now declare isolated distributions while retaining their package-owned asset generators; the official catalog already advertises both as separately installable npm/ClawHub plugins. (extensions/diffs/package.json:37, e41d949e919f)
  • Selected-Docker asset path: Static asset discovery skips external packages in normal core builds but includes an explicitly Docker-selected package, so the same selection contract controls staging. (scripts/lib/static-extension-assets.mts:169, e41d949e919f)
  • Producer-before-copy ordering: The Docker script generates plugin assets before runtime postbuild, whose static-asset phase copies them into dist and the runtime overlay. (package.json:1520, e41d949e919f)
  • Focused regression coverage: Tests cover normal versus isolated versus Docker-selected external asset discovery, the package-script ordering, and the external local-dist set. (test/scripts/runtime-postbuild.test.ts:180, e41d949e919f)
  • History/provenance limitation: The local partial clone attributes the changed static-asset lines to the current head boundary but cannot hydrate its parent because network DNS is unavailable; current-main history could not be independently compared. (scripts/lib/static-extension-assets.mts:169, e41d949e919f)

Likely related people:

  • RomneyDa: Authored the related package-budget proposal and the producer-before-copy repair commit included in this PR's reviewed history. (role: package/release area contributor; confidence: medium; commits: 3a6de2556ef8; files: scripts/lib/static-extension-assets.mts, package.json)

Rank-up moves

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

  • Let the current-head checks finish and preserve the reported capped package and selected-Docker artifact outputs in the PR evidence.

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 (3 earlier review cycles)
  • reviewed 2026-08-26T02:34:02.370Z sha c99a5b1f2cd6f8a144ca6b953dea917832a23335 :: found issues before merge. :: [P2] Remove the release-owned changelog entry
  • reviewed 2026-08-26T03:14:06.807Z sha 6327889aa1cedc2b3196a0ca3eb27ce50bcca74d :: needs changes before merge. :: [P1] Build diffs viewer assets before Docker postbuild
  • reviewed 2026-08-26T04:01:05.292Z sha 3a6de25 :: needs maintainer review before merge. :: none

@openclaw-clownfish

Copy link
Copy Markdown
Contributor

Thanks, ClawSweeper. Clownfish picked up the reef notes and is starting a guarded repair pass. 🐠

Source: clawsweeper[bot]
Feedback: structured ClawSweeper marker: fix-required (finding=review-feedback sha=c99a5b1f2cd6f8a144ca6b953dea917832a23335)
Action: dispatched cluster-worker.yml for jobs/openclaw/inbox/automerge-openclaw-openclaw-129782.md in autonomous mode.
Model: gpt-5.5

I will update this PR branch when I can. If GitHub branch permissions block that swim lane, I will open a safe credited replacement instead and keep it narrow.

@vincentkoc

Copy link
Copy Markdown
Member Author

/clownfish stop

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane. labels Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper automerge is enabled.

  • Head: e41d949e919f
  • Label: clawsweeper:automerge
  • Action: exact-head review queued (workflow sweep.yml, event repository_dispatch).
  • Flow: review this head, repair/rebase only if needed, then re-review the exact repaired head before merge.

Draft PRs stay fix-only until GitHub marks them ready for review. Pause with /clawsweeper stop.

Automerge progress:

  • 2026-08-26 03:28:26 UTC review requested repair 6327889aa1ce (structured ClawSweeper marker: fix-required (finding=review-feedback sha=632788...)
  • 2026-08-26 04:40:01 UTC review queued e41d949e919f (queued)

Re-review progress:

@openclaw-clownfish openclaw-clownfish Bot added the clownfish Tracked by Clownfish automation label Aug 26, 2026
@openclaw-clownfish

Copy link
Copy Markdown
Contributor

Got it. Clownfish is floating this back to human review. 🐠

I kept the regular clownfish label on it and paused the automation current until a maintainer calls me back in.

@openclaw-clownfish

Copy link
Copy Markdown
Contributor

Thanks, ClawSweeper. Clownfish picked up the reef notes and is starting a guarded repair pass. 🐠

Source: clawsweeper[bot]
Feedback: structured ClawSweeper marker: fix-required (finding=review-feedback sha=6327889aa1cedc2b3196a0ca3eb27ce50bcca74d)
Action: dispatched cluster-worker.yml for jobs/openclaw/outbox/finalized/automerge-openclaw-openclaw-129782.md in autonomous mode.
Model: gpt-5.5

I will update this PR branch when I can. If GitHub branch permissions block that swim lane, I will open a safe credited replacement instead and keep it narrow.

@vincentkoc

Copy link
Copy Markdown
Member Author

Clownfish 🐠 reef automerge status

No new branch changes from this lap. Clownfish kept the current tidy instead of splashing around.

Target: #129782
Executor outcome: no planned fix actions.
Worker summary: Blocked the repair mutation path for #129782 because hydrated live state contains an explicit maintainer /clownfish stop after the automerge opt-in, followed by a later bot repair dispatch. Non-mutating classifications are still clear.

Worker actions:

  • needs_human on #129782: blocked - maintainer_stop_race_blocks_automated_repair_or_replacement
  • keep_related on #129758: planned - related_alternative_budget_pr_not_part_of_stopped_repair_mutation
  • keep_closed on #129761: skipped - already_closed_context_ref

Nothing moved downstream from this pass: no branch update, replacement PR, merge, or re-review.

fish notes: model gpt-5.5, reasoning medium.

@RomneyDa
RomneyDa force-pushed the fix/package-external-plugin-dist branch from 6327889 to 34c98fa Compare August 26, 2026 03:36
@RomneyDa

Copy link
Copy Markdown
Member

@clawsweeper re-review

Behavior changed on exact head 34c98fa29d5: Docker now generates manifest-owned plugin assets before runtime postbuild. Clean-clone package validation remains under the unchanged cap, and both standalone plus Docker-selected diffs viewer artifacts are present. Please re-review the repaired producer-before-copy ordering and updated evidence.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the fix/package-external-plugin-dist branch from 34c98fa to 3a6de25 Compare August 26, 2026 03:56
@RomneyDa

Copy link
Copy Markdown
Member

Exact-head proof refreshed after the maintainer rebase to 3a6de2556ef8:

  • pnpm build:package and node --import tsx scripts/release-check.ts passed.
  • npm candidate: 205,887,029 unpacked bytes, 8,022,475 below the unchanged cap.
  • Docker-selected build passed with both final viewer assets (5,780,421 and 14,006,143 bytes).
  • Standalone runtime checks built both publishable plugins with dist/assets/viewer-runtime.js.

The branch repair is unchanged; the rebase also includes main’s merged UI gzip-baseline refresh.

@openclaw-clownfish

Copy link
Copy Markdown
Contributor

Thanks, ClawSweeper. Clownfish is swimming another guarded repair lap for this PR. 🐠

Source: clawsweeper[bot]
Feedback: structured ClawSweeper verdict: needs-human (sha=3a6de2556ef8bd9cbe4dc92a7f28143d1eb2341d)
Action: dispatched cluster-worker.yml for jobs/openclaw/outbox/finalized/automerge-openclaw-openclaw-129782.md in autonomous mode.
Model: gpt-5.5

I will update this PR branch when I can. If GitHub branch permissions block that swim lane, I will open a safe credited replacement instead and keep it narrow.

* origin/main: (24 commits)
  fix(gateway): reject rootless session permission modes (#128149)
  docs(memory): document shipped turn-taint propagation for network tool output (#129837)
  fix(ui): pool reply-less wake activity into one chat rollup (#128442)
  fix(package): prevent installs from deleting validated runtime assets (#129724)
  fix(nodes): approve silent initial node surfaces and name the pending surface approval (#129795)
  fix(backup): preserve configured agent state roots (#129773)
  fix(ui): own chat history issuance with a closed state machine (#129776)
  fix(cron): preserve cancellation reason after late finalization (#129331)
  fix(cron): prevent run waits from failing after clock changes (#129805)
  fix(telegram): route commentary through one frozen progress owner (#128259)
  fix(release): start approved VCR mirror recovery jobs (#129829)
  test: complete current-plugin-metadata-snapshot mock factories (#129791)
  test(telegram): remove duplicate reaction case (#129848)
  fix(channels): honor supported account reply-threading policies (#129679)
  refactor(cli): deduplicate lazy subcommand registration (#129351)
  fix(ai): report interrupted local-model streams instead of empty success (#129794)
  refactor(cli): consolidate Gateway fallback and hook ownership (#129802)
  fix(qa): reject token confidence lanes without executed evidence (#129830)
  fix(tui): fence session state and delayed actions (#129810)
  fix(control-ui): keep task progress full width on hover (#129832)
  ...
@vincentkoc

Copy link
Copy Markdown
Member Author

Clownfish 🐠 reef automerge status

Clownfish finished this automerge repair swim without changing the branch.

Target: #129782
Executor outcome: no planned fix actions.
Worker summary: #129782 is the canonical PR for the package-size repair, but this autonomous worker should not mutate or replace it. Hydrated state shows an explicit maintainer /clownfish stop after the automerge opt-in, a later ClawSweeper needs-human review asking for an explicit decision to rearm automation, a current PR head that differs from the reviewed head, and pending exact-head checks. #129758 remains a related alternative budget-cap PR, not the canonical repair path. #129761 is already closed historical context.

Worker actions:

  • needs_human on #129782: blocked - maintainer_stop_and_exact_head_review_gap_blocks_automated_repair_or_replacement
  • keep_related on #129758: planned - related_alternative_budget_policy_pr_not_part_of_stopped_automerge_repair
  • keep_closed on #129761: skipped - already_closed_context_ref

No branch push, rebase, replacement PR, merge, or ClawSweeper re-review was started on this lap.

fish notes: model gpt-5.5, reasoning medium.

@RomneyDa

Copy link
Copy Markdown
Member

Exact-head refresh proof for e41d949e919f5425d1d89e8450538f538477be8a after the current-main merge:

  • Provenance: maintainer merge of ceb074ef46a into the previously reviewed 3a6de2556ef; no combined/conflict-resolution diff and no rewrite of the PR repair.
  • pnpm install --frozen-lockfile + pnpm build:package: PASS, including the newly merged postinstall/package inventory contract and 63 external plugin local distributions.
  • node --import tsx scripts/release-check.ts: PASS (npm pack contents and bundled channel entrypoints look OK).
  • npm pack --json --dry-run --ignore-scripts: 56,231,437-byte tarball; 206,352,909 bytes unpacked, leaving 7,556,595 bytes below the unchanged 213,909,504-byte cap.
  • OPENCLAW_INTERNAL_DOCKER_BUILD_PLUGIN_IDS=diffs,diffs-language-pack pnpm build:docker: PASS; staged diffs viewer 5,780,421 bytes and diffs-language-pack viewer 14,006,143 bytes.
  • Standalone runtime build check for both packages: PASS; both contain dist/assets/viewer-runtime.js.

No PR behavior changed in the refresh; the rerun was warranted because merged main #129724 strengthened the adjacent package inventory owner.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper automerge

@vincentkoc
vincentkoc merged commit 2b06180 into main Aug 26, 2026
192 checks passed
@vincentkoc
vincentkoc deleted the fix/package-external-plugin-dist branch August 26, 2026 04:40
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* fix(package): externalize diffs build outputs

* chore: remove release-owned changelog entry

* fix(build): generate selected plugin assets before Docker staging

---------

Co-authored-by: Dallin Romney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge clownfish:automerge Maintainer opted this Clownfish PR into bounded ClawSweeper-reviewed automerge clownfish Tracked by Clownfish automation extensions: diffs maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants