Skip to content

Studio schedules: stable identity and user-visible rename #2145

Open

Description

@kantord

Outcome

Studio can rename a schedule without changing its durable identity, authority, placement, firing state, or run-history association.

Context

Follow-up to #1852. The current schedule API treats name as the unique immutable key and exposes no rename operation. #1852 therefore keeps names immutable rather than emulating rename with create-then-delete.

A client-side create/delete sequence is not rename: it can lose or split run history, reset state or placement, and leave both schedules after a partial failure.

Design question

Determine whether user-visible rename should be:

  • an atomic backend rename of the durable schedule key; or
  • a displayName / name split, where name remains the unique immutable backend identifier and displayName is mutable presentation text.

Prefer the display-name split if backend references, stores, placement, or fire history require the unique name to remain stable.

Scope

  • Define stable identity and collision semantics.
  • Preserve verified ownership, private placement, enabled/paused and firing state, counters, and existing fire-history associations.
  • Expose capability-gated BFF and Studio behavior without broadening schedule authority.
  • Define URL behavior and migration for existing schedules.
  • Reject create-then-delete emulation.

Acceptance

  • Renaming presentation never creates a second unattended schedule or loses history.
  • Partial failure cannot expose two active identities for one requested rename.
  • Existing schedule references remain valid or have an explicit atomic migration.
  • Unsupported deployments expose a closed capability with a usable reason.

Parent: #1736
Follow-up to: #1852

Metadata

Metadata

Assignees

No one assigned

    Labels

    WebUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions