Skip to content

Commit 57501be

Browse files
committed
ci: integrate shared test runner ownership
2 parents 6718f36 + 6e9b085 commit 57501be

143 files changed

Lines changed: 6132 additions & 1786 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.

‎.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"

‎.github/workflows/openclaw-npm-release.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,18 @@ jobs:
514514
id: dependency_evidence
515515
env:
516516
GH_TOKEN: ${{ github.token }}
517+
WORKFLOW_SHA: ${{ github.workflow_sha }}
517518
RELEASE_REF: ${{ inputs.tag }}
518519
RELEASE_NPM_DIST_TAG: ${{ inputs.npm_dist_tag }}
519520
run: |
520521
set -euo pipefail
521-
node --import tsx scripts/generate-dependency-release-evidence.mts \
522+
tooling_dir="${GITHUB_WORKSPACE}/.artifacts/plugin-sdk-release-tooling"
523+
if [[ "$(git -C "$tooling_dir" rev-parse HEAD)" != "$WORKFLOW_SHA" ]] || [[ -n "$(git -C "$tooling_dir" status --porcelain)" ]]; then
524+
echo "Trusted dependency release tooling must match the unmodified workflow SHA." >&2
525+
exit 1
526+
fi
527+
node --import "$tooling_dir/scripts/tsx.mjs" "$tooling_dir/scripts/generate-dependency-release-evidence.mts" \
528+
--root "$GITHUB_WORKSPACE" \
522529
--release-ref "$RELEASE_REF" \
523530
--npm-dist-tag "$RELEASE_NPM_DIST_TAG" \
524531
--output-dir "$RUNNER_TEMP/openclaw-release-dependency-evidence" \

‎config/assertion-safety-baseline.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ extensions/line/src/bot-message-context.ts 1
601601
extensions/line/src/card-command.ts 3
602602
extensions/line/src/flex-templates/basic-cards.ts 19
603603
extensions/line/src/flex-templates/common.ts 2
604-
extensions/line/src/flex-templates/media-control-cards.ts 35
604+
extensions/line/src/flex-templates/media-control-cards.ts 19
605605
extensions/line/src/flex-templates/schedule-cards.ts 28
606606
extensions/line/src/gateway.ts 1
607607
extensions/line/src/group-keys.ts 1
@@ -4058,7 +4058,7 @@ ui/src/pages/chat/realtime-talk.ts 2
40584058
ui/src/pages/chat/run-lifecycle.ts 1
40594059
ui/src/pages/chat/scroll.ts 1
40604060
ui/src/pages/chat/session-cache.ts 2
4061-
ui/src/pages/chat/stream-reconciliation.ts 11
4061+
ui/src/pages/chat/stream-reconciliation.ts 9
40624062
ui/src/pages/chat/workspace-conflict.ts 2
40634063
ui/src/pages/config/config-page.ts 1
40644064
ui/src/pages/config/config-sections.ts 1

‎config/knip.config.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ const repositoryScriptEntries = [
111111
"scripts/resolve-frozen-codex-live-suite.mjs!",
112112
// Changed-file checks invoke this targeted UI Stylelint entrypoint by path.
113113
"scripts/run-stylelint.mts!",
114+
// Path-spawned test roots are development entries; `!` would audit dev tools as production.
115+
"scripts/run-vitest-child.mts",
116+
"scripts/test-projects-child.mts",
114117
"scripts/secrets/openclaw-bws-resolver.mjs!",
115118
"scripts/sync-labels.ts!",
116119
"scripts/test-built-bundled-channel-entry-smoke.mts!",

‎docs/ci.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ The shared plugin catch-all, QA and provider suites use native Vitest sharding,
558558

559559
The final Node matrix admits longer estimated jobs first across both compact and plugin descriptors. Plugin estimates reuse the extension batch cost owner, including existing process boundaries; runtime preparation is charged separately from the same prerequisite table used by compact jobs. Equal estimates and historical descriptors without estimates keep their original order. The 96-job concurrency cap is unchanged. In run `33449014227`, all 96 slots were occupied when the late QA job started; that dependency delay was matrix admission, not evidence of runner-registration throttling.
560560

561-
The current planner emits 81 nondist compact rows for broad hybrid PRs and 107 for the GitHub planner profile, plus 78 plugin fallback rows. Trusted contributor forks select the GitHub planner profile but can still run those rows on Blacksmith, so their unchanged 112-row cap owns the conservative PR bound. The workflow has 86 other potential job rows across backends: 15 nonmatrix rows and 71 matrix rows. Count all 86 as Blacksmith admissions, including hosted and skipped rows. This gives a broad-PR bound of `112 + 78 + 86 = 276`; canonical main uses the 96-row hybrid cap without PR fallback descriptors, giving a bound of 182. The command splits fit inside those caps, so their rows are not added again. Two active main slots plus both pending successors and the observed peak of nineteen PR arrivals, including superseded heads, give `4 × 182 + 19 × 276 = 5,972` registrations in five minutes. The live bucket rechecked on 2026-09-01 was 10,000; this is just 28 below the 6,000 operating target. Further fanout needs reductions elsewhere or a narrower, evidenced arrival bound. This is an arrival-envelope estimate, not an organization-wide admission cap: re-evaluate emitted rows, adjacent repositories and queued-run overlap before increasing fanout. An unused registration bucket does not prove physical runner capacity.
561+
The current planner emits 82 nondist compact rows for broad hybrid PRs and 107 for the GitHub planner profile, plus 78 plugin fallback rows. Trusted contributor forks select the GitHub planner profile but can still run those rows on Blacksmith, so their unchanged 112-row cap owns the conservative PR bound. The workflow has 86 other potential job rows across backends: 15 nonmatrix rows and 71 matrix rows. Count all 86 as Blacksmith admissions, including hosted and skipped rows. This gives a broad-PR bound of `112 + 78 + 86 = 276`; canonical main uses the 96-row hybrid cap without PR fallback descriptors, giving a bound of 182. The command splits fit inside those caps, so their rows are not added again. Two active main slots plus both pending successors and the observed peak of nineteen PR arrivals, including superseded heads, give `4 × 182 + 19 × 276 = 5,972` registrations in five minutes. The live bucket rechecked on 2026-09-01 was 10,000; this is just 28 below the 6,000 operating target. Further fanout needs reductions elsewhere or a narrower, evidenced arrival bound. This is an arrival-envelope estimate, not an organization-wide admission cap: re-evaluate emitted rows, adjacent repositories and queued-run overlap before increasing fanout. An unused registration bucket does not prove physical runner capacity.
562562

563563
`checks-ui-e2e` is sized against its per-shard floor rather than its packing slack. The lane is serial Chromium work: roughly 2,114s of measured test body across 286 control-UI files, and a median 116s that every row pays before and around that body (about 25s checkout, about 44s Node setup dominated by `pnpm install`, about 27s of Vitest transform/import, with a p90 of 143s). Duration-weighted packing already lands the tallest row within about 10% of ideal on held-out runs, so the tallest row falls only by splitting the body further. The hosted-planner count is 14 rows — 13 control-UI shards plus the browser-extension row — which models to a 4:52 median and 5:20 p90 tallest row against 5:28/5:56 at the previous twelve. Two extra registrations per run is negligible against the operating target; the fixed floor, not the bucket, is what bounds further splitting.
564564

‎docs/concepts/models.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,15 @@ Its scheduled workflow checks OpenClaw's default-branch plugin manifests and
299299
public pricing sources every four hours; every catalog content change is
300300
preserved as a public commit. Provider-owned policies select complete price
301301
schedules, including context tiers, without mixing rates from different sources.
302-
Declared native sources read the public Cerebras, Chutes, OpenCode, and Venice
302+
Declared native sources read the public Cerebras, Chutes, DeepInfra, OpenCode, and Venice
303303
catalogs, so connected installations can receive advertised price changes without
304304
a new OpenClaw release. When a valid native feed no longer supplies a model's
305305
price, publication preserves the model metadata without an estimate; it does not
306306
infer retirement or substitute another source's rate. Explicit user costs still
307-
win.
307+
win. DeepInfra uses its agent projection for model metadata and its native
308+
`/models/list` feed for prices, including numeric discounts. Qualified schedules
309+
that cannot be represented as unconditional token costs stay unknown; models
310+
remain available. See [DeepInfra price estimates](/providers/deepinfra#price-estimates).
308311

309312
Run `openclaw models refresh` for an immediate metadata and pricing check, or
310313
disable every hosted catalog request with `models.catalogRefresh.enabled:

‎docs/install/migrating-claude.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,11 @@ When `--from` points at a project root, OpenClaw imports only that project's Cla
124124
Apply refuses to continue when the plan reports conflicts (a file or config value already exists at the target).
125125

126126
<Warning>
127-
Rerun with `--overwrite` only when replacing the existing target is intentional. Providers may still write item-level backups for overwritten files in the migration report directory.
127+
Rerun with `--overwrite` only when replacing the existing target is intentional.
128128
</Warning>
129129

130+
Before overwriting a skill generated from a Claude command, OpenClaw backs up its whole directory and records the path in the item's `details.backupPath` in `report.json`. That path remains available if the overwrite fails. If the command source cannot be read, migration reports an error without changing the existing skill.
131+
130132
For a fresh OpenClaw install, conflicts are unusual. They typically appear when you re-run the import on a setup that already has user edits.
131133

132134
## JSON output for automation

‎docs/plugins/manifest.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,7 @@ Provider fields:
12991299
| ------------ | ----------------- | ----------------------------------------------------------------------------------------------- |
13001300
| `cerebras` | `false \| object` | Explicit mapping to the public Cerebras `/public/v1/models` catalog. Never enabled implicitly. |
13011301
| `chutes` | `false \| object` | Explicit mapping to the public Chutes `/v1/models` catalog. Never enabled implicitly. |
1302+
| `deepinfra` | `false \| object` | Explicit mapping to the public DeepInfra `/models/list` catalog. Never enabled implicitly. |
13021303
| `external` | `boolean` | Set `false` for local/self-hosted providers that should never use published external pricing. |
13031304
| `openCode` | `false \| object` | Explicit mapping to the public `models.opencode.ai/api.json` catalog. Never enabled implicitly. |
13041305
| `openRouter` | `false \| object` | OpenRouter publication-key mapping. `false` disables OpenRouter matching for this provider. |
@@ -1335,10 +1336,17 @@ For authoritative native source mappings, use:
13351336

13361337
The publisher fetches a fixed public endpoint without credentials only when its
13371338
source is declared, and publishes native prices only in explicitly mapped owner
1338-
namespaces. Cerebras and Chutes use the same shape with their respective source
1339+
namespaces. Cerebras, Chutes, and DeepInfra use the same shape with their respective source
13391340
and provider IDs. Lightweight plugin-owned `pricing-api.ts` artifacts share
13401341
payload parsing with runtime discovery without importing provider runtimes.
13411342

1343+
DeepInfra's top-level array uses `model_name` identity. Its numeric discount and
1344+
cached-input ratio apply to native cents-per-token prices. Pricing prose,
1345+
nonempty tables, scheduled expiry, and undocumented generic cache-write rates
1346+
are validated but omitted as unsupported schedules. Priority/flex and explicit
1347+
cache-retention multipliers do not change standard costs. Its agent projection
1348+
continues to own runtime metadata; the pricing feed does not discover chat models.
1349+
13421350
An opted-in native source owns the complete provider schedule, including missing
13431351
prices: generic sources cannot fill its gaps. A successful feed with no price for
13441352
a bundled model preserves that model's metadata, omits its cost, and emits a

0 commit comments

Comments
 (0)