Files
test-e2e/TASK.md
T
2026-08-30 14:30:02 +04:00

46 lines
1.6 KiB
Markdown

# Task 06G54DZYGP30QXM4SXDB1NF1E0
Report the slowest check in the summary footer
- Project: test-e2e
- Source: gitea:test-e2e/36
- Priority: 0
## Instructions
`--summary` prints one line per check. After those lines, print a footer naming the slowest check and its elapsed milliseconds, in the form `slowest: <name> (<n>ms)`.
Plan this as THREE phases:
1. Record each check's elapsed milliseconds beside its existing result, with no output change.
2. The footer printed by --summary from those recorded values.
3. The usage text in `--help`, and assertions in scripts/test_healthcheck.sh.
## Work one phase at a time
Implement phase N, request its verification, and only then begin phase N+1.
## Verification policy for this project
Only two commands may appear on a run: line, exactly:
- ["bash", "-n", "<path>"]
- ["bash", "scripts/orchestra_e2e_healthcheck.sh"]
Anything else is refused when you seal the plan. Give every phase at least one automated check from that list and at least one manual check.
## Research first
Establish at least three findings with distinct confidence: at least one fact, one inference, one assumption.
Acceptance:
- --summary ends with the slowest line.
- --quiet suppresses it, and every other flag is unchanged.
## Completion
Run the configured quality gate. When the task is ready for the worker to verify and deliver, create `.orchestra/done`. Do not write a prose completion report.
This file is immutable for the lifetime of the task (§6.2) — its hash is
carried in every handoff and re-verified on every pickup. Do not edit it.