Spaces: newly created space doesn't appear; retrying says "Create failed: Conflict" #174
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dogfood note (Nikola): created a folder at the Spaces root (= self-service space creation, #94); it did not show up in the UI. Recreating with the same name → "Create failed: Conflict".
Probable mechanism (to verify): space creation succeeds on the first attempt — IdP group created, owner added, backend dir made — which is why the retry conflicts (the group exists). But the creator's visible spaces come from their resolved groups, and live group resolution (#96) caches per user for 60 seconds; the session snapshot doesn't have the new group either. So the new space is invisible for up to a minute, which reads as "creation failed".
Candidate fixes, in preference order:
Follow-up questions for Nikola:
Retested on v0.6.8 (Nikola) — cannot reproduce; creating a space no longer returns "Conflict" or leaves the space invisible. Likely fixed incidentally along the way (state-in-backend / spaces changes since this was filed).
Closing as cannot-reproduce. Reopen if it recurs — and if so, capture the exact
POST /api/v1/spacesrequest/response and whether a partial space object landed in.cairn-state/.