mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 04:44:19 +01:00
Collector tests (test_transcribe_cockpit.py): the fake lane now answers /metrics and records the Authorization header, so the tests prove collect_transcribe reads the lane's own port with the box's key in the header, sends only the counts, the port and the read's outcome, never the key, asks nothing while the lane does not serve, and says a failed read (HTTP 503) with no count invented. Page tests (test_page_behaviour.py): a direct client on :30000 shows in the badge and in the empty table's message, the note says how many of the engine's in-flight requests went direct when the table has rows, an engine that said nothing keeps the old message and a dark badge, and the Transcribe lane's running/waiting show in Traffic with their port, counted in the badge, a failed read said and nothing invented. Each fails on the code before the two fixes above. docs/cockpit.md and a short Unreleased CHANGELOG entry say the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>