GRO-1955: hotfix seed.ts broken uc reference in random pet batch #112
Reference in New Issue
Block a user
Delete Branch "flea/GRO-1955-fix-uc-undefined-seed"
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?
Fix summary
Removes undefined
uc.petNamereferences (lines 970/973) that were introduced by GRO-1949 in the random pet batch loop.Root cause: The
medicalAlertsIIFE in the random pet generation loop referenceduc.petName, butucis only defined in the UAT client loop (for (const uc of uatClients)at line 1056) — it is out of scope in the random batch loop. This broke typecheck in CI.What changes:
uc.petName === "TestCooper"/uc.petName === "TestRocky") from the random pet batch IIFEuatClientsloop (lines 1073–1078) whereucis in scopeFiles changed:
packages/db/src/seed.ts— 16 lines removed (no net new lines)Verification
pnpm --filter @groombook/db typecheckexits 0UAT playbook impact
No user-facing behaviour changed — only a type-check regression was fixed.