Repository navigation
fix(release): run ClawHub prepublish fixture from isolated cwd - #120692
Merged
Merged
Conversation
Member
Author
|
@clawsweeper review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
vincentkoc
marked this pull request as ready for review
August 8, 2026 20:23
vincentkoc
force-pushed
the
fix/clawhub-fixture-lazy-deps
branch
from
August 8, 2026 20:27
82962c4 to
cf92741
Compare
Member
Author
|
@clawsweeper re-review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where plugin prerelease survivor validation could fail before serving or asserting prepublish artifacts when the fixture script ran from an isolated working directory. The script eagerly resolved optional package-building dependencies even for modes that only use Node built-ins.
Why This Change Was Made
The fixture now loads
taronly while building npm-pack artifacts and loadsjsziponly for the regular fixture server. Regression coverage launches bothprepublish-artifactsandassert-prepublish-requestsfrom an empty temporary working directory.User Impact
Release validation can run the mounted ClawHub prepublish fixture outside a package checkout without requiring fixture-only npm dependencies in that working directory.
Evidence
node --check scripts/e2e/lib/clawhub-fixture-server.cjsnode scripts/run-vitest.mjs test/scripts/clawhub-fixture-server.test.ts test/scripts/plugin-prerelease-test-plan.test.ts(16/16passed)./node_modules/.bin/oxfmt --check scripts/e2e/lib/clawhub-fixture-server.cjs test/scripts/clawhub-fixture-server.test.tsnode scripts/report-test-temp-creations.mjs --base origin/main --head HEADgit diff --check+2/-2(net0); tests:+23/-12(net+11)AI-assisted; the scoped implementation and validation were reviewed by the maintainer.