Skip to content

[Release Packs][RP-08] Measure the first usable asset and full-pack completion #2262

Open

Description

@sswiftdrtv

Parent epic: #2254

Work package: RP-08 · Depends on: RP-03, RP-05

Problem and deliverable

Record existing job timestamps/events for intent/intake readiness, connection wait, approval, first inspected usable asset, full completion, export retrieval, failure and retry. Reuse existing observability; do not add a separate analytics product.

Files

  • api/lib/content/packs/recordPackMilestone.ts (new)
  • api/lib/content/packs/getPackProgress.ts (new)
  • api/lib/content/packs/__tests__/packMilestones.test.ts (new)
  • Marketing maintained release-pack documentation

Action items

  • Record existing job timestamps/events for intent/intake readiness, connection wait, approval, first inspected usable asset, full completion, export retrieval, failure and retry. Reuse existing observability; do not add a separate analytics product.
  • Separate user-wait, provider-render and active-processing time. Distinguish requested/generated/QA-passed assets and unique pieces versus variants.
  • Return progress with what exists, what is running and the exact blocker. Do not show a fabricated countdown or call a partly generated pack complete.
  • Use first inspected usable asset plus caption as the initial activation definition; track completion/export/repeat jobs separately. Treat roughly five minutes as a proposed first-asset target until measured, not a marketing promise.

Done when

  • A failed QA result cannot emit first-usable-asset or full-pack-completed.
  • Retries do not inflate activation or output counts; disconnect/idle intervals do not masquerade as provider latency.
  • Milestone data carries IDs/status/timings, not raw private audio, full briefs, tokens or unnecessary customer text.

Validation

  • Provider-free milestone/state tests cover partial jobs, retries, failed QA, user wait, export retrieval and duplicate events.
  • Read back one actual smoke-test job timeline under RP-09.

Source references and boundaries

Re-read current main and existing related PRs before implementation. New files listed above are proposed implementation locations. Use the owning repository's feature branch and PR; update the parent PR matrix as soon as a PR opens. No shipped or live behavior is implied by this ticket. Store/legal/provider and real-account evidence remain distinct from source checks.

Activity

  1. sidneyswift commented on Nov 6, 2026

    @sidneyswift
    Collaborator

    Shipped: saved progress readback with requested, generated, QA-passed and usable counts, blockers and evidence-bound milestones (recoupable/api#1210, recoupable/api#1211, recoupable/docs#28, recoupable/docs#29).

    Wait, render and processing durations are not measured yet and return null. No live job timeline has been checked.

    Left: measured timing separation and a live job readback. Drafts recoupable/api#1179 and recoupable/docs#21 are covered by the merged work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions