Skip to content

Define Golden build recovery after delete, revert, or template replacement #2552

Open

Description

@cloudonly

Design question

After Golden Actors move into their template's atespace (#2533), ordinary authorized lifecycle operations can interrupt construction. Define whether the reconciler should recover or fail when it observes DELETING or REVERTING, or when the temporary Actor has been repointed to another template.

The narrowed #2543 retains failure handling for these observed states. It handles ordinary pause/suspend/resume interruptions and preserves the existing creation path when the temporary Actor is already missing. Thus an in-progress deletion and a deletion completed between reconciles can have different outcomes.

Scope

Decide whether to re-drive delete/revert and rebuild the intended temporary Actor, and specify the cleanup and resource-cost limits. Any recovery must invalidate prior warmup and capture approval when the Actor identity, revision, generation, or template changes. It must not adopt a checkpoint from the wrong template.

Keep Actors subject to ordinary lifecycle and ingress policy. Do not restore Golden-specific rejection by atespace or name prefix. Public API preconditions are not a prerequisite; internal workflow parameters can preserve atomic checks.

Cover interrupted operations, controller restart, completed deletion between passes, and repeated external interference. Whole-build timeouts, terminal cleanup, and retry UX belong with #2039.

AI assistance: Codex helped draft this design question.

Activity

  1. cloudonly commented on Oct 14, 2026

    @cloudonly
    ContributorAuthor

    Two non-blocking findings from the #2543 review to fold into this design:

    Updated 2026-10-16: #2543 has since been narrowed, and #2554 is no longer stacked under it. The first finding is obsolete and has been replaced; the second has been corrected. The original text is in the edit history.

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

    area/api-machinerykind/designDesign discussion, investigation, or research required before implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions