Skip to content

[Sites] Schedule Sites launches and restore previous published versions #2100

Open

Description

@sidneyswift

Parent epic: #2093

Priority

P2 — Later expansion or nonblocking follow-up.

User story

As a release manager, I want launch timing and a way to recover from a bad update.

User journey

Review a draft → schedule its exact revision for release day → inspect pending launch → cancel or reschedule → after launch restore the previous version if needed.

Acceptance criteria

  • Schedule with an explicit timezone and preview the equivalent timestamp; show scheduled, running, published, canceled, and failed states.
  • Bind each scheduled launch to the reviewed snapshot/revision; later edits must not silently change what is scheduled.
  • Execute idempotently using Vercel Workflows in the API, with authorization re-checks, cancellation, failure visibility, and audit history.
  • Retain bounded published-version history and let an authorized user restore a selected version after previewing it.
  • Expose scheduling/history/restore via API and MCP; require an explicit publish/schedule/restore action.

Owning code

API workflows and lifecycle operations; database version/schedule records; chat launch/history UI; docs.

Use the epic's API-first/MCP, workspace authorization, database migration, docs, and explicit-publishing requirements.

Blocking dependencies

These are completion prerequisites, mirrored in GitHub’s blocked-by links. Design and contract work may start earlier. Other coordination references are not blockers.

Validation

Test daylight-saving/timezone cases, duplicate delivery, revoked access, cancel-versus-execute races, concurrent revisions, failure recovery, and restoration.

Platform foundation alignment

This remains part of Sites epic #2093. Recoup Sites and external apps must share primitives, authorization, and billing. Coordinate with:

The Blocking dependencies section is authoritative. Campaign release follows the external integration proof gate; independent design/test work can proceed earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P2Later expansion or nonblocking follow-up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions