openclaw/scripts/e2e
Peter Steinberger 718bf2ccae
refactor(cron): own retained run transcript access (#158776)
* refactor(cron): own retained run transcript access

* fix(cron): preserve worker-owned history visibility and current filters

Prepare exact session sharing facts through the existing history worker and rebuild current job names and filters after awaited preparation. Add packaged cron.history pagination proof and keep the transcript renderer private.

Validation: four registered rename race controls fail before the fix; 15 run-history cases and 280 affected Cron cases pass. Shared worker/caller proof, affected types, lint and independent review pass. Packaged published-updater proof follows on this source.

* refactor(gateway): keep session source requests with store types

Move the unchanged source-discovery request out of its runtime owner so retained-history transport types do not create a static import cycle. Both consumers use the existing store contract module.

Validation: Madge reproduces the cycle on the prior head and passes on both the repaired head and exact CI merge; runtime cycles, core types, lint and independent P2 review pass. Executable ESM is unchanged apart from whitespace, and package proof retains its original source identity.

* fix(gateway): keep history discovery inside its worker dispatcher

Supply canonical lazy source discovery from the admitted history worker. The read-only kernel consumes the callback and retains its per-operation cache without importing acquisition or transcript mutation owners.

Validation: unchanged import guard reproduces eight forbidden paths before the fix and passes after it; 121 focused cases pass with one optional benchmark skip. Real worker compilation, lifecycle, cancellation, cache and source-custody cases, both cycle gates, affected types, lint and fresh independent P2 review pass.

* refactor(gateway): distinguish history reader and request targets

Rename the worker reader target binding so message lookup and recent-page targets retain their existing local names without shadowing. Exact typed lint, formatting and fresh P2 review pass; runtime behavior is unchanged.

* test(gateway): verify store warnings at the collision owner

Keep cached-head history assertions independent of incidental eager discovery and host-only logger mocks. The actual worker still emits the original warning when discovery is needed; verify that exact diagnostic in the existing real collision-owner case alongside target mapping and physical database separation.

Validation: original ordered CI entry reproduced the failure; real chat.history worker diagnostic probe preserved the warning. All 57 focused cursor/collision/source tests pass (141.38s wrapper), both affected type graphs, exact lint and fresh P2 review pass. No production behavior or new fixture boot.
2026-09-26 19:17:22 +00:00
..
lib refactor(cron): own retained run transcript access (#158776) 2026-09-26 19:17:22 +00:00
parallels refactor(parallels): share dev update assertions (#158427) 2026-09-26 07:42:33 +08:00
agent-bundle-mcp-tools-docker.sh
agents-delete-shared-workspace-docker.sh
anthropic-cache-live-docker.sh
anthropic-cache-live.mts
browser-cdp-snapshot-docker.sh fix(ci): preserve browser CDP loader during snapshot smoke (#149813) 2026-09-16 15:19:07 +08:00
browser-plugin-profiles-docker.sh
build-image.sh
bun-global-install-smoke.sh fix(release): require exact per-manager version identity in Docker package acceptance (#138085) 2026-09-20 19:33:31 -06:00
bundled-plugin-install-uninstall-docker.sh
cli-backend-oauth-mcp-live.mjs
cli-installer-distribution-docker.sh refactor(docker): share proof wait loop (#158291) 2026-09-26 13:21:45 +08:00
codex-media-path-docker.sh
codex-npm-plugin-live-docker.sh chore(qa): qualify execution identity across live boundaries (#156033) 2026-09-22 20:15:02 -05:00
codex-on-demand-docker.sh
compose-setup.sh
config-reload-source-docker.sh
container-image-upgrade-docker.sh fix(startup): keep legacy state repair in Doctor (#151025) 2026-09-25 13:43:40 -07:00
cron-cli-docker.sh
cron-mcp-cleanup-docker-client.ts
cron-mcp-cleanup-docker.sh
cron-mcp-cleanup-seed.ts
docker-openai-seed.ts
docker-package-install.sh refactor(docker): share proof wait loop (#158291) 2026-09-26 13:21:45 +08:00
docker-selected-plugins.sh
Dockerfile refactor: run plugins and tooling without TypeScript 6 (#156829) 2026-09-23 22:34:20 -07:00
Dockerfile.qr-import
doctor-install-switch-docker.sh
fleet-cache-docker.sh
gateway-concurrency-docker.sh
gateway-network-docker.sh
kitchen-sink-plugin-docker.sh fix(ui): normalize official plugin icon tiles (#158745) 2026-09-26 01:37:46 -07:00
kitchen-sink-rpc-docker.sh ci: warn on size and performance limits in GitHub Actions 2026-09-23 02:35:32 -07:00
kitchen-sink-rpc-walk.mjs
kitchen-sink-rpc-walk.mts test(core): remove low-value tests (batch d009) (#158725) 2026-09-26 11:08:36 +00:00
live-plugin-tool-docker.sh
mcp-app-conformance-server.mjs
mcp-channel-limits.ts
mcp-channels-docker.sh
mcp-channels-seed.ts
mcp-code-mode-gateway-client.ts refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
mcp-code-mode-gateway-docker.sh
mcp-code-mode-gateway-live-docker.sh
mcp-code-mode-gateway-seed.ts
mock-openai-server.mjs fix: release verification rejects deferred bundle MCP tools (#154964) 2026-09-25 23:14:54 -07:00
multi-node-update-docker.sh
npm-onboard-channel-agent-docker.sh chore(qa): qualify execution identity across live boundaries (#156033) 2026-09-22 20:15:02 -05:00
npm-telegram-live-docker.sh refactor(telegram): persist topic bindings through SQLite workers (#156688) 2026-09-25 04:57:36 -07:00
npm-telegram-live-runner.ts fix(release): project 7.35 package Telegram config (#154546) 2026-09-21 07:28:14 +00:00
onboard-docker.sh
openai-chat-tools-docker.sh
openai-image-auth-docker.sh
openai-web-search-minimal-docker.sh
openwebui-docker.sh
openwebui-probe.mjs
parallels-linux-smoke.sh
parallels-macos-smoke.sh
parallels-npm-update-smoke.sh
parallels-windows-prepare.sh
parallels-windows-smoke.sh
plugin-binding-command-escape-docker.sh
plugin-binding-command-escape.Dockerfile
plugin-lifecycle-matrix-docker.sh ci: warn on size and performance limits in GitHub Actions 2026-09-23 02:35:32 -07:00
plugin-update-unchanged-docker.sh
plugins-docker.sh
qa-cli-onboarding.mjs fix: balance Auto session starts across paired devices (#148099) 2026-09-14 06:46:46 -07:00
qa-plugin-install-sources.mjs
qr-import-docker.sh
release-media-memory-docker.sh
release-plugin-marketplace-docker.sh
release-typed-onboarding-docker.sh fix(release): keep frozen contracts source-cohesive (#148042) 2026-09-14 03:38:35 -07:00
release-upgrade-user-journey-docker.sh
release-user-journey-docker.sh
sandbox-browser-sidecar-docker.sh fix(sandbox): keep file tools aligned with overlapping mounts (#148893) 2026-09-16 15:54:51 +08:00
session-runtime-context-docker-client.ts
session-runtime-context-docker.sh
skill-install-docker.sh fix(e2e): use a maintained ClawHub install fixture (#148902) 2026-09-16 11:57:19 +08:00
system-agent-first-run-docker.sh fix(setup): resume interrupted setup in the approved workspace (#147705) 2026-09-14 10:43:12 +08:00
system-agent-first-run-spec.json
system-agent-rescue-docker-client.ts
system-agent-rescue-docker.sh
systemd-sealed-service-definition.sh
update-channel-switch-docker.sh fix(e2e): give update channel switches their own Docker lane budget (#155961) 2026-09-25 13:18:37 -07:00
update-corrupt-plugin-docker.sh
update-first-hop-compat-docker.sh fix(release): bind update fixtures to source contracts (#157680) 2026-09-24 21:29:32 -07:00
upgrade-survivor-docker.sh refactor: retire the TaskFlow Webhooks plugin (#158225) 2026-09-25 20:29:15 -07:00