fix(seed): update credential password on re-run instead of skipping (GRO-1977) #121

Merged
Flea Flicker merged 2 commits from flea/gro-1977-seed-idempotency into dev 2026-06-01 00:23:54 +00:00

2 Commits

Author SHA1 Message Date
Flea Flicker 73205bdc18 docs(UAT_PLAYBOOK): note GRO-1977 seed idempotency fix for TC-API-1.4-1.7
CI / Test (pull_request) Successful in 13s
CI / Lint & Typecheck (pull_request) Successful in 15s
CI / Build & Push Docker Images (pull_request) Successful in 1m17s
Updated UAT_PLAYBOOK.md §4.1 — add note that seed credential provisioning
is idempotent and TC-API-1.4 through TC-API-1.7 now return 200 for all
4 UAT personas (previously returned 401 due to frozen-hash bug).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 00:20:08 +00:00
Flea Flicker 24104b3105 fix(seed): update credential password on re-run instead of skipping
- seed.ts: existingAccount branch now re-hashes the current
  SEED_UAT_*_PASSWORD env value and updates the stored credential.
  Re-running the seed now properly rotates credentials.
- seed-uat-credentials.test.ts: AC-5 updated to reflect update
  (not insert) behavior on existing accounts. AC-5b added to verify
  password rotation when re-seeded with a new env password.

Fixes GRO-1977. Unblocks GRO-1969.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 00:20:07 +00:00