Skip to content

Hackathon reset#59

Open
NoelVarghese2006 wants to merge 11 commits intomainfrom
hackathon-reset
Open

Hackathon reset#59
NoelVarghese2006 wants to merge 11 commits intomainfrom
hackathon-reset

Conversation

@NoelVarghese2006
Copy link
Collaborator

@NoelVarghese2006 NoelVarghese2006 commented Mar 18, 2026

feat(superadmin): add hackathon data reset endpoint and Danger Zone UI

  • add POST /v1/superadmin/reset-hackathon endpoint for transactional data reset

  • implement HackathonStore with atomic truncation of applications, scans, and schedule

  • support selective reset options (applications, scans, schedule, settings)

  • collect resume paths before deletion for cleanup

  • add background GCS deletion for resumes when applications are reset

  • introduce "Danger Zone" tab in Super Admin settings

  • create ResetHackathonCard with:

    • granular reset checkboxes
    • confirmation phrase guard ("RESET HACKATHON")
    • loading + error handling states
  • add unit tests for reset handler:

    • success case
    • transaction failure
    • authorization enforcement
  • update mocks and storage interface to include Hackathon store

  • extend API docs with reset-hackathon endpoint

chore(testing): add assertions for hackathon mock expectations

image image

- Add `POST /v1/superadmin/reset-hackathon` endpoint
- Create `HackathonStore` for transactional data truncation of applications, scans, and schedule
- Implement background GCS file deletion for resume cleanup when applications are reset
- Add "Danger Zone" tab to Super Admin settings dialog
- Create `ResetHackathonCard` component with granular reset options and confirmation guard
@NoelVarghese2006 NoelVarghese2006 linked an issue Mar 18, 2026 that may be closed by this pull request
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.

Implement Hackathon Reset API Endpoint

1 participant