Files
delivery-app-api/docs/repository-split-verification.md
T

19 lines
2.1 KiB
Markdown

# Repository split verification — 2026-09-07
The original model-app checkout is retained. Web source/assets, API business/auth/sync code, shared contracts and all nine migrations were compared byte-for-byte against it. Only API root/env path resolution and frontend Vite config paths changed to accommodate flat repositories. No working database was reset. No NAS deployment was performed.
Verified locally:
- Shared: strict typecheck/build and 3 published-contract tests.
- Web: typecheck/build and 16 unit tests.
- API: typecheck/build, 6 unit tests and 19 integration tests using model_delivery_test.
- Cross-repository Chromium: all 5 existing browser tests passed, covering SSO/recovery, offline entry, offline customer/delivery creation, reconnect, archival, conflicts and cancellation.
- Mobile: strict typecheck, 3 URL-configuration tests, iOS and Android Metro bundle exports, and all 21 Expo doctor checks passed.
- Separate web/API checkouts staged and built a Linux/amd64 standalone image with Podman in Docker image format.
- The actual image passed isolated MariaDB migration/seed/readiness, public/admin routing, secure recovery-cookie and healthcheck tests. A gateway failure stopped the container; restarting preserved the account, and graceful shutdown exited successfully.
- Publish candidates were checked against local environment secret values. Environment files, database state, signing materials, dependency directories and generated build outputs are excluded. Shared dist is intentionally tracked for immutable Git dependencies.
Mobile verification does not include Xcode/Gradle compilation, signing, a device installation, visual inspection of Liquid Glass, or native SSO/offline behavior. Those remain required before mobile distribution. The mobile repository is a foundation with a read-only readiness check, not a replacement for the operational PWA yet.
The shared release is pinned to Git revision 9133b921a713b35c46a138f9e83d1ccfbf56417e (v0.1.0) in all three consumers. See each repository's README for reproducible commands and the API README for single-image staging.