Skip to content

Fix credentialless DCode E2E fixture loopback binding #13337

Closed

Description

@rsliter

Outcome

Make the existing credentialless DCode routing E2E reach its real agent request while preserving the protected-loopback guard.

Post-merge qualification follow-up for #13197 and #13203, under epic #12558. DCode qualification remains incomplete until this case passes.

Evidence

The failure repeats on main at 876e20ef733444b3a9c141242c84e1f16b6a7722 and bdf2172e47538adf94ce5e8b07aeea6010a58dfd:

The credentialless case fails during onboarding, before its inference request:

The protected loopback route refused to start.
The endpoint at localhost:8000 is reachable on a non-loopback interface on the host (00000000:8000).

This is a fixture contract mismatch. The guard rejects the exposed unauthenticated endpoint as designed. The authenticated DCode lifecycle, sibling isolation, and credential scan pass. The first run's retained cleanup reports contain no failures, including endpoint closure and sandbox removal for TC-INF-16.

Minimal repair and validation

  1. Bind the credentialless DCode fake endpoint to 127.0.0.1. Preserve the authenticated fixture's existing reachable bind.
  2. Validate the listener and protected-loopback admission locally through the existing fixture and guard tests. Preserve refusal of credentialless non-loopback listeners.
  3. After normal candidate and image gates pass, run the existing inference-routing selection. Verify TC-INF-16 reaches DCode, returns the expected answer, sends no upstream authorization, and cleans up owned resources.

Retain the existing assertions, credential scan, timeout policy, provider ownership checks, and cleanup checks. No new target, selector, retry policy, or production guard relaxation is required.

Scope and ownership

Stop and report any new product requirement or production routing defect before expanding this repair.

Activity

  1. self-assigned this
    on Oct 16, 2026
  2. added
    area: ci
    on Oct 16, 2026
  3. added theissue type on Oct 16, 2026
  4. added
    area: e2e
    integration: dcode
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: ciarea: e2eintegration: dcode

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions