Skip to content

validation debt: code paths that shipped without ever being exercised on a cluster #813

Closed

Description

@bpalermo

Split out of #799. Each is a small targeted test, not a soak. Tick when exercised with evidence.

Activity

  1. bpalermo commented on Sep 19, 2026

    @bpalermo
    OwnerAuthor

    rev221 (2026-09-19): authzCanary shipped broken in #811 (no ServiceAccount for authz-echo + a hand-written mesh Service the registrar pruned) — fixed in #816; the ext_authz item stays unticked until the canary has run clean through one aether roll.

  2. bpalermo commented on Sep 19, 2026

    @bpalermo
    OwnerAuthor

    authzCanary is live and working on talos-main since 2026-09-19 16:37Z (prober rev13 / 0.4.1, #816): allow=200, deny=403, and envoy_http_capture_http_ext_authz_{ok,denied}_total + envoy_cluster_ext_authz_{ok,denied}_total{aether_cluster="aether-test/authz-echo"} exist for the first time — OPA 1.20.2 is now proven to EVALUATE policy, not just start. The checklist item stays open until it has run clean through one aether roll.

  3. bpalermo commented on Sep 20, 2026

    @bpalermo
    OwnerAuthor

    Disposition: this should close, and one item should become a real issue

    This issue is the umbrella left over from #799's split. We split #799 precisely because umbrella issues do not close — and then kept one. Seven unrelated checkboxes, each blocked on a different condition, with no state in which they all tick: that is a permanent issue by construction.

    Reading the list again, the items are not one kind of thing. They are two, and only one is debt.

    Real coverage debt — worth its own issue

    L4 routes (TCPRoute / TLSRoute / UDPRoute). This is the only entry that is a shipped feature with no end-to-end test. Proposal 018 Phase 3b is default-on and unconditional since 031, the projector is shared with the edge (common/l4project, #783), and there is neither a CI e2e nor a single route on talos-main. That is ordinary test debt with a clear definition of done, and it should be its own issue rather than a line in a checklist.

    Error branches that have never fired — not debt, and not issues

    The other six are all the same shape: a branch that handles a failure, and the failure has not occurred.

    A recovery path that never runs in production is the system working. Tracking "this error has not happened yet" as open work means the issue closes only when something breaks, which is backwards. Where the branch is worth pinning down it belongs in a unit or in-process test, which is exactly what #805 already did for #804 — and that entry says in its own text that the harness trigger cannot be forced and asks nobody to retry it. That is runbook knowledge, not a task.

    Note also that two of these would be satisfied by a lie: forcing drain_fallback or the #807 WARN by contriving the precondition proves the branch compiles, not that it behaves correctly under the real failure. The same trap as a test you author both sides of.

    Proposed

    1. Open one issue: no e2e coverage for L4 routes, with the acceptance criterion being a CI e2e exercising weighted TCP backends and SNI-routed TLS.
    2. Move the six never-fired branches into docs/runbook.md as a short "known-unexercised paths" note — so the knowledge survives without an issue that cannot close.
    3. Close this one.

    That trades a checklist that can never tick for one task that can, plus documentation. Say the word and I will do all three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions