Photos legacy-index fixture does not reset current Files migrations #1281

Open
opened 2026-10-07 00:38:15 +00:00 by kayg · 0 comments
Owner

Steps

  1. Run bun e2e/photos.mjs --content-type-only against the current local server.
  2. Let the extensionless media upload checks reach the legacy-index restart fixture.
  3. Observe the SQLite migration reset assertion in apps/web/e2e/photos.mjs.

Expected

The fixture creates the intended legacy Files/Search schema and restarts the server to verify the MIME upgrade.

Actual

The fixture removes Files migration rows 26 and 27, then asserts that the maximum Files migration is 25. Current source also has migration 0028_modified_mtime_lookup.sql, so the assertion fails before the restart. The existing test expectation remains unchanged.

Evidence

artifacts/bash-files/photos/photos-legacy-migration-fixture-postmerge.txt

Severity: minor (legacy-index E2E fixture is stale; it blocks the extensionless startup check).

## Steps 1. Run `bun e2e/photos.mjs --content-type-only` against the current local server. 2. Let the extensionless media upload checks reach the legacy-index restart fixture. 3. Observe the SQLite migration reset assertion in `apps/web/e2e/photos.mjs`. ## Expected The fixture creates the intended legacy Files/Search schema and restarts the server to verify the MIME upgrade. ## Actual The fixture removes Files migration rows 26 and 27, then asserts that the maximum Files migration is 25. Current source also has migration `0028_modified_mtime_lookup.sql`, so the assertion fails before the restart. The existing test expectation remains unchanged. ## Evidence `artifacts/bash-files/photos/photos-legacy-migration-fixture-postmerge.txt` Severity: minor (legacy-index E2E fixture is stale; it blocks the extensionless startup check).
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
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
kayg/calternal-v0#1281
No description provided.