Skip to content

feat(admin): add competition cancellation endpoint with refunds#521

Merged
Olowodarey merged 3 commits intoArena1X:mainfrom
Samaro1:feat/admin-cancel-competition
Mar 31, 2026
Merged

feat(admin): add competition cancellation endpoint with refunds#521
Olowodarey merged 3 commits intoArena1X:mainfrom
Samaro1:feat/admin-cancel-competition

Conversation

@Samaro1
Copy link
Copy Markdown
Contributor

@Samaro1 Samaro1 commented Mar 30, 2026

This PR adds admin support for cancelling competitions.

Changes included:

Added a new admin endpoint to cancel a competition.
Added an is_cancelled field to competitions with a database migration.
Implemented cancellation logic in admin service with validation checks.
Added participant refund handling (including Soroban refund integration stub).
Added participant cancellation notifications and admin activity logging.
Updated competition listing/status handling to represent cancelled competitions correctly.
Added/updated unit tests for admin controller, admin service, and competitions service.
Validation
Focused unit tests for admin and competition cancellation flows pass

Close #406

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

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

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Mar 31, 2026 1:56pm

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@Samaro1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Samaro1 Samaro1 force-pushed the feat/admin-cancel-competition branch from 7b664f3 to fb37f1d Compare March 31, 2026 13:30
@Olowodarey
Copy link
Copy Markdown
Collaborator

@Samaro1 lint is failing pls fix

@Samaro1
Copy link
Copy Markdown
Contributor Author

Samaro1 commented Mar 31, 2026

@Olowodarey resolved it, please check

@Olowodarey Olowodarey merged commit c3b1d61 into Arena1X:main Mar 31, 2026
6 checks passed
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.

[Backend] Admin Competition Management - Cancel Competition

2 participants