Skip to content

Conversation

pascalbaljet
Copy link
Member

This PR addresses issues #703 and builds upon PR #751 and #673.

The Inertia SSR server has a /health endpoint built-in. I've added a isHealthy() method to the HttpGateway that performs a request against that endpoint. Then there's also an inertia:check-ssr Artisan command that's useful for deployments.

@pascalbaljet pascalbaljet changed the title [2x] Added inertia:check-ssr Artisan command and isHealthy() method on HttpGateway [2.x] Added inertia:check-ssr Artisan command and isHealthy() method on HttpGateway Jun 20, 2025
@harrisonratcliffe
Copy link

Thank you 🙏

@pascalbaljet pascalbaljet linked an issue Jun 20, 2025 that may be closed by this pull request
Base automatically changed from ssr-dispatch-without-bundle to 2.x June 26, 2025 07:27
@pascalbaljet pascalbaljet merged commit 40a5639 into 2.x Jun 26, 2025
37 checks passed
@pascalbaljet pascalbaljet deleted the ssr-health-check branch June 26, 2025 07:28
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.

[Feature Request] Ability to check if SSR works
2 participants