openclaw/scripts/e2e/lib
Peter Steinberger e580275464
feat(tooling): enforce noUncheckedIndexedAccess in the scripts lane (NUIA phase 5) (#105180)
* feat(tooling): enforce noUncheckedIndexedAccess in the scripts lane

Burns down all 153 scripts-lane errors (bench aggregation, release
checks, i18n inventories, argv indexing) and flips the flag in
tsconfig.scripts.json. Direct-Node-executed release harness scripts use
local narrowing instead of workspace imports, which do not resolve
under plain node execution. Benchmark measured loops untouched.

* fix(scripts): import expect helpers via relative package sources

tsconfig path aliases resolve from cwd under tsx, so release wrapper
scripts running against old release target cwds could not resolve
@openclaw/normalization-core (not a linked root dependency). Relative
package-source imports match the established pattern on the adjacent
lines and are cwd-independent; old-target planning verified directly.
2026-07-12 10:17:00 +01:00
..
browser-cdp-snapshot fix(e2e): reject invalid mock fixture ports 2026-06-18 20:28:20 +02:00
bun-global-install fix: restore release validation on main (#102516) 2026-07-09 09:39:08 +01:00
bundled-plugin-install-uninstall fix(plugins): resolve taskkill in bundled runtime smoke 2026-06-21 09:56:30 +02:00
codex-media-path chore: migrate active GPT-5.5 references to GPT-5.6 (#104452) 2026-07-11 06:30:57 -07:00
codex-npm-plugin-live fix(ci): validate sqlite Codex transcripts 2026-07-12 16:15:44 +08:00
codex-on-demand chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
config-reload chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
docker-artifact-proof chore(docker): execute Compose and package artifact proofs (#101045) 2026-07-06 13:05:34 -07:00
docker-selected-plugins fix(docker): package selected external plugins in source-built images (#103629) 2026-07-10 13:00:50 +01:00
docker-stats fix(e2e): reject loose docker stats CPU samples 2026-06-18 20:57:55 +02:00
doctor-install-switch fix(doctor): keep automated repair from moving approval state (#103353) 2026-07-10 05:42:36 +01:00
fixtures fix(qa): restore OpenAI web search smoke 2026-07-12 07:17:48 +02:00
gateway-network chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
kitchen-sink-plugin fix(e2e): verify ClawHub install path containment 2026-06-20 08:21:06 +02:00
live-plugin-tool fix(ci): align scheduled e2e checks with sqlite sessions 2026-07-12 15:22:37 +08:00
npm-onboard-channel-agent chore: migrate active GPT-5.5 references to GPT-5.6 (#104452) 2026-07-11 06:30:57 -07:00
npm-telegram-live docs: document e2e helpers 2026-06-05 00:04:03 -04:00
onboard chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
openai-chat-tools fix(e2e): reject unsafe chat tools body lengths 2026-06-20 03:09:51 +08:00
openai-web-search-minimal fix(qa): restore OpenAI web search smoke 2026-07-12 07:17:48 +02:00
openwebui chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
parallels-package docs: document e2e helpers 2026-06-05 00:04:03 -04:00
plugin-lifecycle-matrix fix(e2e): install lifecycle signal handlers before sampling 2026-07-12 04:28:22 +02:00
plugin-update test(e2e): parse corrupt plugin timeouts as decimal 2026-07-07 12:03:11 +02:00
plugins fix(release): validate exact prepared npm package sets (#102759) 2026-07-09 05:19:24 -07:00
release-media-memory chore: migrate active GPT-5.5 references to GPT-5.6 (#104452) 2026-07-11 06:30:57 -07:00
release-plugin-marketplace
release-scenarios test(e2e): follow quickstart hook defaults 2026-07-05 09:36:55 +02:00
release-typed-onboarding test(e2e): follow quickstart hook defaults 2026-07-05 09:36:55 +02:00
release-upgrade-user-journey fix(channels): keep ownerless config visible but undeliverable 2026-06-22 19:12:05 +08:00
release-user-journey chore: migrate active GPT-5.5 references to GPT-5.6 (#104452) 2026-07-11 06:30:57 -07:00
skills fix(e2e): reject escaped skill info paths 2026-06-20 08:31:42 +02:00
update-channel-switch docs: document e2e helpers 2026-06-05 00:04:03 -04:00
upgrade-survivor fix(ci): align scheduled e2e checks with sqlite sessions 2026-07-12 15:22:37 +08:00
agent-turn-output.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
agent-turn-output.mjs fix(e2e): ignore embedded diagnostic reply json 2026-06-20 16:26:00 +02:00
auth-profile-store-assertions.mjs fix(test): validate auth profile env refs 2026-06-06 23:09:43 +02:00
bounded-response-text.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
bounded-response-text.mjs fix(e2e): reject unsafe bounded response text lengths 2026-06-20 04:20:02 +08:00
clawhub-fixture-server.cjs fix: rebase clawhub install trust (#81364) 2026-06-26 18:33:19 +10:00
codex-install-utils.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
codex-install-utils.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
env-limits.d.mts chore(tooling): typecheck scripts/** with a dedicated tsgo lane (#104348) 2026-07-11 02:31:17 -07:00
env-limits.mjs fix(e2e): reject invalid mock fixture ports 2026-06-18 20:28:20 +02:00
fixture.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
gateway-frame-payload.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
gateway-frame-payload.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
incremental-line-reader.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
incremental-line-reader.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
mcp-code-mode-probe-server.ts refactor(scripts): dedupe mcp code-mode fixture 2026-06-18 12:14:01 +08:00
mcp-code-mode-validation.ts fix(qa): require MCP API list evidence 2026-06-23 15:20:29 +02:00
mock-openai-http.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
mock-openai-http.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
package-compat.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00
package-git-fixture.mjs fix(e2e): stage ai runtime in git fixtures 2026-07-05 13:25:36 +02:00
parallels-macos-common.sh refactor(parallels): remove unused macOS exec wrapper 2026-06-23 06:00:26 +08:00
parallels-package-common.sh refactor(parallels): remove orphaned package shell helpers 2026-06-23 05:48:27 +08:00
plugin-index-sqlite.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
plugin-index-sqlite.mjs fix(scripts): bound plugin install index artifacts 2026-06-16 06:43:01 +02:00
release-assertion-files.mjs refactor(scripts): dedupe release assertion readers 2026-06-18 12:17:32 +08:00
run-with-pty.mjs fix(e2e): reap signaled PTY command trees 2026-06-20 12:20:16 +02:00
session-log-mentions.ts feat(tooling): enforce noUncheckedIndexedAccess in the scripts lane (NUIA phase 5) (#105180) 2026-07-12 10:17:00 +01:00
temp-state-dir.ts refactor(deadcode): localize script helper types (#101917) 2026-07-07 16:59:51 -07:00
text-file-utils.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
text-file-utils.mjs fix(scripts): bound plugin install index artifacts 2026-06-16 06:43:01 +02:00
websocket-open.d.mts chore(tooling): typecheck root test/** with a dedicated tsgo lane (#104475) 2026-07-11 06:15:41 -07:00
websocket-open.mjs docs: document e2e helpers 2026-06-05 00:04:03 -04:00