Skip to content

Conversation

@plural-copilot
Copy link

@plural-copilot plural-copilot bot commented Aug 5, 2025

Summary

The current /ping endpoint in the flow-test service intentionally raises an exception every third second, causing intermittent 500 Internal Server Errors. This behavior is triggering production alerts and impacting service readiness and monitoring.

Changes Made

  • Commented out the conditional exception raising block in the /ping endpoint in app/main.py.

Rationale

  • The /ping endpoint is typically used as a health check and must consistently return successful responses.
  • Removing intentional errors prevents false positives in monitoring and alerting.
  • This fix stabilizes the alerting by preventing intermittent failures on a critical readiness endpoint.

After applying this change, redeploy the application to resolve the production 500 error alert on /ping. If error simulation is required, use feature flags or non-production environments.

This is a minimal and safe change to address the root cause of the alert firing.

@michaeljguarino michaeljguarino deleted the plrl/ai/fix/remove-error-in-ping-endpoint-9y7tur branch August 5, 2025 16:58
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