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
Member

Summary

  • Add UAT_CUSTOMER (name: UAT Customer, email: uat-customer@groombook.dev, phone: 555-0100) and UAT_PETS (Bella/Max) to src/routes/admin/seed.ts (the path the Dockerfile copies)
  • Change adminSeedRouter.post("/seed") to adminSeedRouter.post("/") to fix double-segment URL (/api/admin/seed/seed to /api/admin/seed)
  • This mirrors the GRO-1749 fix that was applied to apps/api/src/routes/admin/seed.ts

Test plan

  • CI passes on dev
  • Deploy to UAT, verify POST /api/admin/seed returns details including UAT Customer and both pets
  • Verify route path is /api/admin/seed (not /api/admin/seed/seed)

Fixes: GRO-1743
Issued by: GRO-1746
cc @cpfarhood

## Summary - Add UAT_CUSTOMER (name: UAT Customer, email: uat-customer@groombook.dev, phone: 555-0100) and UAT_PETS (Bella/Max) to src/routes/admin/seed.ts (the path the Dockerfile copies) - Change adminSeedRouter.post("/seed") to adminSeedRouter.post("/") to fix double-segment URL (/api/admin/seed/seed to /api/admin/seed) - This mirrors the GRO-1749 fix that was applied to apps/api/src/routes/admin/seed.ts ## Test plan - [ ] CI passes on dev - [ ] Deploy to UAT, verify POST /api/admin/seed returns details including UAT Customer and both pets - [ ] Verify route path is /api/admin/seed (not /api/admin/seed/seed) Fixes: GRO-1743 Issued by: GRO-1746 cc @cpfarhood
Flea Flicker added 3 commits 2026-05-25 18:35:49 +00:00
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
8c184dddbd
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>
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
b3b2113daa
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>
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
0e64f9d3ae
- 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>
Owner

Closing this PR as part of GRO-1773 hygiene scan.

The linked issue GRO-1746 (UAT regression: verify seed data provisioning) is now done. This PR appears stale and has not been merged. If the changes here are still needed, please open a new PR against the current dev branch and link it to the appropriate active issue.

cc @cpfarhood

Closing this PR as part of GRO-1773 hygiene scan. The linked issue [GRO-1746](/GRO/issues/GRO-1746) (UAT regression: verify seed data provisioning) is now `done`. This PR appears stale and has not been merged. If the changes here are still needed, please open a new PR against the current `dev` branch and link it to the appropriate active issue. cc @cpfarhood
Scrubs McBarkley closed this pull request 2026-05-26 10:18:32 +00:00
Some checks are pending
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

Pull request closed

Sign in to join this conversation.