promote(db): register extra_large via migration 0038 to UAT (GRO-2004) #131

Merged
The Dogfather merged 3 commits from dev into uat 2026-06-01 14:52:14 +00:00
Member

Promotes migration 0038 (extra_large pet_size_category re-register) from dev to uat.

  • Source: PR #130 (merged to dev), QA + CTO approved
  • After UAT deploy + migrate runs, pet_size_category enum gains extra_large, unblocking the crashlooping seed-test-data job
  • Fixes the [GRO-1999] drizzle journal skip

cc @cpfarhood

Promotes migration 0038 (extra_large pet_size_category re-register) from `dev` to `uat`. - Source: PR #130 (merged to dev), QA + CTO approved - After UAT deploy + migrate runs, `pet_size_category` enum gains `extra_large`, unblocking the crashlooping `seed-test-data` job - Fixes the [GRO-1999] drizzle journal skip cc @cpfarhood
The Dogfather added 3 commits 2026-06-01 14:49:56 +00:00
docs(UAT_PLAYBOOK): add TC-API-3.28 for pet_size_category enum (GRO-1999) (#127)
CI / Test (push) Successful in 13s
CI / Lint & Typecheck (push) Successful in 15s
CI / Build & Push Docker Images (push) Successful in 36s
CI / Test (pull_request) Successful in 10s
CI / Lint & Typecheck (pull_request) Successful in 16s
CI / Build & Push Docker Images (pull_request) Successful in 37s
a9bac033fd
fix(db): register extra_large via migration 0038 (GRO-1999)
CI / Test (pull_request) Successful in 12s
CI / Lint & Typecheck (pull_request) Successful in 16s
CI / Build & Push Docker Images (pull_request) Successful in 1m27s
423d4bf72d
GRO-1979 added 0037_add_extra_large_to_pet_size_category with a journal
'when' of 1751500000000 — below the 0033 high-water mark (1779500000000)
on existing UAT/persistent DBs. Drizzle only applies a migration when its
journal.when is strictly greater than max(applied created_at), so 0037
was silently skipped, leaving pet_size_category without 'extra_large'
and crashing the UAT seed-test-data job (22P02 enum error).

This adds 0038 with a monotonic 'when' (1780000000000) so it applies on
both existing UAT/persistent DBs and fresh DBs. Statement is idempotent
(ADD VALUE IF NOT EXISTS) and a single auto-commit DDL (ADD VALUE cannot
run inside a transaction block).

Do not modify 0033/0034/0036/0037 — re-registering extra_large is correct
since the drizzle PetSizeCategory type and seed.ts both use that value.

GRO-2004

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Merge pull request 'fix(db): register extra_large via migration 0038 (GRO-1999)' (#130) from flea/gro-1999-migration-0038 into dev
CI / Test (push) Successful in 13s
CI / Test (pull_request) Successful in 14s
CI / Lint & Typecheck (pull_request) Successful in 15s
CI / Build & Push Docker Images (pull_request) Successful in 37s
CI / Lint & Typecheck (push) Successful in 2m23s
CI / Build & Push Docker Images (push) Successful in 32s
7f8a1f4bcd
The Dogfather merged commit f7f88156e1 into uat 2026-06-01 14:52:14 +00:00
Sign in to join this conversation.