Created
Jun 29, 06:27
Started
Jun 29, 12:39
Completed
Jun 29, 13:38
DevOps handoff
Type
Feature
Shape
backend
Worktree Slug
avi-heartbeat-workflow
Repositories
mcritchie-studio
Release Slug
—
Branch
feat/avi-heartbeat-workflow
Acceptance Criteria
Expected Test Plan
Checks Run
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.
PR #278 opened against release as a managed draft: https://github.com/amcritchie/mcritchie-studio/pull/278. Local review URL: http://localhost:3007/deployments. Local full suite and rubocop passed; GitHub CI is green; dor-check passed. QA intake status: avi-ready-draft, clean merge, local stack up.
Avi Heartbeat Workflow needs rework before release: bin/avi-heartbeat claims newest submitted PRs first, but submitted_tasks sorts by created_at instead of the board's submitted_at. This breaks the core queue-ordering acceptance when an older task is submitted or resubmitted after newer-created work. Update the sorter to prefer submitted_at with a safe fallback, and add a regression test where an older-created task with a later submitted_at is selected first.
Resolved Avi blocker: bin/avi-heartbeat now orders submitted PRs by submitted_at with created_at fallback. Added regression test for older-created work resubmitted later winning the queue. Rebased on origin/release and force-pushed PR #278 at 5d6025b. Local command test, full suite, rubocop, and dor-check passed.
Final blocker closeout: PR #278 is rebased on current origin/release and force-pushed at 38997dae72b638895a95391486abc6a62d255099. GitHub CI is green, QA intake reports avi-ready/merge=CLEAN/local=up, and http://localhost:3007/up returns 200 after applying the release-duration migration.
Resolved: submitted_sort_time prefers submitted_at with a created_at fallback (bin/avi-heartbeat:200-203), so the newest-SUBMITTED PR is claimed first. Regression: test_prefers_latest_submitted_at_over_task_creation_time selects an older-created/later-submitted task first. Green on main.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
MEDIUM
Dev
MEDIUM
Actual
XL
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.