namespaces: stamp plat.sh/repo-id so a same-name re-creation cannot inherit a dying app #211

Open
opened 2026-08-25 15:59:24 +00:00 by plat · 0 comments
Owner

Follow-up to plat/mcp#45. delete_app{repo_deleted} refuses when a repo of the same name exists (safe), but if a user re-creates owner/name before the delete relay lands, the old namespaces/overlay remain and create_app's re-join could attach the new repo to the old app's resources. Stamping the Forgejo repo id on app namespaces at create_app (plat.sh/repo-id) lets deleteApp remove exactly the old repo's resources and lets create_app refuse to re-join a different repo's overlay. Low urgency: needs a re-create within the seconds-long relay window.

Follow-up to plat/mcp#45. delete_app{repo_deleted} refuses when a repo of the same name exists (safe), but if a user re-creates `owner/name` before the delete relay lands, the old namespaces/overlay remain and create_app's re-join could attach the new repo to the old app's resources. Stamping the Forgejo repo id on app namespaces at create_app (`plat.sh/repo-id`) lets deleteApp remove exactly the old repo's resources and lets create_app refuse to re-join a different repo's overlay. Low urgency: needs a re-create within the seconds-long relay window.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-platform/mitosis#211
No description provided.