Overlapping Session Handle - #253
Conversation
|
@claude review |
This comment was marked as outdated.
This comment was marked as outdated.
Do not treat sessions in unpublished spaces as conflicts when confirming or switching RSVPs, for non-staff users.
|
|
@claude review |
|
Claude finished @bdlukaa's task in 5m 18s —— View job Code review — Overlapping session handling
Nice, focused change — the model-level 1. Dead end: an already-started conflicting session can never be switched away from
Concrete failure:
Then:
The user is told to switch, and switching is impossible — they can never RSVP to B. Note Either exclude started sessions from 2. The 409 reports one conflict; the switch drops all of them
So a user with two overlapping RSVPs sees a modal naming only the first, taps "switch", and silently loses the second spot too. That's user-visible data loss relative to what they consented to. The 409 body should carry the full conflict list so the modal can enumerate them. Related: reusing 3. The website RSVP flow now hard-blocks with no remedyThe check lives in I understand web is out of scope for the modal, but this behavior change ships to production with this PR, so it's worth deciding deliberately rather than inheriting it. At minimum the message could name the session. Fix this → 4. Locking is careful in
|
/rsvp/{event}/switch gives up spots for any overlapping sessions and attends the given session.
/rsvp/{event} returns an error when there is an overlapping session.