chore(uat): GRO-2100 promote uat-groomer seed-linkage ordering fix to uat #154
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dev → uat: GRO-2100 uat-groomer linkage (seed ordering fix)
Promote the seed-ordering fix from PR #153 to
uatso the next hourlyreset-demo-dataCronJob picks up theuat-groomer→ UAT Pup Alpha appointment linkage.What landed in dev
seedUatGroomerLinkage()now runs after the services catalogue is seeded in bothseedKnownUsers()andseed()flows.seedUatStaffAccounts()now returnsPromise<string | null>(the UAT Customer clientId).customerClientIdis null; skip if the linked pet (c0000001-…-0002) is missing.a0000001-0000-0000-0000-000000000001is short-circuited on re-seed.CI on dev
devate9f94a2Why this is safe to ship to UAT
packages/db/src/seed.ts).Post-merge verification (after next reset-demo-data cron)
GET /api/pets/c0000001-…-0002/profile-summaryasuat-groomerrecentGroomingHistory[]non-empty,visitCount >= 1GET /api/pets/c0000001-…-0003/profile-summaryasuat-groomerUnblocks GRO-1987 (TC-UAT-2/3 retest by Shedward).
Refs
UAT_PLAYBOOK.mdTC-UAT-2 / TC-UAT-3 (added in #152)Approved. CI green (lint, typecheck, test, build all pass). Code review:
seedUatGroomerLinkage()was called before the services catalogue existed, causing the service-ID lookup to find nothing and exit silently.uatCustomerClientIdfromseedUatStaffAccounts()and callseedUatGroomerLinkage()from the caller after services are seeded — both inseedKnownUsers()andseed().customerClientIdis correct defensive handling for non-UAT seed profiles.Self-merge and kick the
reset-demo-datacron when ready.