Add a --json flag to the healthcheck script #2

Open
opened 2026-08-26 22:12:18 +02:00 by kami · 0 comments
Owner

scripts/orchestra_e2e_healthcheck.sh should support --json: print one JSON object on a single line with the keys status ("ok" or "fail") and message, instead of the plain text line. Without the flag the output stays exactly "OK - all healthchecks passed", --help keeps working and still wins over --json, and the exit code stays 0. Change no other file.

scripts/orchestra_e2e_healthcheck.sh should support --json: print one JSON object on a single line with the keys status ("ok" or "fail") and message, instead of the plain text line. Without the flag the output stays exactly "OK - all healthchecks passed", --help keeps working and still wins over --json, and the exit code stays 0. Change no other file.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kami/test-e2e#2