Repository navigation
Description
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:
- First routing failure.
- Current-main routing failure: seven scenarios pass; only TC-INF-16 fails.
- Fixture source binds both authenticated and credentialless cases to
0.0.0.0:8000while advertisinglocalhost.
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
- Bind the credentialless DCode fake endpoint to
127.0.0.1. Preserve the authenticated fixture's existing reachable bind. - Validate the listener and protected-loopback admission locally through the existing fixture and guard tests. Preserve refusal of credentialless non-loopback listeners.
- After normal candidate and image gates pass, run the existing
inference-routingselection. 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
- Maintainer: @rsliter, continuing ownership of Migrate Deep Agents Code local inference to native providers #13197.
- Queue: v0.0.136 backlog. Recommended priority: High because this deterministic failure blocks the required post-merge qualification. Project 199's Priority field currently exposes no selectable options.
- OpenClaw feat(inference): attach OpenClaw local providers #13293, Pi feat(pi): support native local inference #13007, and Hermes fix(hermes): preserve issued native-local credential references #13292 retain their existing scope.
- The separate hosted DCode HTTP 503 is tracked by [Ubuntu 24.04][Inference] fresh Ready DCode sandbox returns HTTP 503 from the managed inference route #13164. This fixture repair does not claim to resolve it.
Stop and report any new product requirement or production routing defect before expanding this repair.
Activity
fix(e2e): bind credentialless DCode fixture to loopback (NVIDIA#13339)