Created
Jun 24, 18:11
Started
Jun 24, 18:11
Completed
Jun 24, 18:59
DevOps handoff
Type
Feature
Shape
backend
Worktree Slug
harden-test-loop-and-seed
Repositories
mcritchie-studio
Release Train
—
Branch
feat/harden-test-loop-and-seed
Local URL
—
QA URL
—
Production URL
—
Acceptance Criteria
Expected Test Plan
Checks Run
Agent Context
Closes two retro frictions from the task-card sessions. #1 TEST INFRA: this env's parallel minitest workers fork-clone the test DB (pg fork-safety) and intermittently deadlock/segfault; orphaned rails-test procs from a killed run then hold the test DB and hang the next run. Fix at the source: test_helper.rb defaults workers to 1 LOCALLY, :number_of_processors only when CI is set, PARALLEL_WORKERS still overrides (matches the existing bin/agent-worktree single-process decision + comment). Single-process also means a killed run leaks at most ONE proc, not 14. Belt-and-suspenders: run_worktree_tests kills orphaned 'rails test' procs whose cwd is this worktree (cmdline+cwd scoped, never the dev server) before running. #4 SPARSE SEED: db/seeds/52_tasks.rb gets a gem-release card (library shape), a full-crew card (TaskEvents across stages → the under-slug crew grid), and a qa-feedback card (Activity) so the board's visual states render without hand-seeding. Tests: [unit] TestParallelism.worker_count; [integration] board seed loads the gem/crew/activity states.
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.