Skip to content

impr(api): add automatic recovery if API panics on a call - #1179

Merged
pandatix merged 1 commit into
mainfrom
impr/api-recovery
Jan 9, 2026
Merged

impr(api): add automatic recovery if API panics on a call#1179
pandatix merged 1 commit into
mainfrom
impr/api-recovery

Conversation

@pandatix

@pandatix pandatix commented Jan 9, 2026

Copy link
Copy Markdown
Member

This PR adds a simple safety measure to avoid availability loss in case an API call make CM panics.

Currently, if something panics on an API call the whole service stops. In case the hosting platform does not recover (e.g. Kubernetes does so, not Docker Compose), the service becomes unavailable. This might be used by attackers to DoS CTF infrastructures.

@pandatix pandatix added go Pull requests that update Go code chall-manager Related to chall-manager labels Jan 9, 2026
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow CI / buf-lint (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJan 9, 2026, 1:25 PM

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 20853227625

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 52.363%

Totals Coverage Status
Change from base Build 20850731374: 0.03%
Covered Lines: 4476
Relevant Lines: 8548

💛 - Coveralls

@pandatix
pandatix requested a review from NicoFgrx January 9, 2026 14:02
@pandatix
pandatix merged commit 05425c0 into main Jan 9, 2026
13 checks passed
@pandatix
pandatix deleted the impr/api-recovery branch January 9, 2026 14:44
mcbloch pushed a commit to mcbloch/chall-manager that referenced this pull request Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chall-manager Related to chall-manager go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants