Skip to content

Export OpenClaw timeout and heartbeat with fixed managed vLLM #11855

Description

@cv

Parent: #10904. Implementation target: main.

Problem and outcome

A supported managed Nemotron deployment with non-default OpenClaw execution settings is rejected by export even though these settings are already representable for hosted inference. Preserve execution.timeoutSeconds and execution.heartbeatEvery with the existing fixed managed-vLLM profile.

At f5c05a0e6a59bd5133c50e31becbff25af274c33, startup-profile verification skips supported agent-setting projection for EXPORTED_VLLM_PROFILE_ID; completeVerifiedSource also skips setting projection for managed inference.

Before / after

Before

At the recorded source revision, vllm-execution is an otherwise supported fixed Nemotron deployment whose retained OpenClaw profile specifies a 900-second timeout and a 5m heartbeat.

nemoclaw config export vllm-execution --output vllm-execution.yaml

Managed-profile verification rejects the non-default execution settings, so the command exits nonzero without publishing YAML. The same settings are already representable on the hosted-inference path.

After

The same command succeeds and the primary agent contains:

# spec.sandboxes[0].agents[0] — execution excerpt
name: primary
type: openclaw
execution:
  timeoutSeconds: 900
  heartbeatEvery: 5m

The full document retains the verified fixed managed-vLLM provider, catalog/recipe/model/image identities, route and policy. Export records the agent's existing behavior without changing the inference service or agent process.

Default cases retain their existing output and meaning: an omitted timeout means 600 seconds, an unspecified heartbeat stays unspecified/native, and an explicit 0m remains explicit. Invalid execution settings, missing workload authority, identity changes and serving drift still refuse publication.

The positive action test must check the exact execution values alongside valid managed-serving evidence; a rejection-only test does not establish coverage.

Scope

One existing Linux/AMD64, Docker, OpenClaw, fixed Nemotron deployment. Read retained execution intent through the existing immutable workload authority and keep all current live inference/serving checks.

Acceptance

  • A retained timeout of 900 seconds and heartbeat of 5m export with their exact semantics.
  • Omitted timeout retains the existing 600-second default. Unspecified heartbeat remains unspecified/native; explicit 0m is preserved.
  • The ordinary fixed-profile export remains unchanged when no execution override is present.
  • Invalid settings, incomplete workload authority, changed sandbox identity and serving drift still refuse publication.
  • A complete export-action regression combines non-default execution with the verified managed-serving evidence; an installed-CLI check confirms the retained runtime settings are represented.

Model tuning, serving parameters and profile/model expansion are separate work.

Delivery boundary

Extend the existing observation → verification → document builder → schema → publication pipeline. Export remains read-only and emits credential references only. Preserve successful existing exports and refusals for unrelated unsupported state. Regenerate the checked-in schema when its source changes.

Use a failing behavioral test before implementation, focused schema/action tests, and an existing installed-CLI scenario for the real boundary. Reuse coverage work in #11485; branch-to-branch translation and deployment parity remain with #11810. This issue does not add config-driven apply, resource adoption, or change existing onboarding inputs.

YAML requirements — v1 scan (2026-09-21)

Target: v1 at 88c6600c06b0. The document version is nemoclaw.nvidia.com/v1alpha1, with kind: NemoClawConfig.

Format: Available. YAML availability does not establish exporter completion or live compatibility.

This is the current target reference. Earlier examples describe their original revision; this update does not change issue status.

At spec.sandboxes[].harness:

kind: openclaw
execution:
  timeoutSeconds: 900
  heartbeatEvery: 5m
  • timeoutSeconds is 1–1,000,000,000; omission uses 600 for OpenClaw.
  • heartbeatEvery is a nonnegative integer followed by s, m or h. Preserve explicit 0m; omission leaves native behavior.
  • Execution is shared at the harness level, not placed on a primary agent.
  • Compose this with the named vLLM service and serviceRef mapping in Restore managed local inference config export in v1alpha1 #12012. Service-format/provenance gaps do not remove the supported execution fields.

Acceptance for this mapping: Parse the current raw export, check the generated OpenClaw timeout/heartbeat settings, and preserve managed-serving evidence and explicit disabled heartbeat.

Sources: execution.rs, full-featured-openclaw.yaml, config.rs.

Exporter acceptance scope

Apply these requirements to the feature or regression covered by this issue and its accepted scope.

  1. Define v1-compatible YAML. Document the required fields and an example using apiVersion: nemoclaw.nvidia.com/v1alpha1 and kind: NemoClawConfig. Record the target v1 revision and verify compatibility with its parser. If a required format does not exist, mark it N/A and link the schema dependency. N/A does not satisfy this requirement.
  2. Export the target feature. The real configuration exporter must export the feature from a representative, admitted v0 deployment. Preserve the issue's required settings in the generated YAML. The raw output must pass the target v1 parser without manual field rewriting or a compatibility translator.
  3. Provide manual or E2E proof with the real exporter. Attach a manual reproduction or an E2E run using the installed or built exporter CLI against a real source deployment. Record the source feature setup, exporter version/commit, target v1 commit, command, output artifact or run link, and result. Show that export succeeds, the required feature settings are preserved, and the raw YAML passes target validation. A handwritten example or mocked builder test alone does not satisfy this requirement.

For E2E proof, identify the owning feature or migration scenario and reuse it where possible. Deterministic mapping tests remain responsible for field and refusal cases; the live proof covers the real source-to-exporter boundary.

This section defines acceptance requirements; it does not assert that the evidence is already complete.

Activity

  1. added
    enhancement
    area: cli
    on Sep 15, 2026
  2. self-assigned this
    on Sep 16, 2026
  3. added a commit that references this issue on Sep 16, 2026
    7e15eea
  4. added
    area: providers
    integration: openclaw
    provider: vllm
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: cliarea: providersenhancementintegration: openclawprovider: vllm

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions