feat(dev): just verify-demo for the demo seed + import/export path (PMS-677) #456

Merged
nrupard merged 1 commit from feat/PMS-677-verify-demo-recipe into main 2026-07-21 21:56:30 +02:00
Owner

Context (PMS-677)

Verifying the demo-critical path (demo seeding + tenant import/export) before the demo build. The functionality already ships; this confirms it and adds a one-command re-check.

Verified

Ran the two suites against a throwaway Postgres mirroring CI (#[sqlx::test], per-test DB, auto-migrated):

  • tests/seed_demo.rs - 4/4 pass (SeedService::ensure_demo_seeded produces the demo company / contacts / tickets; the clean-baseline vs QA separation holds).
  • tests/data_transfer.rs - 1/1 pass (the /data/export -> /data/import round-trip: data preserved, ids remapped, no secret columns leaked).

Change

Adds just verify-demo - a targeted subset of test-integration running exactly those two suites, so the seed + import/export path can be re-checked fast before building the demo. Same Postgres-backed compose setup; justfile parses and lists the recipe.

## Context (PMS-677) Verifying the demo-critical path (demo seeding + tenant import/export) before the demo build. The functionality already ships; this confirms it and adds a one-command re-check. ## Verified Ran the two suites against a throwaway Postgres mirroring CI (`#[sqlx::test]`, per-test DB, auto-migrated): - `tests/seed_demo.rs` - **4/4 pass** (`SeedService::ensure_demo_seeded` produces the demo company / contacts / tickets; the clean-baseline vs QA separation holds). - `tests/data_transfer.rs` - **1/1 pass** (the `/data/export` -> `/data/import` round-trip: data preserved, ids remapped, no secret columns leaked). ## Change Adds `just verify-demo` - a targeted subset of `test-integration` running exactly those two suites, so the seed + import/export path can be re-checked fast before building the demo. Same Postgres-backed compose setup; justfile parses and lists the recipe.
feat(dev): add just verify-demo for the demo-critical seed + import/export path (PMS-677)
All checks were successful
E2E / Playwright against staging (pull_request) Successful in 36s
Check / fmt + clippy + build + tests (pull_request) Successful in 1m16s
Create release / Gate (release-branch merges only) (pull_request) Successful in 0s
Create release / Create release from merged PR (pull_request) Has been skipped
Integration / integration tests (pull_request) Successful in 7m29s
5713f70fda
PMS-677 verification. The demo-critical path is already covered by integration tests: tests/seed_demo.rs (4 cases: SeedService::ensure_demo_seeded produces the demo company/contacts/tickets) and tests/data_transfer.rs (the export -> import round-trip via /data/export + /data/import, with id remapping and no secret leakage). Ran both against a throwaway postgres mirroring the CI setup - all 5 pass.

Add a targeted `just verify-demo` recipe (a fast subset of `test-integration`, same Postgres-backed setup) so the seed + import/export path can be re-checked in one command before building the demo.

#PMS-677

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nrupard deleted branch feat/PMS-677-verify-demo-recipe 2026-07-21 21:56:30 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
psa-systems/mokosh-server!456
No description provided.