FOUR-32945: Octane: Create a health check for Octane installation - #9037
Open
rodriquelca wants to merge 2 commits into
Open
FOUR-32945: Octane: Create a health check for Octane installation#9037rodriquelca wants to merge 2 commits into
rodriquelca wants to merge 2 commits into
Conversation
|
pmPaulis
approved these changes
Sep 7, 2026
Contributor
|
QA server K8S was successfully deployed https://ci-64d58bde37.engk8s.processmaker.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Issue & Reproduction Steps
Octane/FrankenPHP can return HTTP 500 while CLI PHP looks fine: worker ignores system php.ini, and OCTANE_* limits only apply with the project Caddyfile. No quick way to verify Octane health or worker config.
Solution
Start Octane with --caddyfile=Caddyfile.
heartbeat.mov
How to Test
run
`# Unit + feature tests
./vendor/bin/phpunit tests/Feature/Console/OctaneHeartbeatCommandTest.php tests/unit/ProcessMaker/Health/
Liveness (Octane must be running)
php artisan octane:start --server=frankenphp --caddyfile=Caddyfile
php artisan octane:heartbeat # Status: ALIVE
php artisan octane:heartbeat -q # octane:heartbeat: alive (...)
Readiness (DB/Redis)
php artisan octane:heartbeat --ready # Platform checks: Database OK, ...
php.ini diagnostic
php artisan octane:heartbeat --php-ini # tables + exit 1 if worker ≠ .env
HTTP endpoint
Related Tickets & Packages
Code Review Checklist
ci:deploy