Vincent Koc
40661e9d19
fix(test): use API-key auth for Codex live Docker lanes
2026-06-04 12:43:30 -07:00
Vincent Koc
023427b1d5
test(docker): cap npm scheduler concurrency
2026-06-04 12:04:45 -07:00
Mason Huang
8b29ff5f16
fix(ci): scope PR merge diff checks to first parent ( #90287 )
...
Summary:
- This PR adds opt-in first-parent merge-head diff-base handling for CI changed-scope, changed-lanes, and OpenGrep PR scans, plus synthetic merge coverage and small lint/type cleanups.
- PR surface: Source +6, Tests +204, Config +1, Other +179. Total +390 across 15 files.
- Reproducibility: yes. The synthetic merge tests and PR body live-ref proof show the stale payload-base path can include main-only files, and first-parent mode narrows it to PR-owned paths.
Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(ci): update workflow guard expectations
- PR branch already contained follow-up commit before automerge: fix(ci): resolve plugin guardrail lint failures
- PR branch already contained follow-up commit before automerge: fix(ci): preserve plugin run context typing
- PR branch already contained follow-up commit before automerge: fix(ci): scope PR merge diff checks to first parent
Validation:
- ClawSweeper review passed for head 40235e8c3d .
- Required merge gates passed before the squash merge.
Prepared head SHA: 40235e8c3d
Review: https://github.com/openclaw/openclaw/pull/90287#issuecomment-4621155576
Co-authored-by: Mason Huang <masonxhuang@tencent.com >
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: hxy91819
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com >
2026-06-04 17:24:03 +00:00
Vincent Koc
d0f05d98d2
fix(e2e): share gateway websocket request handling
2026-06-04 08:29:33 +02:00
Vincent Koc
e0ab71d3dc
fix(scripts): guard codex protocol generation disk headroom
2026-06-03 17:01:16 +02:00
Vincent Koc
f4868b79e3
fix(testing): keep plugin gauntlet pnpm noninteractive
2026-06-03 16:34:54 +02:00
Vincent Koc
d31f4e2d62
fix(e2e): stop interrupted docker builds
2026-06-03 13:48:31 +02:00
Vincent Koc
76c8b36031
fix(e2e): stop tracked process groups
2026-06-03 12:17:05 +02:00
Vincent Koc
17795c6c4c
fix(ci): trim docker e2e heartbeat latency
2026-06-03 06:54:52 +02:00
Vincent Koc
6b25b78800
fix(ci): show docker build heartbeats
2026-06-03 06:36:06 +02:00
Vincent Koc
6d643ccd11
fix(tooling): reject malformed release command limits
2026-06-03 02:52:16 +02:00
Vincent Koc
8cecf2c7ea
fix(test): reject malformed local check limits
2026-06-02 22:48:12 +02:00
Vincent Koc
432a5978b9
fix(test): reject malformed extension shard counts
2026-06-02 21:59:42 +02:00
Vincent Koc
cd3887c28a
fix(scripts): cancel timed-out response bodies
2026-06-02 09:49:02 +02:00
Vincent Koc
f1d65b3cd6
fix(e2e): isolate trash shim bin dir
2026-06-02 04:01:47 +02:00
Vincent Koc
32f98d7fe8
fix(e2e): forward sighup in node watchdogs
2026-06-02 01:05:29 +02:00
Vincent Koc
af44fb9b6c
fix(test): preserve vitest batch wrapper signals
2026-06-02 00:46:55 +02:00
Vincent Koc
990f0baff9
fix(e2e): scope gateway cleanup to tracked pid
2026-06-01 23:59:03 +02:00
Vincent Koc
0cfd6b0504
fix(e2e): clean timed-out docker harness containers
2026-06-01 23:45:56 +02:00
Vincent Koc
c9d35c7172
fix(scripts): forward run-with-env termination
2026-06-01 22:24:34 +02:00
Vincent Koc
193988bc5b
fix(e2e): isolate onboard temp artifacts
2026-06-01 21:25:03 +02:00
Peter Steinberger
729420c34a
test: split slow vitest shards
2026-06-01 05:34:59 -04:00
Peter Steinberger
1d4c1ba56d
fix: harden memory envelope sanitization
...
Co-authored-by: amittell <mittell@me.com >
2026-06-01 09:30:08 +01:00
amittell
945faf8e67
fix(memory-lancedb): reject envelope metadata sludge
...
Summary:
- Strip memory-lancedb envelope and metadata sludge before auto-capture/recall, including pending history wrappers, current-message reply context, message-tool delivery hints, media annotations, and marker-free channel envelopes.
- Expose bundled chat-channel IDs/prefixes through the plugin SDK so sanitizer matching follows the channel catalog.
- Refactor cron tool schemas to fresh factory instances while preserving runtime nullable clears and provider-facing OpenAPI projection.
Verification:
- git diff --check origin/main...HEAD
- ./node_modules/.bin/oxfmt --check src/plugin-sdk/chat-channel-ids.ts src/plugin-sdk/chat-channel-ids.test.ts extensions/memory-lancedb/index.ts extensions/memory-lancedb/index.test.ts src/agents/tools/cron-tool.ts src/agents/tools/cron-tool.schema.test.ts
- pnpm plugin-sdk:api:check
- node scripts/run-vitest.mjs run src/plugin-sdk/chat-channel-ids.test.ts extensions/memory-lancedb src/agents/tools/cron-tool.schema.test.ts src/agents/tools/cron-tool.test.ts --reporter=dot
- pnpm lint:extensions --threads=8
- .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main
- GitHub checks on 62d1da1257 : 139 pass, 0 pending, 0 fail, 22 skipped.
2026-06-01 00:57:25 -04:00
Peter Steinberger
ebcdb637bb
perf(memory-core): defer embedding engine startup imports
2026-06-01 04:22:22 +01:00
Peter Steinberger
5443baa852
Persist plugin install index in SQLite ( #88794 )
...
* refactor: persist plugin install index in sqlite
* fix: merge legacy plugin index records into sqlite
* test: update plugin index sqlite fixtures
* fix: migrate custom plugin install indexes
* test: update plugin index sentinel
* fix: exclude migrated plugin index archives
* fix: read post-upgrade plugin index from sqlite
* fix: migrate legacy plugin index before agent runs
* fix: respect disabled persisted plugin registry reads
* test: type plugin install record fixtures
* fix: simplify plugin index record reader type
* test: fix sqlite plugin index CI fallout
* test: mock provider normalization in agent command tests
# Conflicts:
# src/commands/agent-command.test-mocks.ts
* build: remove unused ui three dependency
2026-05-31 20:51:33 -04:00
Peter Steinberger
27dde7a4d6
chore(lint): enable stricter error rules
2026-06-01 01:12:21 +01:00
Peter Steinberger
22cb7fb6b7
chore(lint): enable no-promise-executor-return
2026-05-31 23:06:13 +01:00
Peter Steinberger
b653d94918
chore(lint): enable no-useless-assignment
2026-05-31 22:40:48 +01:00
Peter Steinberger
e681569536
feat: add code-mode MCP API files
...
* feat: add code-mode MCP API files
* fix: satisfy code-mode MCP lint
2026-05-31 21:29:06 +01:00
Peter Steinberger
d62bfab946
ci: split startup and shrinkwrap checks
2026-05-31 15:55:43 -04:00
Peter Steinberger
b4a6244ef4
ci: split agents core test shard
2026-05-31 15:35:36 -04:00
Peter Steinberger
304e2c83c0
chore(lint): enable stricter oxlint rules
2026-05-31 18:59:02 +01:00
Peter Steinberger
f80a1e9e85
refactor: clean up ACP translator and manager tests ( #88677 )
...
* test: split ACP translator bridge coverage
* refactor: extract ACP translator session helpers
* refactor: extract ACP manager backend failover helpers
* test: split ACP manager failover coverage
* test: split ACP manager runtime config coverage
* test: split ACP manager turn result coverage
* test: split ACP manager runtime handle coverage
* test: keep ACP manager helpers within task boundaries
* ci: split gateway runtime state test shard
2026-05-31 18:04:28 +01:00
Peter Steinberger
7b78941ea5
refactor: clean up ACP package metadata and helpers ( #88659 )
...
* refactor: derive acp core package subpath maps
* refactor: split acp manager task and timeout helpers
* refactor: split acp translator presentation helpers
* fix: keep packaged acp core plugin aliases
* ci: split gateway control plane runtime shard
2026-05-31 15:53:14 +01:00
Vincent Koc
0833c68b1b
fix(e2e): show plugins docker sweep progress
2026-05-31 15:57:19 +02:00
Peter Steinberger
7dea283756
refactor: expand acp core package ( #88618 )
...
* refactor: expand acp core package
* chore: drop acp core package symlink
* fix: keep acp core dependency graph stable
* fix: add acp core tsconfig subpaths
* fix: sync acp core boundary path artifacts
* fix: use kysely for cron run-log queries
* fix: resolve acp core subpaths in loaders
2026-05-31 14:48:57 +01:00
Vincent Koc
fbde572491
fix(e2e): heartbeat resource-sampled docker lanes
2026-05-31 15:22:44 +02:00
Peter Steinberger
f83886c12d
chore(lint): trim remaining suppressions
2026-05-31 13:01:19 +01:00
Peter Steinberger
77f1359612
refactor: extract media and ACP core packages ( #88534 )
...
* refactor: extract media and acp core packages
* refactor: remove relocated media and acp sources
* build: wire new core packages into dependency checks
* test: alias new core packages in vitest
* build: keep media sniffer runtime dependency
* docs: refresh plugin sdk api baseline
* fix: keep normalized proposal queries non-empty
* test: keep channel timer tests isolated
* fix: keep rebased plugin checks green
* fix: preserve sms numeric allowlist entries
* test: harden exec foreground timeout failure
* test: remove duplicate skill workshop assertion
* fix: remove channel config lint suppression
* test: refresh lint suppression allowlist
2026-05-31 11:30:33 +01:00
Peter Steinberger
4eba3e5d7d
chore(lint): enable more readability rules
2026-05-31 07:38:33 +01:00
Peter Steinberger
deb7bc6539
chore(lint): enable readability lint rules
2026-05-31 07:17:57 +01:00
Peter Steinberger
00d8d7ead0
refactor: extract normalization core package
...
Extract shared normalization/coercion helpers into private @openclaw/normalization-core workspace package while preserving existing plugin SDK helper subpaths.\n\nAlso keeps direct normalization-core imports internal, wires UI/build/loader resolution, and replaces the slow PR network CodeQL lane with a fast added-line boundary scan while retaining full CodeQL for scheduled/manual runs.\n\nVerification: local moved tests, plugin SDK boundary tests, extension loader tests, agents-support shard, UI build/test, build artifacts, lint, workflow guards, autoreview, and GitHub CI passed on PR head 963d893715 .
2026-05-31 01:33:00 +01:00
Peter Steinberger
4c33aaa86c
refactor: unify OpenAI provider identity ( #88451 )
...
* refactor: unify OpenAI provider identity
* refactor: move legacy oauth sidecar doctor helpers
* test: align OpenAI fixtures after rebase
* test: clean OpenAI provider unification
* fix: finish OpenAI provider cleanup
* fix: finish OpenAI cleanup follow-through
* fix: finish OpenAI CI cleanup
2026-05-31 00:29:44 +01:00
Peter Steinberger
8fe50a2136
build: classify release dependency ownership
...
Classify release dependency ownership metadata so release evidence no longer reports current root dependencies as missing ownership metadata. Also recognizes command-explainer package-file lookups for tree-sitter-bash.
Verification: jq empty scripts/lib/dependency-ownership.json; node scripts/dependency-ownership-surface-report.mjs --check; node scripts/root-dependency-ownership-audit.mjs --check; targeted Vitest for root dependency ownership and ownership surface reports; git diff --check; autoreview clean; PR CI green including Real behavior proof.
2026-05-30 22:04:54 +01:00
Peter Steinberger
a20b2dc740
refactor: extract web content core package ( #88346 )
...
Extract web-content shared runtime helpers into packages/web-content-core, move the focused tests with the new package, and split quiet CI shards so the node matrix no longer stalls past the no-output watchdog.\n\nVerification: node scripts/run-vitest.mjs test/scripts/ci-node-test-plan.test.ts test/scripts/run-vitest.test.ts src/infra/restart.test.ts src/infra/os-summary.test.ts src/infra/gateway-processes.test.ts src/infra/inline-option-token.test.ts src/infra/map-size.test.ts src/infra/machine-name.test.ts src/commands/doctor-whatsapp-responsiveness.test.ts; autoreview clean; manual CI https://github.com/openclaw/openclaw/actions/runs/26693962844 ; dependency guard https://github.com/openclaw/openclaw/actions/runs/26693959937 . Admin merge used because optional Mantis Telegram Desktop proof was cancelled after blocking merge outside this PR's required proof.
2026-05-30 21:38:29 +01:00
keshavbotagent
371a8abe9d
fix(build): avoid stale agent-core dts warnings ( #87915 )
...
* fix(build): avoid stale agent-core dts warnings
* test(secrets): secure plugin entrypoint fixtures
* fix(agent-core): normalize compaction summary timestamps
* test(secrets): secure platform preset fixture
* fix(build): preserve tracked package dts on skip builds
* test(secrets): secure platform preset resolver fixture
* fix(build): keep declarations during skip dts clean
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-05-30 21:03:49 +01:00
Coder
adcac404e1
fix(llm): repair invalid streaming unicode escapes
...
Repair invalid \u escapes during streaming JSON parsing without changing valid Unicode escapes. Split oversized node CI doctor/infra shards and fix the restart test mock deadlock so PR CI stays under the no-output threshold.\n\nCo-authored-by: Coder <83845889+coder999999999@users.noreply.github.com >
2026-05-30 20:53:26 +01:00
Peter Steinberger
5891cfec3e
refactor: move model catalog normalization into core package
...
Move model catalog normalization and package-owned catalog schema/types into model-catalog-core while keeping public plugin SDK model catalog declarations on the existing SDK surface. Verified focused tests, package-boundary compile, full build, changed gate, declaration leak grep, CI, and autoreview.
2026-05-30 20:51:11 +01:00
Peter Steinberger
4e8b74568f
refactor: move model catalog refs into core package
...
Move model catalog ref helpers into @openclaw/model-catalog-core/model-catalog-refs and update internal callers/package-boundary aliases. Also fix the timestamp predicate typing that blocked prod type checks on current main.
2026-05-30 20:04:16 +01:00