Skip to content

test: e2e suites in e2e/, units only for load-bearing logic - #46

Merged
TheGreatAxios merged 2 commits into
cl-9243-mailbox-ship-idempotent-sql-migration-files-and-drop-thefrom
cl-mailbox-e2e-test-layout
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
cl-9243-mailbox-ship-idempotent-sql-migration-files-and-drop-thefrom
cl-mailbox-e2e-test-layout

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Stacked on feat(migrations): replay idempotent SQL files instead of a checksum ledger #45.
  • Real-Postgres and mounted-route suites, including the 0.1.0 and pre-0.1.0 upgrade tests, move to e2e/ with the harness in e2e/helpers.ts. bun run test runs ./src; bun run test:e2e runs ./e2e; CI runs both.
  • src/ keeps unit tests for the frame and recipient parsers, the scope and frame-size guards, and migration idempotency and backfills.
  • Deleted: bus schema/op tests, the expectedColumnTypes test (boot-rejection cases cover it), the 25s default heartbeat check, and a duplicate frame-byte cap assert.
  • ARCHITECTURE no longer cites bus.test.ts or a non-existent read-non-utc-session.test.ts.
  • chore(release): 0.2.0 bumps package.json to 0.2.0 and cuts the 0.2.0 CHANGELOG entry.

Verification

CI is green on this branch: install --frozen-lockfile, build, typecheck, test, test:e2e against Postgres, and the Node consumer smoke test.

Closes CL-9350

@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch 2 times, most recently from 5e30455 to ec914e9 Compare September 25, 2026 23:46
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch from ec914e9 to 9301f4c Compare September 26, 2026 00:31
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch 2 times, most recently from 90f9ab5 to b6b831c Compare September 26, 2026 01:36
@TheGreatAxios
TheGreatAxios added this pull request to stack #47 September 26, 2026 01:58
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch 2 times, most recently from 148dbb5 to d0fd08a Compare September 26, 2026 02:29
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch from d0fd08a to fcc9e29 Compare September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios removed this pull request from stack #47 September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios added this pull request to stack #50 September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch from fcc9e29 to a8ab6d2 Compare September 27, 2026 00:45
Real-Postgres and mounted-route suites move to e2e/ (harness in
e2e/helpers.ts), run by `bun run test:e2e`. src/ keeps the frame and
recipient parsers, the scope and frame-size guards, and migration
idempotency and backfills. The pre-0.1.0 upgrade case gets its own e2e
file beside the 0.1.0 one.

Deleted: bus schema/op tests (schema-library behavior),
expectedColumnTypes (a derived constant; the boot-rejection cases cover
it), the 25s default heartbeat check (a per-knob value), and a duplicate
frame-byte cap assert. ARCHITECTURE no longer cites test files that do
not exist.
@TheGreatAxios
TheGreatAxios force-pushed the cl-mailbox-e2e-test-layout branch from a8ab6d2 to ed10020 Compare September 27, 2026 01:23
@TheGreatAxios
TheGreatAxios merged commit bf90619 into main Sep 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant