zhang-guiping
653292901a
fix(tui): surface terminal lifecycle errors
...
Surface terminal TUI lifecycle errors after the chat stream ends, deduplicate delayed chat errors, and allow explicit runnable Vitest config targets to run through the target planner.
Fixes #85782 .
Verification:
- pnpm exec oxfmt --check src/tui/tui-event-handlers.ts src/tui/tui-event-handlers.test.ts test/scripts/test-projects.test.ts scripts/test-projects.test-support.mjs src/agents/model-catalog-visibility.test.ts
- node scripts/run-vitest.mjs src/tui/tui-event-handlers.test.ts
- node scripts/run-vitest.mjs src/tui/tui-event-handlers.test.ts src/tui/tui-command-handlers.test.ts test/scripts/test-projects.test.ts src/agents/model-catalog-visibility.test.ts
- git diff --check
- autoreview --mode local: no accepted/actionable findings
- autoreview --mode branch --base origin/main: no accepted/actionable findings
- Required CI check dependency-guard passed
Co-authored-by: 张贵萍0668001030 <zhang.guiping@xydigit.com >
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-05-30 21:59:27 +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
Peter Steinberger
602364f1c7
ci: stabilize changed checks
2026-05-30 20:07:38 +01:00
Vincent Koc
3e8d06a6be
fix(ci): include workflow guard target
2026-05-30 12:50:38 +01:00
Vincent Koc
346b14a51a
fix(test): route conventional script tests
2026-05-30 13:00:33 +02:00
Vincent Koc
ffa2da8478
fix(test): skip broad changed import scans
2026-05-30 13:00:33 +02:00
Vincent Koc
61a768be75
fix(test): route script library changes
2026-05-30 13:00:33 +02:00
Vincent Koc
3d8a77a113
fix(test): route package tooling changes
2026-05-30 13:00:33 +02:00
Vincent Koc
a6a358f1a6
fix(test): route ci tooling changes
2026-05-30 13:00:33 +02:00
Vincent Koc
131dc4eaeb
fix(test): route workflow helper changes
2026-05-30 13:00:33 +02:00
Vincent Koc
022fd55bad
fix(test): route crabbox changed tests
2026-05-30 13:00:33 +02:00
Vincent Koc
d9820e4098
fix(ci): disable crabbox on-demand fallback
2026-05-30 13:00:33 +02:00
Vincent Koc
a4ebdc9aa1
fix(test): guard run-with-env help
2026-05-30 13:00:32 +02:00
Vincent Koc
cf2461f7f6
fix(test): guard live runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
f5f829db79
fix(test): guard tsdown runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
a06daab97e
fix(test): guard build runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
09f094057a
fix(test): guard verify runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
9def042fab
fix(test): guard check runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
f6adea5757
fix(test): guard force runner help
2026-05-30 13:00:32 +02:00
Vincent Koc
731a7af9c5
fix(test): keep wrapper help metadata-only
2026-05-30 13:00:32 +02:00
Vincent Koc
ffa4342a6a
fix(test): route docker e2e script targets
2026-05-30 13:00:32 +02:00
Vincent Koc
1b43e84d0d
fix(test): batch explicit source route resolution
2026-05-30 13:00:32 +02:00
Vincent Koc
31f0635f4f
fix(test): route explicit source targets narrowly
2026-05-30 13:00:31 +02:00
Vincent Koc
1c65e2e7c1
fix(tooling): bound oxlint shard stalls
2026-05-30 13:00:31 +02:00
Vincent Koc
b6f3fe7938
fix(test): route explicit helper targets narrowly
2026-05-30 13:00:31 +02:00
Dallin Romney
7de025eacd
fix: route explicit vitest files through project runner ( #88127 )
2026-05-29 20:38:52 -07:00
Dallin Romney
914f313740
test(unit-fast): isolate fake-timer files ( #88160 )
2026-05-29 17:11:05 -07:00
Vincent Koc
716fd67e03
fix(scripts): bound Z.AI fallback repro output
2026-05-28 18:19:34 +02:00
Vincent Koc
e707b452c0
fix(scripts): bound control UI i18n process output
2026-05-28 17:32:58 +02:00
Peter Steinberger
bb46b79d3c
refactor: internalize OpenClaw agent runtime ( #85341 )
...
* refactor: extract agent core package
Introduce packages/agent-core as the OpenClaw-owned home for reusable agent loop, harness, session, prompt, and runtime dependency contracts.
* refactor: extract shared llm runtime
Move provider model registries, stream wrappers, OAuth helpers, and LLM utilities into src/llm with plugin-sdk barrels instead of depending on the old embedded runtime layout.
* refactor: remove pi runtime internals
Rename remaining Pi-shaped agent surfaces to OpenClaw agent runtime names, delete obsolete Pi docs and package graph checks, and add the third-party notice for incorporated code.
* refactor: tighten agent session runtime
Make agent-core/runtime dependencies explicit, consolidate compaction and session transcript helpers, and move model/session helpers behind OpenClaw-owned contracts.
* refactor: remove static model and pi auth paths
Drop static model catalogs and Pi auth bridges, move model/provider facts to manifest-owned runtime contracts, and harden internal embedded-agent utilities.
* refactor: remove legacy provider compat paths
* docs: remove agent parity notes
* fix: skip provider wildcard metadata parsing
* refactor: share session extension sdk loading
* refactor: inline acpx proxy error formatter
* refactor: fold edit recovery into edit tool
* fix: accept extension batch separator
* test: align startup provider plugin expectations
* fix: restore provider-scoped release discovery
* test: align static asset packaging expectations
* fix: run static provider catalogs during scoped discovery
* fix: add provider entry catalogs for scoped live discovery
* fix: load lightweight provider catalog entries
* fix: refresh provider-scoped plugin metadata
* fix: keep provider catalog entries on release live path
* fix: keep static manifest models in release live checks
* fix: harden release model discovery
* fix: reduce OpenAI live cache probe reasoning
* fix: disable OpenAI cache probe reasoning
* ci: extend OpenAI gateway live timeout
* fix: extend live gateway model budget
* fix: stabilize release validation regressions
* fix: honor provider aliases in model rows
* fix: stabilize release validation lanes
* fix: stabilize release memory qa
* ci: stabilize release validation lanes
* ci: prefer ipv4 for live docker node calls
* fix: restore shared tool-call stream wrapper
* ci: remove legacy pi test shard alias
* fix: clean up embedded agent test drift
* fix: stabilize runtime alias status
* fix: clean up embedded agent ci drift
* fix: restore release ci invariants
* fix: clean up post-rebase runtime drift
* fix: restore release ci checks
* fix: restore release ci after rebase
* fix: remove stale pi runtime path
* test: align compaction runtime expectations
* test: update plugin prerelease expectations
* fix: handle claude live tool approvals
* fix: stabilize release validation gates
* fix: finish agent runtime import
* test: finish post-rebase agent runtime mocks
* fix: keep codex compaction native
* fix: stabilize codex app-server hook tests
* test: isolate codex diagnostic active run
* test: remove codex diagnostic completion race
# Conflicts:
# extensions/codex/src/app-server/run-attempt.test.ts
* ci: fix full release manifest performance run id
* refactor: narrow llm plugin sdk boundary
* chore: drop generated google boundary stamps
* fix: repair rebase fallout
* fix: clean up rebased runtime references
* fix: decode codex jwt payloads as base64url
* fix: preserve shipped pi runtime alias
* fix: add scoped sdk virtual modules
* fix: decode llm codex oauth jwt as base64url
* fix: avoid stale vertex adc negative cache
* fix: harden tool arg decoding and codeql path
* fix: keep vertex adc negative checks live
* refactor: consolidate codex jwt and edit helpers
* fix: await codex oauth node runtime imports
* fix: preserve sdk tool and notice contracts
* fix: preserve shipped compat config boundaries
* fix: align codex oauth callback host
* fix: terminate agent-core loop streams on failure
* fix: keep codex oauth callback alive during fallback
* ci: include session tools in critical codeql scans
* fix: keep Cloudflare Anthropic provider auth header
* docs: redirect legacy pi runtime pages
* fix: honor bundled web provider compat discovery
* fix: protect session output spill files
* fix: keep legacy agent dir env blocked
* fix: contain auto-discovered skill symlinks
* fix: harden agent core sdk proxy surfaces
* fix: restore approval reaction sdk compat
* fix: keep live docker runs bounded
* fix: keep codex oauth redirect host aligned
* fix: resolve post-rebase agent runtime drift
* fix: redact anthropic oauth parse failures
* fix: preserve responses strict tool shaping
* fix: repair agent runtime rebase cleanup
* docs: redirect retired parity pages
* fix: bound auto-discovered resources to roots
* fix: repair post-rebase agent test drift
* fix: preserve bundled provider allowlist migration
* fix: preserve manifest-owned provider aliases
* fix: declare photon image dependency
* fix: keep provider headers out of proxy body
* fix: preserve shipped env aliases
* fix: refresh control ui i18n generated state
* fix: quote read fallback paths
* fix: preview edits through configured backend
* test: satisfy core test typecheck
* fix: preserve ZAI usage auth fallback
* test: repair codex diagnostic test
* fix: repair agent runtime rebase drift
* test: finish embedded runner import rename
* fix: repair agent runtime rebase integrations
* test: align compaction oauth fallback expectations
* fix: allow sdk-auth session models
* fix: update doctor tool schema import
* fix: preserve bedrock plugin region
* fix: stream harmony-like prose immediately
* ci: include session runtime in codeql shards
* fix: repair latest rebase integrations
* fix: honor explicit codex websocket transport
* fix: keep openai-compatible credentials provider-scoped
* fix: refresh sdk api baseline after rebase
* fix: route cli runtime aliases through openclaw harness
* test: rename stale harness mock expectation
* test: rename embedded agent overflow calls
* test: clean embedded auth test wording
* test: use openclaw stream types in deepinfra cache test
* fix: refresh sdk api baseline on latest main
* fix: honor bundled discovery compat allowlists
* fix: refresh sdk api baseline after latest rebase
* fix: remove stale rebase imports
* test: rename stale model catalog mock
* test: mock renamed doctor runtime modules
* fix: map canonical kimi env auth
* fix: use internal model registry in bench script
* fix: migrate deepinfra provider catalog entry
* fix: enforce builtin tool suppression
* fix: route compaction auth and proxy payloads safely
* refactor: prune unused llm registry leftovers
* test: update codex hooks session import
* test: fix model picker ci coverage
* test: align model picker auth mock types
2026-05-27 19:24:04 +01:00
Peter Steinberger
de5971eedc
fix(onboard): preserve rerun config migrations
...
Fix non-interactive and wizard onboarding reruns so existing agent lists and bindings are preserved unless the user explicitly resets config.
Isolate legacy `plugins.installs` migration into its own write so the config size-drop allowance cannot mask unrelated config loss, while preserving new or repaired install records for the final plugin-index commit. Also keep shrinkwrap generation pinned to pnpm-locked transitive patch versions only when the dependency edge still allows that version, and isolate the tooling Vitest shard that mutates process state.
Fixes #84692 .
Replaces #84748 .
Co-authored-by: yetval <yetvald@gmail.com >
2026-05-27 18:05:07 +01:00
Peter Steinberger
140892ce3d
test: speed up test project routing
2026-05-27 04:41:30 +01:00
Peter Steinberger
8f1fb675aa
test: improve full-suite failure summaries
2026-05-27 00:21:12 +01:00
Vincent Koc
be2213e46e
fix(ci): preserve docker pull retry failures
2026-05-26 23:30:07 +02:00
Peter Steinberger
30e59b4090
test: speed up slow CI regressions
2026-05-26 13:13:19 +01:00
Mason Huang
f0bfb3fc33
test(tools): add unmocked image custom-provider auth regression ( #85733 )
...
Summary:
- The branch adds an unmocked image-tool custom-provider auth regression test, fixes split agents Vitest config routing, adds routing coverage, and records a changelog entry.
- PR surface: Tests +203, Docs +1, Other +8. Total +212 across 4 files.
- Reproducibility: not applicable. as a current-main failing issue: the production runtime bug was addressed by the linked predecessor, and this PR adds regression coverage plus test-routing verification for that path.
Automerge notes:
- PR branch already contained follow-up commit before automerge: test(tools): polish image auth regression and fix agents vitest routing
- PR branch already contained follow-up commit before automerge: test(tools): remove proof test filename after regression rename
- PR branch already contained follow-up commit before automerge: fix(test): remove duplicate agent shard constants
- PR branch already contained follow-up commit before automerge: test(tools): add unmocked image custom-provider auth regression
- PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-8573…
Validation:
- ClawSweeper review passed for head cff5476aeb .
- Required merge gates passed before the squash merge.
Prepared head SHA: cff5476aeb
Review: https://github.com/openclaw/openclaw/pull/85733#issuecomment-4525628364
Co-authored-by: Mason Huang <masonxhuang@tencent.com >
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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-05-25 14:19:04 +00:00
Vincent Koc
968c87d798
fix(ui): move control ui chunking helper out of runtime source
2026-05-25 14:31:38 +02:00
Val Alexander
ab910f88ad
fix: make compaction reinjection opt-in
...
Summary:
- Make post-compaction AGENTS.md reinjection explicit opt-in for configured sections.
- Carry the run workspace into compaction-safeguard AGENTS.md reads.
- Improve collapsed Control UI tool rows while preserving raw expanded tool details.
Verification:
- CI green on PR head 96101664f0 .
- pnpm exec oxfmt --check --threads=1 <changed files>
- OPENCLAW_OXLINT_SKIP_PREPARE=1 node scripts/run-oxlint.mjs <changed ts/mjs files>
- node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core-test.tsbuildinfo
- git diff --check origin/main...HEAD && git diff --check
- node scripts/run-vitest.mjs src/agents/pi-hooks/compaction-safeguard.test.ts src/agents/pi-embedded-runner/extensions.test.ts -t "workspace"
- node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts -t "reads opted-in post-compaction context"
- node scripts/run-vitest.mjs test/scripts/test-projects.test.ts -t "allows explicit split Vitest config targets"
- node scripts/run-vitest.mjs ui/src/ui/chat/tool-cards.test.ts ui/src/ui/chat/tool-cards.node.test.ts ui/src/ui/chat/grouped-render.test.ts ui/src/styles/chat/tool-cards.test.ts
- AUTOREVIEW_AUTO_TESTS=0 .agents/skills/autoreview/scripts/autoreview --mode branch
Fixes #45488 .
Fixes #45649 .
Supersedes #67090 .
2026-05-25 00:59:59 -05:00
Dallin Romney
0a50cbdf34
Add TUI PTY integration coverage ( #85485 )
...
* test: add TUI PTY integration coverage
* test: stabilize TUI PTY CI
* test: speed up TUI PTY coverage
* test: bound TUI PTY local waits
* ci: keep TUI PTY gate fast
* test: route TUI PTY project in full suite
* ci: run TUI PTY on routing edits
2026-05-22 13:42:58 -07:00
Alex Knight
e2f82d4d30
test: add mocked Control UI E2E tests and playwright for local verification and development ( #85278 )
...
* test: add control ui mocked e2e
2026-05-22 19:36:38 +10:00
Peter Steinberger
691d62630f
test: keep slow tests under duration cap
2026-05-18 00:26:44 +01:00
Vincent Koc
b5b193076e
test: share repo file helpers
2026-05-17 02:29:55 +08:00
Vincent Koc
cb313d5378
test: share fs scan assertions
2026-05-17 01:35:39 +08:00
Vincent Koc
0e7cc1ca53
fix(test): avoid walking gateway suite targets
2026-05-16 08:47:05 +08:00
Vincent Koc
dd4613a268
fix(test): reduce changed-target import graph IO
2026-05-16 03:47:47 +08:00
Shakker
ef2be8a982
test: tighten script empty array assertions
2026-05-09 04:48:47 +01:00
Vincent Koc
c97998ce21
chore(channels): remove bluebubbles bundled surface
2026-05-07 12:52:48 -07:00
Peter Steinberger
4ec693a81a
test: interleave cold full-suite shards
2026-05-06 06:08:27 +01:00
Peter Steinberger
01dda73e9b
Revert "test: narrow changed-test routing for shared internals"
...
This reverts commit e28ad6a869 .
2026-05-05 21:47:12 +01:00
Peter Steinberger
e28ad6a869
test: narrow changed-test routing for shared internals
2026-05-05 20:12:28 +01:00