Skip to content

test: fold duplicate schema and SSE suites - #43

Merged
TheGreatAxios merged 3 commits into
cl-9251-mailbox-replace-exact-pinned-deps-with-caret-ranges-and-movefrom
cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests
Sep 27, 2026
Merged

TheGreatAxios merged 3 commits into
cl-9251-mailbox-replace-exact-pinned-deps-with-caret-ranges-and-movefrom
cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Stacked on build(deps): shared libraries as peers and caret ranges #42.
  • schema-check.test.ts and schema-ddl-parity.test.ts are deleted. Their unique cases (column-type rejection, index parity) move into migrations.test.ts; three cases it already covered are dropped.
  • bus-unsubscribe, sse-heartbeat and sse-stream tests merge into src/sse.test.ts. Two duplicated cases are dropped: bus-level tenant isolation, which the route-level test covers, and the throwing-listener case, merged into the mid-set throw case.
  • The native-store.ts doc comment says why reads use raw sql: schema-check.ts asserts the drizzle table objects at boot.

Verification

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

Closes CL-9270
Closes CL-9272

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review: an independent review pass covered this branch, and every finding is fixed. Build, typecheck and tests pass against real Postgres.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests branch from e01cd9e to a95b5a3 Compare September 25, 2026 15:02
@TheGreatAxios
TheGreatAxios force-pushed the cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests branch from a95b5a3 to 4139e51 Compare September 25, 2026 17:52
@TheGreatAxios
TheGreatAxios force-pushed the cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests branch 2 times, most recently from a671502 to b37ba5a Compare September 26, 2026 01:36
@TheGreatAxios
TheGreatAxios added this pull request to stack #47 September 26, 2026 01:58
The column-type rejection and the schema.ts-vs-DDL index parity are
migration behavior, so they live with the migration suite.

Closes CL-9270.
Subscription, heartbeat and backpressure cases were spread over three
files with overlapping setup and two duplicated cases.

Closes CL-9272.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9270-mailbox-delete-schema-ddl-parity-and-schema-check-tests branch from b37ba5a to 2be4853 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 merged commit ad3dec1 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