add json output to orchestra e2e healthcheck #4

Open
opened 2026-08-27 15:11:29 +02:00 by kami · 0 comments
Owner

update scripts/orchestra_e2e_healthcheck.sh.

the script currently prints a human-readable health summary. add an optional --json mode for machine-readable output while preserving the existing default output.

the json output should report the same checks as the normal output.

acceptance

  • --help keeps working
  • running with no arguments keeps the existing human-readable output
  • --json exits 0 and prints one valid json object
  • the json object reports whether /tmp/test-e2e exists
  • the json object reports whether /tmp/test-e2e-worktrees exists
  • unknown arguments retain their current behavior
  • existing behavior outside this script is unchanged
update `scripts/orchestra_e2e_healthcheck.sh`. the script currently prints a human-readable health summary. add an optional `--json` mode for machine-readable output while preserving the existing default output. the json output should report the same checks as the normal output. ## acceptance - `--help` keeps working - running with no arguments keeps the existing human-readable output - `--json` exits 0 and prints one valid json object - the json object reports whether `/tmp/test-e2e` exists - the json object reports whether `/tmp/test-e2e-worktrees` exists - unknown arguments retain their current behavior - existing behavior outside this script is unchanged
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#4