Skip to content

[2.x] Added inertia:check-ssr Artisan command and isHealthy() method on HttpGateway #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2025

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