Skip to content

Flip spawn idle teardown (A4/A5) to reap #1657

Open

Description

@scttfrdmn

Part of the Leave-no-trace epic spore-host/spore-host#752. Design: every spore.host tool removes what it created once nothing it manages is active, after a 24 h grace. The rollout is report mode first, then reap. The boundary spore-host/spawn-instance-boundary is the only permanent piece. Account trust boundary: nothing in a spore.host account may reach 942542972736, so cleanup there is in-account only.

After one release of report logs checks out on dev and the shared beta account. LIVE, with the owner approving the reaper deploy.

Activity

  1. added this to the Leave no trace milestone on Nov 16, 2026
  2. scttfrdmn commented on Nov 20, 2026

    @scttfrdmn
    ContributorAuthor

    Before the reap flip (from #1668): the self-removal run must stop as soon as the one-shot jobs are created. The function is deleted at +2m and its role's policies at +4m, so a long run would lose its permissions partway through. Also add the delete grants for the artifact bucket, the rules and the permissions together with the reap executor. A shared one-shot builder (libs/oneshot; lagotto and spawn have identical copies of about 60 lines) is worth extracting when calque#229 needs it.

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

    component:spawnenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions