Repository navigation
refactor(persistence): colocate test fixtures and harness - #33233
Conversation
|
No actionable comments were generated in the recent review.
|
Point the imports of persistence-test-harness, persistence-session-fixtures and pty-host-bindings at the paths main moved them to (stablyai#33233, stablyai#33566), and say above each 420 s timeout why the relaunch journey needs it, as main's test-timeout-needs-reason rule (stablyai#33430) asks.
Point the imports of persistence-test-harness, persistence-session-fixtures and pty-host-bindings at the paths main moved them to (stablyai#33233, stablyai#33566), and say above each 420 s timeout why the relaunch journey needs it, as main's test-timeout-needs-reason rule (stablyai#33430) asks.
Point the imports of persistence-test-harness, persistence-session-fixtures and pty-host-bindings at the paths main moved them to (stablyai#33233, stablyai#33566).
Move persistence session fixtures and the test harness into
src/main/persistence/, updating all 158 callers. Remove the harness’smakeTerminalTabre-export so consumers import the concrete fixture owner, and importprofileStateDatabaseFilefrom its defining module.The harness retains its existing shared store state and lifecycle. Existing function bodies, test assertions, mocks, and setup placement are preserved.
Validation: all 1,807 cases across 168 test files pass on both pristine main and the candidate, with matching case results and snapshots. Full typecheck, changed-code quality, formatting, reliability gates, test-file runner checks, two independent source audits, and scoped retained-feature compatibility review pass.