Skip to content

test: delete the arktype schema tests - #55

Open
TheGreatAxios wants to merge 2 commits into
cl-9138-memory-align-runmemorymigrations-to-runmigrationsconfigfrom
cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests
Open

TheGreatAxios wants to merge 2 commits into
cl-9138-memory-align-runmemorymigrations-to-runmigrationsconfigfrom
cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stacked on #54; merge that first.

  • Deletes the arktype schema tests (src/core/schemas/*.test.ts) and the arktype half of src/core/enums.lockstep.test.ts. They tested that arktype validates what each schema declares.
  • Keeps the half of the lockstep test that compares the migration CHECK constraint lists with the TypeScript enum constants, which guards SQL/TypeScript drift. It also pins the rel set, so legacy rels stay rejected.
  • Deletes src/ports/fakes.test.ts and src/ports/mount-fakes.test.ts, which tested the test doubles.

Verification

  • bun run typecheck and bun test ./src pass (418 tests).

Closes CL-9105
Closes CL-9110

@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, two passes.

Verdict: ready for review.

The branch only deletes tests. The SQL-versus-enum lockstep check stays, and the fakes are still used by the plane tests.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests branch from 36ef00c to aa979a3 Compare September 25, 2026 07:02
@TheGreatAxios
TheGreatAxios force-pushed the cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests branch from aa979a3 to a996a95 Compare September 25, 2026 18:31
@TheGreatAxios
TheGreatAxios force-pushed the cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests branch from a996a95 to 245a0c1 Compare September 26, 2026 01:32
@TheGreatAxios TheGreatAxios changed the title Delete arktype schema tests and tests of the port test doubles test: delete the arktype schema tests Sep 26, 2026
The schema tests and the arktype half of the enum lockstep test assert
that arktype validates what each schema declares, which tests the
library rather than this package. The lockstep check that the migration
CHECK constraints match the TypeScript enum constants stays.
These tests exercised the test doubles rather than production code.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9105-memory-delete-arktype-schema-and-enum-lockstep-tests branch from 245a0c1 to efe3a46 Compare September 26, 2026 01:36
@TheGreatAxios
TheGreatAxios added this pull request to stack #61 September 26, 2026 01:57
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