test(federation): standalone regression canary — no breakage from M1 (FED-M1-09) #478

Merged
jason.woltje merged 2 commits from feat/federation-m1-regression into main 2026-04-20 01:46:38 +00:00
Owner

Summary

FED-M1-09 — Standalone regression canary. Verifies the existing standalone and local tier behaviors did not break under M1's shared-path changes (packages/storage/, packages/db/ test-utils, gateway tier-detector wiring, config schema additions).

Approach

This is a verification milestone, not a code milestone. No new tests, no new code paths — re-ran the existing test suites that exercise the standalone/local paths against the current main (with M1-01 → M1-08 all merged).

Results

Suite Files Tests Skipped
Gateway __tests__/ (4 target files) 4 passed 148 passed 0
Gateway full suite 21 passed 351 passed 4 (FEDERATED_INTEGRATION-gated)
Storage unit tests 5 passed 85 passed 1 (integration-gated)
pnpm test (top-level) 38 tasks successful all green only env-gated skips

Quality gates: pnpm typecheck PASS · pnpm lint PASS · pnpm format:check PASS

Coverage notes

  • conversation-persistence.test.ts — standalone conversation write/read cycle
  • cross-user-isolation.test.ts — cross-user data boundary enforcement
  • resource-ownership.test.ts — resource ACL for standalone tier
  • session-hardening.test.ts — session token validation
  • tier-detection.spec.ts — standalone/local tier path detection (along with federated)
  • pglite.test.ts — PgliteAdapter CRUD/transaction/migrate
  • postgres.spec.ts — PostgresAdapter unit tests

Conclusion

No regression in standalone or local tier behavior. Federation M1 changes are non-disruptive to the existing tier paths. M1 implementation can proceed to M1-10 (security review) and M1-11 (docs) before milestone close.

Test plan

  • CI green
  • No further validation needed — this PR is the validation record itself

Refs #460

## Summary FED-M1-09 — Standalone regression canary. Verifies the existing `standalone` and `local` tier behaviors did not break under M1's shared-path changes (`packages/storage/`, `packages/db/` test-utils, gateway tier-detector wiring, config schema additions). ## Approach This is a verification milestone, not a code milestone. No new tests, no new code paths — re-ran the existing test suites that exercise the standalone/local paths against the current `main` (with M1-01 → M1-08 all merged). ## Results | Suite | Files | Tests | Skipped | | --- | --- | --- | --- | | Gateway `__tests__/` (4 target files) | 4 passed | 148 passed | 0 | | Gateway full suite | 21 passed | 351 passed | 4 (FEDERATED_INTEGRATION-gated) | | Storage unit tests | 5 passed | 85 passed | 1 (integration-gated) | | `pnpm test` (top-level) | 38 tasks successful | all green | only env-gated skips | Quality gates: `pnpm typecheck` PASS · `pnpm lint` PASS · `pnpm format:check` PASS ## Coverage notes - `conversation-persistence.test.ts` — standalone conversation write/read cycle - `cross-user-isolation.test.ts` — cross-user data boundary enforcement - `resource-ownership.test.ts` — resource ACL for standalone tier - `session-hardening.test.ts` — session token validation - `tier-detection.spec.ts` — standalone/local tier path detection (along with federated) - `pglite.test.ts` — PgliteAdapter CRUD/transaction/migrate - `postgres.spec.ts` — PostgresAdapter unit tests ## Conclusion **No regression in standalone or local tier behavior.** Federation M1 changes are non-disruptive to the existing tier paths. M1 implementation can proceed to M1-10 (security review) and M1-11 (docs) before milestone close. ## Test plan - [ ] CI green - [ ] No further validation needed — this PR is the validation record itself Refs #460
jason.woltje added 2 commits 2026-04-20 01:46:29 +00:00
Formatting drift in docs/scratchpads/mvp-20260312.md caused format:check
to fail; applied pnpm format to bring it into compliance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs(federation): record M1-08 + M1-09 completion in TASKS.md (FED-M1-09)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
fd052c9a7b
M1-09 standalone regression canary ran clean against current main:
- 4 gateway __tests__ files (148 tests)
- Full gateway suite (351 tests, 4 FEDERATED_INTEGRATION-gated skipped)
- All 5 storage unit specs (85 tests, 1 integration skipped)
- Top-level pnpm test all green

No standalone regression. Federation M1 implementation does not break
existing standalone or local tier behavior.

Refs #460
jason.woltje merged commit 1e2b8ac8de into main 2026-04-20 01:46:38 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#478