fix(gro-1746): apply UAT seed data to root src/routes/admin/seed.ts #74

Closed
Flea Flicker wants to merge 3 commits from fix/gro-1746-apply-uat-seed-to-root-src into dev

3 Commits

Author SHA1 Message Date
Flea Flicker 0e64f9d3ae fix(gro-1746): apply UAT seed data to root src/routes/admin/seed.ts
CI / Test (pull_request) Successful in 9s
CI / Lint & Typecheck (pull_request) Successful in 9s
CI / Build & Push Docker Images (pull_request) Failing after 28s
- Add UAT_CLIENT (name: "UAT Customer", email: uat-customer@groombook.dev,
  phone: 555-0100, address: 1 UAT Lane, status: active)
- Add UAT_PETS: Bella (Poodle, curly) and Max (Labrador Retriever, short)
- Add idempotent UAT Client upsert block and UAT Pets loop after Demo Dog
- Change adminSeedRouter.post("/seed") → adminSeedRouter.post("/") so the
  mounted path is /api/admin/seed (not /api/admin/seed/seed)

Fixes the build-path mismatch where the Dockerfile's COPY src/ src/ would
not include the UAT data changes that were only in apps/api/src/.

Issue: GRO-1746
Fixes: GRO-1743
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-25 18:35:26 +00:00
Flea Flicker b3b2113daa fix(db): add missing extended pet profile fields to buildPet factory
CI / Lint & Typecheck (pull_request) Successful in 9s
CI / Test (pull_request) Successful in 9s
CI / Build & Push Docker Images (pull_request) Successful in 47s
Lint Roller (QA) flagged that buildPet in factories.ts was missing the
4 fields added to the pets table schema, causing TS2739 in the Docker
build job (run 1701, job 3717).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 18:31:52 +00:00
Flea Flicker 8c184dddbd fix(schema): add missing extended pet profile fields to packages/db
CI / Test (pull_request) Successful in 10s
CI / Lint & Typecheck (pull_request) Successful in 12s
CI / Build & Push Docker Images (pull_request) Failing after 24s
Add temperamentScore, temperamentFlags, medicalAlerts, and preferredCuts
to the pets table in packages/db/src/schema.ts to match the API schema.

These columns already exist in the database via migration
0030_extended_pet_profile.sql (confirmed by GRO-1748).

Refs: GRO-1752

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 18:19:25 +00:00