Created
Jun 24, 07:40
Started
Jun 25, 03:56
Completed
Jun 25, 05:32
DevOps handoff
Type
Bug
Shape
backend
Worktree Slug
seed-54-not-idempotent
Repositories
mcritchie-studio
Release Train
—
Branch
feat/seed-54-not-idempotent
Acceptance Criteria
Expected Test Plan
Checks Run
Agent Context
Surfaced during rel-20260624-ea6dc1 QA deploy: merge-docs-reviewer-into-alex's post_deploy_cmd 'bin/rails db:seed' aborted at db/seeds/54_ai_builder_multiple_candidates.rb:232 — ActiveRecord::RecordInvalid 'Github login has already been taken' on rerun against a populated DB. db/seeds.rb loads ALL db/seeds/*.rb in order, so any non-idempotent file breaks the whole db:seed (and db:seed is unsafe as a prod post_deploy_cmd anyway — would inject demo News/Content/Tasks into prod). Fix 54 (and audit siblings) to find_or_create_by/find_or_initialize_by on the unique github_login so reseed is idempotent. Workaround applied for this release: narrowed merge-docs post_deploy_cmd to load only db/seeds/02_agents.rb.
Stage Timeline
Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. — means the agent didn't report that metric.
Conversation
QA review feedback, agent handoffs, and follow-up notes for this task.
No task feedback has been recorded yet.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
—
Dev
—
Actual
—
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.