Skip to content

Commit efbf78a

Browse files
committed
fix(build): preserve runtime roots in declaration fixtures
Integrate main and copy both runtime build-entry modules into the isolated declaration graph. The core entry module must resolve its import.meta.url-owned inputs inside that graph; keep the existing path-escape guard intact.
2 parents 5dfb87f + 2bd12c7 commit efbf78a

267 files changed

Lines changed: 10130 additions & 3765 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/release-openclaw-ci/SKILL.md‎

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,16 @@ until their dependent enforcement changes land.
155155
- `postpublish-confidence`: published package inputs with
156156
`run_release_soak=true` or explicit focused groups
157157
- `stable-publish`: `release_profile=stable`
158+
- An `all` run without soak for an actual beta package on its matching canonical
159+
release branch or beta tag records `coveragePolicy=npm-beta-v1`. It keeps
160+
Linux/macOS/Windows Node, Control UI, plugin, package, install/update,
161+
cross-OS, QA parity, runtime-pair/restart, and tool-coverage gates. Native app
162+
CI, performance, and published-package Telegram are deferred to confidence.
163+
Beta `all` without soak also defers Package Acceptance Telegram, including
164+
beta-profile checks of `main` or alpha. Record deferred checks as not run,
165+
never passed. Stable/full, soak, and focused groups retain their coverage;
166+
selected children still require terminal evidence. An absent coverage policy
167+
retains historical full behavior.
158168
- Keep at most one active parent for the same Validation SHA + Tooling SHA + rerun
159169
group + release profile + effective soak coverage. Stable/full always include
160170
soak. Distinct coverage profiles can run independently; concurrency does not
@@ -231,12 +241,12 @@ non-billable credentials fail before the expensive release matrix.
231241

232242
## Dispatch
233243

234-
Start product performance evidence as early as the Code SHA exists, in
235-
parallel with other release work:
244+
An early standalone product-performance run is optional beta confidence. If
245+
useful, start it against the frozen Code SHA in parallel with release work:
236246

237247
```bash
238-
# Full Release Validation profile gate: true for stable, false for beta.
239-
fail_on_regression=true
248+
# Optional early beta confidence; stable/full use the required parent child.
249+
fail_on_regression=false
240250
gh workflow run openclaw-performance.yml \
241251
--repo openclaw/openclaw \
242252
--ref main \
@@ -248,15 +258,16 @@ gh workflow run openclaw-performance.yml \
248258
-f fail_on_regression="$fail_on_regression"
249259
```
250260

251-
- Do not wait for full release validation to start this early perf signal.
261+
- Do not add a separate mandatory prepublish wait for this optional beta signal.
252262
- Compare available Kova, gateway startup, and CLI startup metrics with earlier
253263
release evidence or clawgrit reports before publish/closeout.
254264
- Call out any regression in the release proof. Treat a major regression as a
255265
release blocker until it is fixed, waived by the operator, or proven to be
256266
infrastructure noise.
257-
- Full Release Validation records blocking product-performance evidence. The
258-
early standalone run is for overlap and faster regression discovery, but a
259-
regression or missing child run blocks the parent validation.
267+
- Full Release Validation requires blocking performance evidence for stable
268+
and full profiles. `npm-beta-v1` defers the child; explicit `performance`
269+
and soak-enabled beta runs retain advisory performance coverage. Every
270+
selected performance child must finish and prove artifact-only publication.
260271

261272
Prefer an immutable trusted-main workflow revision, target the exact Code SHA:
262273

@@ -311,11 +322,14 @@ against the exact Release SHA and its new tarball bytes.
311322

312323
The SHA-pinned helper infers `beta` for matching beta release candidates and
313324
exact alpha tags, and `stable` for stable/correction versions, then passes the
314-
Validation SHA + Tooling SHA run identity. `beta` without soak is the bounded
315-
beta-publish gate. Run broad live QA and E2E as postpublish confidence with
325+
Validation SHA + Tooling SHA run identity. Canonical beta `all` without soak
326+
uses `npm-beta-v1`; `main`, alpha, and non-beta targets do not qualify for that
327+
policy. Run deferred native, performance, Telegram, broad live QA, and E2E as
328+
postpublish confidence with the exact published package and
316329
`run_release_soak=true` or explicit groups. Stable and full profiles force the
317-
release soak. Use a narrow `rerun_group` after focused fixes; never widen
318-
automatically.
330+
release soak. Native artifact publication still requires its own build,
331+
signing, notarization, and promotion gates. Use a narrow `rerun_group` after
332+
focused fixes; never widen automatically.
319333
Publish with `openclaw-release-publish.yml` using `release_profile=from-validation`
320334
unless a maintainer intentionally wants to cross-check a specific profile; the
321335
publish workflow reads the effective profile from the full-validation manifest.
@@ -449,10 +463,10 @@ Record:
449463

450464
- release lifecycle ledger: Code SHA, Release SHA, and Tooling SHA for regular
451465
releases; canonical branch, exact SHA, and immutable tag for extended-stable
452-
- evidence-reuse policy and complete changed-path set
466+
- evidence-reuse policy, coverage policy, and complete changed-path set
453467
- active full parent run URL, attempt, workflow SHA, and any superseded parent
454468
with the exact replacement reason
455-
- child run IDs and conclusions: CI, Release Checks, Plugin Prerelease, NPM Telegram, Product Performance
469+
- selected child run IDs and conclusions: CI, Release Checks, Plugin Prerelease, NPM Telegram, Product Performance; record deferred confidence as not run
456470
- performance comparison result versus earlier releases when available
457471
- targeted local proof commands
458472
- provider-secret preflight result

‎.agents/skills/release-openclaw-maintainer/SKILL.md‎

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ a workflow fix that the existing parent run cannot consume.
152152
extra fixes during an active release unless the operator explicitly asks for
153153
that audit. Operators may authorize up to 4 autonomous beta attempts; after
154154
4 failed beta attempts, stop and report.
155-
- As soon as the Code SHA exists, dispatch `OpenClaw Performance`
156-
with `target_ref=<code-sha>` in parallel with the other release work. Do
157-
not wait for full release validation to start the performance signal.
155+
- An early standalone `OpenClaw Performance` run with `target_ref=<code-sha>`
156+
is optional beta confidence and may overlap other release work. Do not add
157+
a duplicate mandatory prepublish wait. Stable/full Full Release Validation
158+
retains its required blocking performance child.
158159
- Before publish/closeout, compare available product performance metrics with
159160
earlier releases: Kova agent-turn/resource metrics, gateway startup
160161
ready/listen/RSS/CPU metrics, and CLI startup metrics from release evidence
@@ -774,13 +775,24 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
774775
- `OPENCLAW_INSTALL_SMOKE_SKIP_NONROOT=1 pnpm test:install:smoke`
775776
- Release validation phases:
776777
- `beta-publish`: `release_profile=beta`, `run_release_soak=false`. This is
777-
the bounded prepublish gate; it excludes broad live/E2E, QA-live, and
778-
Parallels confidence work.
778+
the bounded prepublish gate. An `all` run for an actual beta package on its
779+
matching canonical release branch or beta tag records
780+
`coveragePolicy=npm-beta-v1`: native app CI, performance, and
781+
published-package Telegram move to confidence. Linux/macOS/Windows Node,
782+
Control UI, plugin, package, install/update, cross-OS, QA parity,
783+
runtime-pair/restart, and tool-coverage gates remain. Beta `all` without
784+
soak also defers Package Acceptance Telegram, broad live/E2E, QA-live, and
785+
Parallels. Package Telegram deferral also applies to beta-profile `main`
786+
or alpha checks; those targets do not qualify for `npm-beta-v1`.
779787
- `postpublish-confidence`: run against the exact published beta package with
780788
`run_release_soak=true` or explicit focused groups. This is the default home
781-
for QA-live, broad Docker/live E2E, mobile, and Parallels.
789+
for native apps, performance, Telegram, QA-live, broad Docker/live E2E, and
790+
Parallels. Deferred checks are not run, never passed. Focused groups and
791+
soak retain existing coverage; every selected child needs terminal evidence.
782792
- `stable-publish`: `release_profile=stable`; require the stable publish
783-
roster and accepted confidence evidence.
793+
roster and accepted confidence evidence. Stable/full retain soak and
794+
blocking performance. Native artifact publication retains its own build,
795+
signing, notarization, and promotion gates.
784796
- Post-published beta verification roster:
785797
- `node --import tsx scripts/openclaw-npm-postpublish-verify.ts <beta-version>`
786798
- install/update smoke against the published beta channel
@@ -1020,18 +1032,21 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
10201032
6. Make every repo version location match the beta tag. Apply only explicitly
10211033
selected backports or release fixes. Make a pre-publish main change only
10221034
under the active release scope lock. Freeze the result as the Code SHA.
1023-
7. Immediately dispatch Actions > `OpenClaw Performance` from the pinned
1024-
trusted workflow source with `target_ref=<code-sha>`, `profile=release`,
1025-
`repeat=3`, deep profiling off, live OpenAI off, and `fail_on_regression`
1026-
matching Full Release Validation's profile gate: `true` for stable,
1027-
`false` for beta. Let it run in parallel with Code SHA validation.
1035+
7. If early beta performance confidence is useful, dispatch Actions >
1036+
`OpenClaw Performance` from the pinned trusted workflow source with
1037+
`target_ref=<code-sha>`, `profile=release`, `repeat=3`, deep profiling off,
1038+
live OpenAI off, and `fail_on_regression=false`. This optional run may
1039+
overlap Code SHA validation; it adds no mandatory beta prepublish wait.
1040+
Stable/full validation retains its blocking performance child.
10281041
8. Run the deterministic source preflight, then Full Release Validation against
10291042
the exact Code SHA with
10301043
`node scripts/full-release-validation-at-sha.mjs --sha <code-sha> --target-ref release/YYYY.M.PATCH --workflow-sha <tooling-sha>`.
10311044
Reuse the recorded full Tooling SHA for every later release validation; do
10321045
not refresh it from moving `main`.
10331046
For beta-publish, keep `release_profile=beta` and
1034-
`run_release_soak=false`. Record the Validation SHA + Tooling SHA tuple
1047+
`run_release_soak=false`. Confirm `coveragePolicy=npm-beta-v1` for the
1048+
matching canonical beta target; policy absence retains historical full
1049+
behavior. Record the Validation SHA + Tooling SHA tuple
10351050
(Validation SHA is the Code SHA in this phase) and use one transition
10361051
watcher. Product failures return to step 6 with a new Code SHA;
10371052
tooling/harness/provenance, infrastructure/credential, and wrapper failures
@@ -1067,6 +1082,9 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
10671082
option when it reported none. This consumes the existing reused full
10681083
evidence and exact Release SHA preflight instead of dispatching either
10691084
again. It completes package/install proof and prints the publish command.
1085+
Admitted `npm-beta-v1` evidence records the helper's Telegram package check
1086+
as `deferred-postpublish`; other evidence keeps the existing check. The
1087+
focused `npm-telegram` and postpublish `release:beta-smoke` paths remain.
10701088
Beta and alpha candidates defer Parallels to postpublish
10711089
`pnpm release:beta-smoke` by default; stable/full candidates run it
10721090
prepublish. Use `--run-parallels` or `--skip-parallels` only for an explicit

‎.github/workflows/ci-build-artifacts-testbox.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ jobs:
213213
run: bash scripts/ci-hydrate-testbox-env.sh
214214

215215
- name: Run Testbox
216-
uses: useblacksmith/run-testbox@3f60ff9ceb2c10c3feefa87dc0c6490cffae059d
216+
# Temporary local-listener fix: https://github.com/useblacksmith/run-testbox/pull/15
217+
# Return to useblacksmith/run-testbox after the fix lands upstream.
218+
uses: steipete/run-testbox@2b6b1be536ec7f3c73757fedf5460a27ab4856b4
217219
if: github.event_name == 'workflow_dispatch' && always()
218220
env:
219221
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

‎.github/workflows/ci-check-arm-testbox.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ jobs:
121121
run: bash scripts/ci-hydrate-testbox-env.sh
122122

123123
- name: Run Testbox
124-
uses: useblacksmith/run-testbox@3f60ff9ceb2c10c3feefa87dc0c6490cffae059d
124+
# Temporary local-listener fix: https://github.com/useblacksmith/run-testbox/pull/15
125+
# Return to useblacksmith/run-testbox after the fix lands upstream.
126+
uses: steipete/run-testbox@2b6b1be536ec7f3c73757fedf5460a27ab4856b4
125127
if: always()
126128
env:
127129
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

‎.github/workflows/ci-check-testbox.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ jobs:
116116
run: bash scripts/ci-hydrate-testbox-env.sh
117117

118118
- name: Run Testbox
119-
uses: useblacksmith/run-testbox@3f60ff9ceb2c10c3feefa87dc0c6490cffae059d
119+
# Temporary local-listener fix: https://github.com/useblacksmith/run-testbox/pull/15
120+
# Return to useblacksmith/run-testbox after the fix lands upstream.
121+
uses: steipete/run-testbox@2b6b1be536ec7f3c73757fedf5460a27ab4856b4
120122
if: github.event_name == 'workflow_dispatch' && always()
121123
env:
122124
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

0 commit comments

Comments
 (0)