Skip to content

Fix live tournament structural mutation guards - #6

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-6323
Draft

Fix live tournament structural mutation guards#6
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-6323

Conversation

@cursor

@cursor cursor Bot commented May 9, 2026

Copy link
Copy Markdown

Summary

  • Block guest deletion once a tournament has started so live teams are not dissolved while matches still reference them.
  • Block group rebalancing after tournament start or once scoring has begun, preventing group/match/standings corruption.
  • Hide the rebalance CTA after tournament start and add focused mutation guard tests.

Validation

  • npm test -- tests/tournamentMutationGuards.test.ts
  • npm run typecheck
  • npm test
Open in Web View Automation 

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

vercel Bot commented May 9, 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 9, 2026 10:39am

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