Agents Builders

Live animate release deploy

Archived
live-animate-release-deploy

Created

Jun 26, 03:04

Started

Jun 26, 03:05

Completed

Jun 26, 05:05

DevOps handoff

Type

Feature

Shape

ui+db

Worktree Slug

live-animate-release-deploy

Repositories

mcritchie-studio

Release Train

Branch

feat/live-animate-release-deploy

QA URL

Production URL

ui websocket deploy-board

Acceptance Criteria

  • Release state change broadcasts modules over websocket
  • Last Release card animates in on deploy
  • Next Release resets to fresh empty card
  • Open /deployments updates with no page reload
  • Reuses existing live-board animation vocabulary
  • Next Release in-progress timer ticks seconds live

Expected Test Plan

  • [unit] DeploymentsBroadcaster.release_modules broadcasts current+last replace
  • [unit] release_elapsed_clock formats Hh Mm Ss seconds ticker
  • [integration] release ship broadcasts swapped modules to stream
  • [e2e] dev ship animates Last + resets Next; timer ticks seconds

Checks Run

  • [unit] DeploymentsBroadcaster.release_modules + clock helpers (deployments_broadcaster_test, application_helper_test)
  • [component] _current_release renders glow hook + live ticker (application_helper_test)
  • [integration] ship swaps Next/Last modules; dev ship_release (deployments_broadcaster_test, dev/board_controller_test)
  • [e2e] npx playwright test release_ship.spec.js — deploy animates Last + resets Next + timer ticks seconds
  • [suite] full mcritchie-studio suite + e2e green locally
  • [full-suite@8e133022045bee785fc4d47cef45182ebae94429] bin/rails test green
  • [rubocop@8e133022045bee785fc4d47cef45182ebae94429] bin/rubocop clean

Agent Context

TWO cohesive 'live release cards' behaviors shipping in one PR (same surface: _release_summary timing + deploy-board JS). (A) LIVE DEPLOY ANIMATION: Release after_save_commit -> DeploymentsBroadcaster.release_modules broadcasts Turbo REPLACE of #current-release (Release.current) + #last-release (Release.last_shipped) to the existing 'deployments' stream (turbo_stream_from in _board, crew_board==:deploy). Mechanism is Turbo Streams + LiveBoardFx (_deployments_live_fx.html.erb) — extend its turbo:before-stream-render listener to glow(current-release)/burst(last-release) since LiveBoardFx only handles card-* targets in dropzones today. Add data-glow (mascot signature_color) to the #current-release/#last-release outer divs. e2e trigger: new local-only Dev::BoardController#ship_release (mirror generate/move/delete; ships Release.current in-process so async-cable reaches the browser) + a 'Ship release' dev-tools button. On ship Release.current->nil so Next resets to the 'none active' empty card; Last becomes the just-shipped. (B) LIVE SECONDS TICKER: the ACTIVE Next Release timing renders a ticker span (data-release-ticker, data-since=created_at.to_i, data-prefix='in progress · ') showing 'in progress · 7m 23s'; new _release_ticker.html.erb runs setInterval(1s) re-querying [data-release-ticker] (picks up Turbo-swapped cards). Ruby helper release_elapsed_clock/format_elapsed_clock mirrors the JS fmt (Ss / Mm SSs / Hh MMm SSs). Shipped Last Release keeps static 'took Xm' (no tick). Existing tests asserting /\Ain progress · / still pass.

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.

Sizing Avi · PO Dev MEDIUM Actual XL
  1. Created Designed
    K Kingler
    Kingler
    Model
    Duration
    Tokens
    Cost
    Completed Jun 26, 03:04 · 1 day ago
    api
  2. Designed Building
    K Kingler
    Kingler
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    Cost
    Started Jun 26, 03:04
    Completed Jun 26, 03:05 · 1 day ago
    cli
  3. Building Submitted
    K Kingler
    Kingler
    Model
    claude-opus-4-8
    Duration
    about 2 hours
    Tokens
    Cost
    Started Jun 26, 03:05
    Completed Jun 26, 04:36 · 1 day ago
    cli
  4. Submitted Reviewed
    C Carl
    Carl primary
    S Shannon
    Shannon light
    Model
    claude-opus-4-8
    Duration
    5 minutes
    Tokens
    2,793,075
    Cost
    ~$1.89
    Started Jun 26, 04:36
    Completed Jun 26, 04:41 · 1 day ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    1,563,471
    Cost
    ~$0.96
    Started Jun 26, 04:41
    Completed Jun 26, 04:42 · 1 day ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    claude-opus-4-8
    Duration
    23 minutes
    Tokens
    28,750,099
    Cost
    ~$19.82
    Started Jun 26, 04:42
    Completed Jun 26, 05:05 · 1 day ago
  7. Shipped Archived
    Model
    Duration
    about 14 hours
    Tokens
    Cost
    Started Jun 26, 05:05
    Completed Jun 26, 18:43 · about 15 hours ago

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

MEDIUM

Actual

XL