Page MenuHomePhorge

./artisan status:health: check every backend instead of just one
ClosedPublic

Authored by mollekopf on Mar 27 2023, 10:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 4, 7:00 PM
Unknown Object (File)
Sat, Dec 2, 3:08 AM
Unknown Object (File)
Wed, Nov 29, 7:30 PM
Unknown Object (File)
Sat, Nov 25, 8:49 AM
Unknown Object (File)
Fri, Nov 24, 2:58 AM
Unknown Object (File)
Thu, Nov 16, 5:15 PM
Unknown Object (File)
Thu, Nov 16, 5:15 PM
Unknown Object (File)
Wed, Nov 8, 6:52 PM
Subscribers

Details

Diff Detail

Repository
rK kolab
Branch
dev/mollekopf
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/app/Console/Commands/Status/Health.php:158phpstanVariable $response might not be defined.
Unit
No Test Coverage
Build Status
Buildable 42164
Build 16997: arc lint + arc unit

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Mar 27 2023, 11:33 AM
machniak subscribed.

An improvement would be to print which backend failed. Also, we shouldn't var_export the whole response object, error code/message would be enough.

This revision is now accepted and ready to land.Mar 27 2023, 11:49 AM

Only print the status code and reason

This revision was landed with ongoing or failed builds.Mar 27 2023, 2:43 PM
This revision was automatically updated to reflect the committed changes.