Agents Builders

Dedupe release board partials

Archived
dedupe-release-board-partials

Created

Jun 22, 16:59

Started

Jun 22, 16:59

Completed

Jun 22, 18:07

DevOps handoff

Type

Feature

Shape

ui-only

Worktree Slug

dedupe-release-board-partials

Repositories

mcritchie-studio

Release Train

Branch

feat/dedupe-release-board-partials

QA URL

Production URL

ui

Acceptance Criteria

  • Extract shared release summary partial used by both
  • Both partials take release as a local
  • Board output unchanged in current and last sections

Expected Test Plan

  • component

Checks Run

  • [component] tasks_controller_test 40 runs locks #current-release/#last-release + grid; full suite 993 green; byte-diff of populated Current+Last+empty-state vs pre-refactor = identical

Agent Context

Refactor only, ZERO visual/behavior change. _current_release.html.erb and _last_release.html.erb are ~90% duplicate. Extract a shared partial (e.g. _release_summary.html.erb) for the meta row (slug + release_state_classes badge + branch + task count + QA/Prod/SHA/timestamp) AND the member-pill block (_current_release:29-37 == _last_release:24-32 byte-for-byte except text color text-body vs text-muted) — drive the color/label differences via LOCALS (e.g. release:, variant: :current|:last). Dedupe the kickoff-header that repeats inside _current_release across its active (:7-10) and empty-state (:46-49) branches. Fix avi's ivar/local nit: both partials read @current_release/@last_release directly while _board.html.erb passes them as locals — switch the partials to accept release: as a LOCAL and have _board pass it (render 'current_release', release: current_release). Keep the empty-state branch (current nil). The rendered HTML must be byte-equivalent for both populated sections — verify with the existing component tests in test/controllers/tasks_controller_test.rb (they assert #current-release/#last-release, grid wrapper, member pills, empty state). Set devops.local_url to the worktree URL.

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.

No stage changes recorded yet.

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