R26
What to build¶
Upgrade evidence cannot claim collector_unavailable when export succeeds.
Source and evidence¶
Repository scientific/architectural review, snapshot 86c8517, item R26.
Classification: confirmed defect; medium severity.
The compatibility verifier targets fixed localhost ports 4317/4318 and always
returns collector_unavailable: true. It neither owns a failure endpoint nor
checks that delivery failed. An already-running local Collector or OTLP receiver
therefore allows successful export while the retained evidence claims business
behavior under unavailable delivery. This invalidates the outage-specific claim,
although the SQL query and listener cleanup checks can still be valid.
The retained retained synthetic probe starts a temporary HTTP/protobuf receiver
on localhost:4318, invokes the actual verifier, and observes one accepted export
request. The result is pass with collector_unavailable: true. It retains only
the request count, shuts down its server and joins its thread. No provider or
external network is involved.
Acceptance criteria¶
- [ ] A successful local receiver cannot qualify outage evidence or emit collector_unavailable=true.
- [ ] An isolated fault-controlled endpoint records attempted export and observed failure without depending on occupied default ports.
- [ ] SQL business result and listener cleanup remain independently verified.
- [ ] Evidence classifies unknown acquisition truthfully and uses bounded endpoint/provider cleanup.
- [ ] Preserve Consumer-owned meaning, payload-free evidence, disabled optional-import isolation, safe diagnostics and the non-relaxable Safety Floor.
- [ ] Run the narrowest observable contract, then applicable committed Make gates. Record every command and outcome; update specifications/compatibility evidence for changed public or wire contracts. Run native Collector verification for changed Collector assets and build for packaging changes.
Design guidance¶
Own a temporary controlled fault endpoint or publish unknown availability until measured. Separate delivery-failure evidence from unaffected business correctness.
Keep prefactoring narrow and verifiable in this slice. Reuse established owners and structural interfaces; introduce a pattern only when it clarifies a real responsibility or variation point. Do not add consumer vocabulary or private payloads to platform code or evidence. Mocked/local results must not claim hosted, production, accelerator or release qualification.
Blocked by¶
None (can start immediately). Shared-area coordination is useful, but no other review fix is a genuine prerequisite for this slice.
Verification scope¶
Convert the described counterexample or investigation oracle into an observable test at the lowest suitable public boundary. Prefer bounded operation-count or deterministic interleaving evidence to flaky timing assertions; timing guarantees need a declared tolerance and independently owned cleanup. This ticket authorizes remediation/research, not publication or deployment.