Skip to content

Conversation

@plural-copilot
Copy link

Summary

The /ping endpoint in the FastAPI application is currently raising an exception every third second, which causes about 33% of the requests to fail with HTTP 500 errors. This triggers an alert in the boot-prod cluster for the flow-test workload.

Changes Made

  • Removed the conditional exception in the /ping endpoint that raises Exception("unknown internal error") based on the current time modulo 3.
  • The /ping endpoint now always returns a successful response { "pong": True }.

Rationale

The previous behavior was likely a testing artifact accidentally deployed in production causing a significant error rate and alert firing. This change ensures the /ping endpoint reliably returns success, stopping the alert from firing.

Please deploy this fix promptly to boot-prod to resolve the current alert issue.

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.

2 participants