Skip to content

Fix live tournament roster and group mutation corruption - #20

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-540c
Draft

Fix live tournament roster and group mutation corruption#20
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-540c

Conversation

@cursor

@cursor cursor Bot commented May 25, 2026

Copy link
Copy Markdown

Summary

  • Block guest deletion, group rebalance, and direct team group changes after a tournament has started.
  • Prevent organizer-only PATCH updates from partially persisting before destructive roster removal fails on started tournaments.
  • Refresh match caches after finalized category match edits so downstream bracket resets are shown immediately.
  • Hide guest deletion from the guest management screen once play has started.

Validation

  • npm test -- --run tests/tournamentStartedMutationGuards.test.ts
  • npm test
  • npm run typecheck
  • npm run lint (passes with existing warnings)
Open in Web View Automation 

Co-authored-by: Octavio Frangipani <octapf@users.noreply.github.com>
@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
matchpoint Ready Ready Preview, Comment May 25, 2026 10:45am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant