cleanup: finish retired-schema forward cleanup coverage #374

Merged
barrettruth merged 1 commit from issue-359-retired-schema-cleanup into main 2026-05-11 21:23:26 +00:00
Owner

Problem

The deployed-schema migration test only exercised a subset of the retired tables tracked by the canonical retired schema list, leaving the forward cleanup path under-covered.

Solution

  • add a new forward migration that drops every retired table in the canonical list with IF EXISTS guards
  • extend the deployed-schema fixture to create every retired table from that list
  • assert the deployed migration removes the full retired table list while preserving the fresh baseline

Verification

  • nix develop --command pnpm exec vitest run tests/core/schema.test.ts --reporter=verbose
  • nix develop --command just ci

Closes #359

## Problem The deployed-schema migration test only exercised a subset of the retired tables tracked by the canonical retired schema list, leaving the forward cleanup path under-covered. ## Solution - add a new forward migration that drops every retired table in the canonical list with `IF EXISTS` guards - extend the deployed-schema fixture to create every retired table from that list - assert the deployed migration removes the full retired table list while preserving the fresh baseline ## Verification - `nix develop --command pnpm exec vitest run tests/core/schema.test.ts --reporter=verbose` - `nix develop --command just ci` Closes #359
cleanup: finish retired schema cleanup coverage
All checks were successful
quality / Test (pull_request) Successful in 17s
quality / Lint (pull_request) Successful in 22s
quality / Build (pull_request) Successful in 45s
352f866e76
barrettruth deleted branch issue-359-retired-schema-cleanup 2026-05-11 21:23:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!374
No description provided.