Compare commits

...

2 Commits

Author SHA1 Message Date
kami cef655acc6 orchestra: pre-release WIP snapshot (orchestra-06g4m6hf1z3erex1x3nekshp24-c19bf648) 2026-08-29 00:46:35 +04:00
kami 9a0ea96d22 orchestra: TASK.md 2026-08-29 00:40:26 +04:00
2 changed files with 8 additions and 5 deletions
+6 -4
View File
@@ -1,14 +1,16 @@
# Task 06G4JX6MSQEP7N0D5JWW9EP5X4
# Task 06G4M6HF1Z3EREX1X3NEKSHP24
Late handoff rig: add a --version line to the healthcheck usage text
Name the healthcheck success message once
- Project: test-e2e
- Source: burnin/late-handoff-1
- Source: burnin/run14-a
- Priority: 0
## Instructions
Add the version string to the usage text printed by scripts/orchestra_e2e_healthcheck.sh --help. Keep every existing line and exit status unchanged, and keep scripts/test_healthcheck.sh passing.
scripts/orchestra_e2e_healthcheck.sh spells its success message inline. Give it a single named constant beside the existing VERSION constant and use that constant everywhere the message is printed.
Behaviour must not change. The plain run, --quiet and --help keep their current output and exit statuses, and scripts/test_healthcheck.sh keeps passing.
## Research first
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
readonly VERSION=1.0.0
readonly SUCCESS_MESSAGE='OK - all healthchecks passed'
# emit <format> <template> [args...]: the single output path.
# format: text or json print; none suppresses (--quiet). Explicit argument,
@@ -38,7 +39,7 @@ main() {
exit 0
fi
emit "$format" 'OK - all healthchecks passed\n'
emit "$format" '%s\n' "$SUCCESS_MESSAGE"
exit 0
}