openclaw/scripts/e2e
Peter Steinberger 78139787ec
fix: preserve literal paths in Linux service units (#137831)
* fix: preserve literal paths in Linux service units

Render WorkingDirectory and EnvironmentFile as scalar paths rather than
argv words, preserving spaces, quotes, literal percent signs and escaped
glob characters. Normalize authored environment-file declarations once
into the manager's expanded-pattern contract and remove the invalid
unit-relative fallback without weakening effective-service inspection.

Reject trailing-space/tab working directories when generating portable
units: systemd 255 loses those bytes at its executor handoff. Keep authored
metadata rewrites intact, and align the standalone survivor fixture with
native scalar parsing and physical directory traversal.

Proof: 452 passing owner/sibling tests, fail-first regressions, fresh
independent review, local changed checks/build, and 12 matching native
systemd cases with unchanged final rendered bytes. Retain the failed
trailing-whitespace native case and its source-backed rejection coverage.

Fixes #137747

* fix: preserve literal paths in Linux service units

Render WorkingDirectory and EnvironmentFile as scalar paths rather than
argv words, preserving spaces, quotes, literal percent signs and escaped
glob characters. Normalize authored environment-file declarations once
into the manager's expanded-pattern contract and remove the invalid
unit-relative fallback without weakening effective-service inspection.

Reject trailing-space/tab working directories when generating portable
units: systemd 255 loses those bytes at its executor handoff. Keep authored
metadata rewrites intact, and align the standalone survivor fixture with
native scalar parsing and physical directory traversal.

Proof: 452 passing owner/sibling tests, fail-first regressions, fresh
independent review, local changed checks/build, and 12 matching native
systemd cases with unchanged final rendered bytes. Retain the failed
trailing-whitespace native case and its source-backed rejection coverage.

Fixes #137747

* test(daemon): isolate scalar path fixtures from host transport

* test: refresh repository identity fixtures for PR workflows

(cherry picked from commit 89321f81f1)

* test(codex): model background terminal listing in attribution fixture

(cherry picked from commit ecef03a40b67b685f9c941c93000fea982d92125)

---------

Co-authored-by: Jason (Json) <263060202+fuller-stack-dev@users.noreply.github.com>
2026-09-16 14:05:37 -06:00
..
lib fix: preserve literal paths in Linux service units (#137831) 2026-09-16 14:05:37 -06:00
parallels refactor: remove redundant Parallels source checks (#148394) 2026-09-14 13:24:38 -07:00
agent-bundle-mcp-tools-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
agents-delete-shared-workspace-docker.sh
anthropic-cache-live-docker.sh fix(anthropic): preserve cache reuse across transient runtime context (#140621) 2026-09-09 10:35:56 -07:00
anthropic-cache-live.mts fix(release): load frozen Anthropic internals safely (#143810) 2026-09-10 02:02:25 -07:00
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 test(e2e): use default status budget in Bun smoke (#147774) 2026-09-13 21:01:20 -07:00
bundled-plugin-install-uninstall-docker.sh
cli-backend-oauth-mcp-live.mjs
cli-installer-distribution-docker.sh
codex-media-path-docker.sh
codex-npm-plugin-live-docker.sh fix(release): state the Codex smoke container runtime (#149407) 2026-09-15 20:22:39 -07:00
codex-on-demand-docker.sh
compose-setup.sh
config-reload-source-docker.sh fix(tests): fail config reload checks when RPC stays unavailable (#145966) 2026-09-12 05:53:47 -07:00
cron-cli-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
cron-mcp-cleanup-docker-client.ts
cron-mcp-cleanup-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
cron-mcp-cleanup-seed.ts
docker-openai-seed.ts
docker-package-install.sh
docker-selected-plugins.sh
Dockerfile fix(update): explain invalid config during database preflight (#147771) 2026-09-13 22:16:54 -07:00
Dockerfile.qr-import
doctor-install-switch-docker.sh fix(ci): prepare selected release native fixtures (#144338) 2026-09-10 13:26:13 -07:00
fleet-cache-docker.sh
gateway-concurrency-docker.sh
gateway-network-docker.sh fix(ci): preserve frozen source read failures (#142930) 2026-09-09 17:47:21 +09:00
kitchen-sink-plugin-docker.sh
kitchen-sink-rpc-docker.sh
kitchen-sink-rpc-walk.mjs
kitchen-sink-rpc-walk.mts fix(scripts): preserve Bun in the kitchen-sink RPC walk (#149474) 2026-09-16 16:04:15 +08:00
live-plugin-tool-docker.sh
mcp-app-conformance-server.mjs
mcp-channel-limits.ts
mcp-channels-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
mcp-channels-seed.ts
mcp-code-mode-gateway-client.ts improve(ci): report MCP fixture execution evidence (#149692) 2026-09-16 13:10:37 +08:00
mcp-code-mode-gateway-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
mcp-code-mode-gateway-live-docker.sh refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
mcp-code-mode-gateway-seed.ts
mock-openai-server.mjs fix: preserve Windows credential reads with fs-safe 0.12.0 (#149124) 2026-09-16 04:10:09 -07:00
multi-node-update-docker.sh fix(e2e): report completed package installs (#142405) 2026-09-09 03:23:45 +08:00
npm-onboard-channel-agent-docker.sh
npm-telegram-live-docker.sh fix(release): expose private QA SDK manifest in Telegram lane (#148044) 2026-09-14 02:59:36 -07:00
npm-telegram-live-runner.ts fix(release): align frozen 7.33 Docker contracts (#142456) 2026-09-08 13:25:31 -07:00
onboard-docker.sh fix(ci): isolate frozen consumer contracts (#142935) 2026-09-10 03:27:55 +09:00
openai-chat-tools-docker.sh fix: keep cold sessions visible and verify release recovery (#145462) 2026-09-11 20:25:40 -07:00
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 refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
plugin-binding-command-escape.Dockerfile
plugin-lifecycle-matrix-docker.sh
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 refactor(scripts): share release package cleanup (#144798) 2026-09-12 00:16:32 +08:00
release-plugin-marketplace-docker.sh refactor(scripts): share release package cleanup (#144798) 2026-09-12 00:16:32 +08:00
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 refactor(scripts): share release package cleanup (#144798) 2026-09-12 00:16:32 +08:00
release-user-journey-docker.sh refactor(scripts): share release package cleanup (#144798) 2026-09-12 00:16:32 +08:00
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 fix: keep cold sessions visible and verify release recovery (#145462) 2026-09-11 20:25:40 -07:00
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 refactor(scripts): share named container cleanup (#144826) 2026-09-12 00:53:50 +08:00
systemd-sealed-service-definition.sh
telegram-bot-api.ts
update-channel-switch-docker.sh fix(release): admit frozen dirty-block exit contract (#142727) 2026-09-08 18:13:05 -07:00
update-corrupt-plugin-docker.sh
update-first-hop-compat-docker.sh fix: exercise same-version candidates in updater compatibility tests (#142811) 2026-09-08 21:09:38 -07:00
update-run-package-self-upgrade-docker.sh
upgrade-survivor-docker.sh improve(upgrade): cover project workspace startup migration (#150077) 2026-09-16 09:36:42 -07:00