From 797e086681f0aef37eadf4b83c91e0023743e634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Thu, 15 Oct 2026 13:08:19 +0200 Subject: [PATCH 1/2] refactor(replay): name eight package tests for the module they test Pure renames; each test keeps its content. Co-Authored-By: Claude Opus 5.5 --- ...ckend-vocabulary.test.ts => format-backend-vocabulary.test.ts} | 0 .../{run-script.test.ts => run-script-execution.test.ts} | 0 ...el-projection.test.ts => export-flow-label-projection.test.ts} | 0 ...tions.test.ts => facade-execution-failure-suggestions.test.ts} | 0 ...rt-gestures.test.ts => runtime-port-commands-gestures.test.ts} | 0 .../{runtime-port.test.ts => runtime-port-commands.test.ts} | 0 ...ion.test.ts => runtime-port-geometry-scroll-container.test.ts} | 0 ...on-replay-builtin-vars.test.ts => session-replay-vars.test.ts} | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename packages/ad-script/src/internal/__tests__/{backend-vocabulary.test.ts => format-backend-vocabulary.test.ts} (100%) rename packages/maestro/src/daemon-port/__tests__/{run-script.test.ts => run-script-execution.test.ts} (100%) rename packages/maestro/src/internal/__tests__/{export-label-projection.test.ts => export-flow-label-projection.test.ts} (100%) rename packages/maestro/src/internal/__tests__/{facade-failure-suggestions.test.ts => facade-execution-failure-suggestions.test.ts} (100%) rename packages/maestro/src/internal/__tests__/{runtime-port-gestures.test.ts => runtime-port-commands-gestures.test.ts} (100%) rename packages/maestro/src/internal/__tests__/{runtime-port.test.ts => runtime-port-commands.test.ts} (100%) rename packages/maestro/src/internal/__tests__/{scroll-container-classification.test.ts => runtime-port-geometry-scroll-container.test.ts} (100%) rename packages/replay-port/src/__tests__/{session-replay-builtin-vars.test.ts => session-replay-vars.test.ts} (100%) diff --git a/packages/ad-script/src/internal/__tests__/backend-vocabulary.test.ts b/packages/ad-script/src/internal/__tests__/format-backend-vocabulary.test.ts similarity index 100% rename from packages/ad-script/src/internal/__tests__/backend-vocabulary.test.ts rename to packages/ad-script/src/internal/__tests__/format-backend-vocabulary.test.ts diff --git a/packages/maestro/src/daemon-port/__tests__/run-script.test.ts b/packages/maestro/src/daemon-port/__tests__/run-script-execution.test.ts similarity index 100% rename from packages/maestro/src/daemon-port/__tests__/run-script.test.ts rename to packages/maestro/src/daemon-port/__tests__/run-script-execution.test.ts diff --git a/packages/maestro/src/internal/__tests__/export-label-projection.test.ts b/packages/maestro/src/internal/__tests__/export-flow-label-projection.test.ts similarity index 100% rename from packages/maestro/src/internal/__tests__/export-label-projection.test.ts rename to packages/maestro/src/internal/__tests__/export-flow-label-projection.test.ts diff --git a/packages/maestro/src/internal/__tests__/facade-failure-suggestions.test.ts b/packages/maestro/src/internal/__tests__/facade-execution-failure-suggestions.test.ts similarity index 100% rename from packages/maestro/src/internal/__tests__/facade-failure-suggestions.test.ts rename to packages/maestro/src/internal/__tests__/facade-execution-failure-suggestions.test.ts diff --git a/packages/maestro/src/internal/__tests__/runtime-port-gestures.test.ts b/packages/maestro/src/internal/__tests__/runtime-port-commands-gestures.test.ts similarity index 100% rename from packages/maestro/src/internal/__tests__/runtime-port-gestures.test.ts rename to packages/maestro/src/internal/__tests__/runtime-port-commands-gestures.test.ts diff --git a/packages/maestro/src/internal/__tests__/runtime-port.test.ts b/packages/maestro/src/internal/__tests__/runtime-port-commands.test.ts similarity index 100% rename from packages/maestro/src/internal/__tests__/runtime-port.test.ts rename to packages/maestro/src/internal/__tests__/runtime-port-commands.test.ts diff --git a/packages/maestro/src/internal/__tests__/scroll-container-classification.test.ts b/packages/maestro/src/internal/__tests__/runtime-port-geometry-scroll-container.test.ts similarity index 100% rename from packages/maestro/src/internal/__tests__/scroll-container-classification.test.ts rename to packages/maestro/src/internal/__tests__/runtime-port-geometry-scroll-container.test.ts diff --git a/packages/replay-port/src/__tests__/session-replay-builtin-vars.test.ts b/packages/replay-port/src/__tests__/session-replay-vars.test.ts similarity index 100% rename from packages/replay-port/src/__tests__/session-replay-builtin-vars.test.ts rename to packages/replay-port/src/__tests__/session-replay-vars.test.ts From 80c70afe1b93c3b6aee297c5222e5e4e1c6d400c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Thu, 15 Oct 2026 13:08:56 +0200 Subject: [PATCH 2/2] chore(gates): drop package exports nothing imports session-journal's event-log-lines, event-log-window and event-request, and replay-port's session-test-infrastructure, are imported only by relative path inside their own package. Co-Authored-By: Claude Opus 5.5 --- packages/replay-port/package.json | 4 ---- packages/session-journal/package.json | 12 ------------ 2 files changed, 16 deletions(-) diff --git a/packages/replay-port/package.json b/packages/replay-port/package.json index a2066fced2..a76b534c3a 100644 --- a/packages/replay-port/package.json +++ b/packages/replay-port/package.json @@ -112,10 +112,6 @@ "types": "./src/daemon-port/session-replay-video-recording.ts", "default": "./src/daemon-port/session-replay-video-recording.ts" }, - "./session-test-infrastructure": { - "types": "./src/daemon-port/session-test-infrastructure.ts", - "default": "./src/daemon-port/session-test-infrastructure.ts" - }, "./session-test-outcome": { "types": "./src/daemon-port/session-test-outcome.ts", "default": "./src/daemon-port/session-test-outcome.ts" diff --git a/packages/session-journal/package.json b/packages/session-journal/package.json index d23e2faf8c..d5b68fbd98 100644 --- a/packages/session-journal/package.json +++ b/packages/session-journal/package.json @@ -16,18 +16,6 @@ "types": "./src/session-event-log.ts", "default": "./src/session-event-log.ts" }, - "./session-event-log-lines": { - "types": "./src/session-event-log-lines.ts", - "default": "./src/session-event-log-lines.ts" - }, - "./session-event-log-window": { - "types": "./src/session-event-log-window.ts", - "default": "./src/session-event-log-window.ts" - }, - "./session-event-request": { - "types": "./src/session-event-request.ts", - "default": "./src/session-event-request.ts" - }, "./session-event-action": { "types": "./src/session-event-action.ts", "default": "./src/session-event-action.ts"