Skip to content

DCode route health probes disable managed observability #6504

Closed

Description

@apurvvkumaria

Agent Diagnostic

  • Loaded the NemoClaw PR follow-up, CI-diagnostics, and security-review workflows.
  • Reproduced the failure twice on exact PR fix(connect): isolate DCode route probe output #6497 head 4c43035e75b080fbc28520a49ac7958d9da49c4f, which merged to main as fed46043459497011c65884720cb24a354cfb2bb.
  • OpenClaw and inference-routing live validation passed; the typed DCode target failed identically on both attempts.
  • Traced the failure to the new route probe invoking /usr/local/bin/nemoclaw-start /bin/sh -c. The launcher calls prepare_observability_marker, whose non-enabled branch removes /tmp/nemoclaw-observability-enabled when the probe process does not carry NEMOCLAW_OBSERVABILITY=1.
  • Confirmed the merged tree retains both the probe invocation and the marker-removal behavior.

Description

The DCode inference-route health probe introduced by #6497 is not side-effect free. Running a status, doctor, rebuild, or connect health probe through nemoclaw-start can remove the managed observability marker from an observability-enabled sandbox because the diagnostic exec environment does not include NEMOCLAW_OBSERVABILITY=1.

Expected behavior: read-only route-health probes must preserve the sandbox's managed observability state while still using the trusted proxy/runtime boundary added by #6497.

Actual behavior: the probe can disable DCode observability by deleting /tmp/nemoclaw-observability-enabled.

Reproduction Steps

  1. Provision a LangChain Deep Agents Code sandbox with managed observability enabled.
  2. Confirm /tmp/nemoclaw-observability-enabled exists in the sandbox.
  3. Run a NemoClaw command that performs the authoritative inference.local route probe, such as status, doctor, rebuild preflight, or connect.
  4. Check /tmp/nemoclaw-observability-enabled again.
  5. Observe that the marker is absent and the DCode observability live check fails.

The repository's typed DCode live target reproduces this deterministically.

Environment

Debug Output

The PR's normal GitHub checks passed, but the required typed DCode live target failed on both attempts. The second exact-head run is available in the DCode rerun job:

https://github.com/NVIDIA/NemoClaw/actions/runs/28978644987/job/85993257404

Logs

11-deepagents-code-observability: FAIL: managed observability marker is absent

Acceptance Criteria

  • Route-health probes preserve an existing managed observability marker and do not enable observability when it was disabled.
  • The probe continues to avoid login-shell startup files, inherited FD trust channels, and user-controlled curl configuration.
  • Regression coverage exercises the real managed-launcher boundary and the status/doctor/connect probe call sites.
  • The typed DCode live target and inference-routing live validation pass on the corrective PR head.
  • OpenClaw route probing remains unchanged.

Checklist

  • I confirmed this bug is reproducible
  • I searched existing issues and this is not a duplicate

Activity

  1. self-assigned this
    on Jul 8, 2026
  2. added
    Recommended Blocker
    area: cli
    area: observability
    area: security
    integration: dcode
    on Jul 8, 2026
  3. added theissue type on Jul 8, 2026
  4. added a commit that references this issue on Jul 8, 2026
    6f45d84
  5. added 2 commits that reference this issue on Jul 12, 2026
    f0fba51
    9ca89f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Recommended Blockerarea: cliarea: observabilityarea: securitybugintegration: dcode

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions