Skip to content

Conversation

@PavanKalisetti
Copy link
Contributor

  • This PR adds a case for the /api/ping route within the MiscHandler. It was previously unhandled, causing it to fall through to the default error case.
  • Currently, any service trying to use /api/ping as a health or readiness check receives a 500 error. This causes deployment and monitoring workflows (like the initial sandbox readiness probe) to fail. This change ensures the endpoint behaves as expected by aliasing it to the existing /api/health functionality.

The /api/ping endpoint was unhandled in the MiscHandler, causing readiness probes to fail with a 500 error. This change routes the endpoint to the existing health check handler, ensuring it returns a successful 200 OK response.
@changeset-bot
Copy link

changeset-bot bot commented Nov 30, 2025

🦋 Changeset detected

Latest commit: e7a67d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/sandbox Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ghostwriternr ghostwriternr merged commit 059963e into cloudflare:main Dec 4, 2025
@ghostwriternr
Copy link
Member

Thanks for the fix, @PavanKalisetti !

@github-actions github-actions bot mentioned this pull request Dec 4, 2025
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.

3 participants