Skip to content

test(e2e): stabilize managed startup recovery - #7975

Merged
prekshivyas merged 3 commits into
mainfrom
codex/fix-main-recovery-e2e
Jul 31, 2026
Merged

test(e2e): stabilize managed startup recovery#7975
prekshivyas merged 3 commits into
mainfrom
codex/fix-main-recovery-e2e

Conversation

@prekshivyas

@prekshivyas prekshivyas commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

The post-reboot E2E now retries the exact transient state where OpenShell is connected but the preserved sandbox container has not started. The gateway-guard recovery target now validates the persisted managed startup command that main introduced in #7856 instead of expecting the obsolete sleep infinity recreation path.

Changes

  • Retry only sandbox_container_stopped during the post-reboot status readiness window; keep every other status failure terminal.
  • Cover the stopped-container transition with an E2E-support regression test.
  • Validate Docker restart with the persisted credential-free nemoclaw-start command, preserved container identity, supervisor health, forwarding, and inference.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification: This changes E2E retry behavior and expectations for product behavior already implemented on main; it does not change a user-facing API, CLI, configuration, default, error, or supported workflow.
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification:
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Documentation Writer Review

  • Documentation writer subagent reviewed the completed changes
  • Result: no-docs-needed
  • Evidence: Final three-file E2E diff reviewed. Comments, test titles, phase labels, artifact names, and session IDs use precise repository terminology. Focused lifecycle tests passed 23/23, semantic phase coverage passed 114 tests across 71 files, Biome and git diff --check passed, and the trusted exact-head gateway-guard recovery job passed. Cloud onboarding stopped before tests because an external download connection reset.
  • Agent: Codex Desktop

DGX Station Hardware Evidence

  • Tested on DGX Station
  • Tested commit: Not applicable
  • Station profile/scenario: Not applicable
  • Result: Not applicable
  • Supporting evidence: Not applicable

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run validate:pr passed after refreshing origin/main when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — npx vitest run --project e2e-support test/e2e/support/e2e-phase-lifecycle.test.ts (23/23); npm run test:e2e-phases:check (114 tests across 71 files); Biome and git diff --check passed.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — npm test was attempted but did not pass because unrelated host-sensitive timing and process tests failed across existing suites. No maintainer waiver is claimed; exact-head CI is authoritative.
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: Prekshi Vyas prekshiv@nvidia.com

Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
@prekshivyas prekshivyas self-assigned this Jul 31, 2026
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Post-reboot sandbox status checks now retry stopped-container failures within bounded limits. Docker recovery coverage now validates persisted nemoclaw-start startup commands, in-place container recovery, supervisor health, credential handling, and inference. OpenShell downloads now retry transient curl errors.

Changes

Sandbox recovery

Layer / File(s) Summary
Post-reboot status polling and test isolation
test/e2e/fixtures/phases/lifecycle.ts, test/e2e/support/e2e-phase-lifecycle.test.ts
Post-reboot status checks retry responses containing sandbox_container_stopped, record attempts, respect attempts and deadlines, and return or fail with the final result. Tests use fake timers and restore real timers after each test.
Persisted startup-command Docker recovery
test/e2e/live/gateway-guard-recovery.test.ts
The recovery test validates the persisted nemoclaw-start command, in-place container restart, supported recovery probes, managed supervisor topology, health forwarding, credential redaction, and inference.

Installer download retries

Layer / File(s) Summary
Release asset download retries
scripts/install-openshell.sh, test/runner.test.ts
Release asset downloads use three curl attempts, a one-second delay, and retries for eligible errors. Installer fallback tests verify the retry options.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: area: e2e, bug-fix

Suggested reviewers: cv

Sequence Diagram(s)

sequenceDiagram
  participant PostRebootLifecycle
  participant SandboxStatus
  participant DockerContainer
  participant Supervisor
  PostRebootLifecycle->>SandboxStatus: request sandbox status
  SandboxStatus->>DockerContainer: run nemoclaw sandbox status
  DockerContainer-->>SandboxStatus: sandbox_container_stopped
  PostRebootLifecycle->>SandboxStatus: retry after delay
  SandboxStatus->>DockerContainer: check persisted nemoclaw-start recovery
  DockerContainer->>Supervisor: restore managed supervisor
  Supervisor-->>PostRebootLifecycle: return health and inference results
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the primary change: stabilizing managed startup recovery E2E tests.
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-main-recovery-e2e

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in commit 6e55eb6 in the codex/fix-main-recov... branch remains at 96%, unchanged from commit 64d6828 in the main branch.

TypeScript / code-coverage/cli

The overall coverage in commit 6e55eb6 in the codex/fix-main-recov... branch remains at 81%, unchanged from commit 64d6828 in the main branch.

Show a code coverage summary of the most impacted files.
File main 64d6828 codex/fix-main-recov... 6e55eb6 +/-
src/lib/domain/.../connect-env.ts 97% 89% -8%
src/lib/sandbox...rce-identity.ts 88% 88% 0%
src/lib/tunnel/services.ts 73% 73% 0%

Updated July 31, 2026 06:42 UTC

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings reported

Advisor assessment: No blocking advisor findings reported
Next action: Review the warnings below.
Findings: 0 blockers · 1 warning · 0 suggestions

Model lanes

  • GPT-5.6 Terra (primary): Completed · high confidence · 0 blockers · 1 warning · 0 suggestions
  • Nemotron 3 Ultra (second opinion): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Model comparison: normalized findings differ; normalized E2E selections differ; Nemotron reported the same number of blockers, 1 fewer warning, the same number of suggestions.

Nemotron output stays in workflow artifacts and does not change the assessment above.

E2E guidance

Advisory only. E2E / PR Gate selects and runs jobs independently.

Recommended E2E: cloud-inference, cloud-onboard, security-posture, gateway-guard-recovery

3 optional E2E recommendations
  • ubuntu-repo-docker-post-reboot-recovery
  • sandbox-survival
  • rebuild-openclaw
1 warning · 0 suggestions

Warnings

Warnings do not block.

PRA-1 Warning — Cover retry exhaustion for a stopped sandbox container

  • Location: test/e2e/support/e2e-phase-lifecycle.test.ts:224
  • Category: tests
  • Problem: The new retry test covers one stopped-container result followed by success, but it does not cover the retry limit or deadline path when the sandbox never starts.
  • Impact: A change to the attempt count, final failure behavior, or final-delay handling can silently make the post-reboot scenario wait incorrectly or report an unhelpful result.
  • Recommendation: Add a fake-timer test that returns the stopped-container result for all 30 attempts. Assert that simulation rejects with the final status failure, performs exactly 30 status calls, and does not schedule another retry after the last attempt.
  • Verification: Inspect waitForPostRebootSandboxStatus and run the focused e2e-phase-lifecycle unit test with the exhaustion case.
  • Test coverage: Add a fake-timer lifecycle test with 30 stopped-container status responses. Assert rejection with the final status failure, exactly 30 status calls, and no sleep after the final attempt.
  • Evidence: test/e2e/fixtures/phases/lifecycle.ts:458-483 sets SANDBOX_READY_ATTEMPTS to 30 and calls assertExitZero on the final result. test/e2e/support/e2e-phase-lifecycle.test.ts:224-258 verifies one retry followed by success but does not exercise retry exhaustion. The static test inventory lists no test for exhausted stopped-container retries.

Workflow run details

This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge.

Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
@prekshivyas prekshivyas changed the title test(e2e): stabilize managed startup recovery fix(e2e): stabilize managed startup recovery Jul 31, 2026
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
test/runner.test.ts (1)

785-785: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Test retry behavior instead of only checking command text.

These assertions only verify that the option string appears in out. They do not prove that a transient download failure is retried, that the installer succeeds after recovery, or that the retry count is correct.

Use a fake curl executable that fails on the first attempts and succeeds on the expected attempt. Assert the installer result and invocation count for both direct and fallback paths.

As per path instructions, tests should prove behavioral outcomes rather than implementation details.

Also applies to: 888-888

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@test/runner.test.ts` at line 785, Replace the command-text-only assertions
near the retry option checks with behavioral tests using a fake curl executable
that fails transiently and then succeeds. Cover both the direct and fallback
installer paths, asserting successful installer results and the expected curl
invocation count, including the configured retry limit; remove reliance on
checking option-string presence in out.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@scripts/install-openshell.sh`:
- Around line 892-894: Update the curl invocation in the asset download flow to
allow exactly three total attempts by changing the retry count to two and
removing --retry-all-errors. Keep the existing failure handling and progress
options unchanged.

---

Nitpick comments:
In `@test/runner.test.ts`:
- Line 785: Replace the command-text-only assertions near the retry option
checks with behavioral tests using a fake curl executable that fails transiently
and then succeeds. Cover both the direct and fallback installer paths, asserting
successful installer results and the expected curl invocation count, including
the configured retry limit; remove reliance on checking option-string presence
in out.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 913d067b-d522-402d-9391-bcd18ee525fa

📥 Commits

Reviewing files that changed from the base of the PR and between d4f827b and f413563.

📒 Files selected for processing (2)
  • scripts/install-openshell.sh
  • test/runner.test.ts

Comment thread scripts/install-openshell.sh Outdated
Comment on lines +892 to +894
curl -fL "${curl_progress[@]}" \
--retry 3 --retry-delay 1 --retry-all-errors \
"https://github.com/NVIDIA/OpenShell/releases/download/${RELEASE_TAG}/$name" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

rg -n '(^FROM |curl|retry-all-errors)' \
  --glob 'Dockerfile*' \
  --glob '*.yml' \
  --glob '*.yaml' \
  --glob '*.sh' .

curl --version | head -n 1

Repository: NVIDIA/NemoClaw

Length of output: 29840


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- installer metadata and header ---'
git ls-files -s scripts/install-openshell.sh
sed -n '1,30p' scripts/install-openshell.sh

printf '%s\n' '--- relevant installer context ---'
sed -n '600,660p' scripts/install-openshell.sh
sed -n '850,930p' scripts/install-openshell.sh

printf '%s\n' '--- curl requirements and installer environment checks ---'
rg -n -i 'curl|supported|minimum|version|macos|darwin|ubuntu|debian|fedora|brew|apt|dnf|apk' \
  scripts/install-openshell.sh README.md docs .github 2>/dev/null | head -n 250

printf '%s\n' '--- curl option help ---'
curl --help all 2>/dev/null | rg -n -- '--retry|retry-all-errors|retry-delay|fail' || true

Repository: NVIDIA/NemoClaw

Length of output: 36640


🌐 Web query:

Official curl documentation for --retry, --retry-all-errors, --fail, and the minimum curl version for --retry-all-errors

💡 Result:

The official documentation for curl provides several options for managing transfer failures and retries [1][2]. The following details summarize these options and their behavior: --retry Normally, curl performs a single attempt and returns an error if it fails. This option specifies the number of times curl should retry a transfer if a transient error occurs [1]. Transient errors include timeouts, FTP 4xx response codes, and HTTP 408, 429, 500, 502, 503, or 504 response codes [1]. By default, curl does not retry (0 attempts) [1]. --retry-all-errors This option, introduced in curl 7.71.0, is a more aggressive form of retrying that tells curl to treat all transfer failures as a reason to retry, rather than just transient errors [1][3][4]. It must be used in conjunction with --retry [3][5]. It is considered a sledgehammer approach and users are warned that it may cause unintended consequences, such as receiving duplicate data, especially when used with redirected output [3][5]. --fail (HTTP) This option tells curl to fail silently with an error code (22) and no response body when an HTTP server returns an error code of 400 or greater [2][6]. It is useful for detecting server errors that might otherwise be ignored if the transfer itself completes [3][5]. It can be combined with --retry and --retry-all-errors to ensure that HTTP errors (4xx and 5xx) trigger a retry [3][5]. Minimum Version for --retry-all-errors The --retry-all-errors option was added in curl version 7.71.0 [3][4][7].

Citations:


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

python3 - <<'PY'
from pathlib import Path
p = Path("scripts/install-openshell.sh")
text = p.read_text()
lines = text.splitlines()
for i in range(880, 898):
    print(f"{i+1}: {lines[i]}")
print("has_shebang:", text.startswith("#!"))
print("has_spdx:", "SPDX-License-Identifier:" in "\n".join(lines[:40]))
PY

Repository: NVIDIA/NemoClaw

Length of output: 866


Align the retry policy with the stated contract.

--retry 3 permits three retries after the initial transfer, so each asset can receive four attempts. With -f, --retry-all-errors also retries HTTP failures such as missing release assets.

If three total attempts are required, use --retry 2 and remove --retry-all-errors. Retain --retry-all-errors only when supported installer hosts provide curl 7.71.0 or newer.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/install-openshell.sh` around lines 892 - 894, Update the curl
invocation in the asset download flow to allow exactly three total attempts by
changing the retry count to two and removing --retry-all-errors. Keep the
existing failure handling and progress options unchanged.

@prekshivyas prekshivyas changed the title fix(e2e): stabilize managed startup recovery test(e2e): stabilize managed startup recovery Jul 31, 2026
@prekshivyas

Copy link
Copy Markdown
Collaborator Author

Exact-head CI / E2E result

Head: 6e55eb61dc87f0e3d0fda1a0e165881e24c42096

All PR checks and the trusted E2E gate are green. The PR is approved and GitHub reports it as mergeable (CLEAN).

Trusted E2E: run 30610512537passed in 7m47s wall-clock

Job Result Duration
base-image-publication ✅ pass 5s
generate-matrix ✅ pass 38s
cloud-inference ✅ pass 5m36s
cloud-onboard ✅ pass 6m07s
gateway-guard-recovery ✅ pass 6m52s
security-posture (OpenClaw) ✅ pass 5m07s
security-posture (Hermes) ✅ pass 5m44s

Evidence:

  • Required E2E gate: ✅ pass
  • Gate coordination: ✅ “Every expected E2E check shard passed with no skips or pending tests.”
  • Full PR CI matrix: ✅ pass
  • The prior cloud-onboard red was an external OpenShell asset download connection reset before NemoClaw tests started. This exact-head run downloaded the CLI and completed the live test successfully, so no product-code fix or retry is needed for that failure.

@prekshivyas
prekshivyas merged commit d4e1715 into main Jul 31, 2026
72 of 74 checks passed
@prekshivyas
prekshivyas deleted the codex/fix-main-recovery-e2e branch July 31, 2026 06:56
prekshivyas added a commit that referenced this pull request Jul 31, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Sandbox recovery restored managed `openclaw.json` through the generic
state-file path at mode `0640`, so the trusted restart preflight
rejected the recreated sandbox even though its gateway process and HTTP
endpoint were healthy. This change restores managed OpenClaw
configuration at the required `0660` mode and preserves the classified
managed-health failure detail when recovery still fails. The live
regression target now deliberately recreates a legacy keepalive
container because current onboarding correctly persists
`nemoclaw-start`.

## Changes

- Restore managed `openclaw.json`, `.last-good`, and `.config-hash`
files at mode `0660` while retaining mode `0640` for ordinary copied
state files.
- Include the sanitized managed-controller failure layer and detail in
recreated-sandbox recovery diagnostics.
- Add behavior tests for restored file modes and the exact
`GATEWAY_UNSAFE_CONFIG_PATH` recovery failure.
- Validate the current persisted `nemoclaw-start` restart path, then
recreate only the identity-pinned sandbox container with `sleep
infinity` and prove the legacy migration, with fail-closed fixture
coverage, standalone `tsx` loader coverage, and mock/live parity
mapping.

## Type of Change

- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: Existing recovery and
host-state documentation already specifies transactional restoration,
the mutable `660 sandbox:sandbox` posture, final managed-health checks,
and the unsafe-config-path failure layer. The E2E follow-up changes only
internal test setup.
- [x] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification: Pending
repository-owned review on this draft.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `no-docs-needed`
- Evidence: Exact committed diff reviewed through the target-specific
recovery fixture. The final merge resolution preserves distinct,
accurately named modern restart and legacy keepalive migration coverage.
The change restores documented recovery behavior and updates only
internal E2E setup without changing a command, configuration, workflow,
default, error, or supported surface.
- Agent: Codex Desktop
<!-- docs-review-head-sha: 25f1cdb -->
<!-- docs-review-agents-blob-sha: c052d60 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification

- [x] PR description includes a `Signed-off-by:` line and every
published commit appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification:
Validation passed for CLI recovery (28/28), integration recovery
(29/29), combined fixture/lifecycle E2E support (29/29), mock/live
parity (9/9), semantic E2E phases (114 tests across 71 files), CLI
type-check, project membership, repository checks, imports, titles, test
size, source shape, Biome, and diff checks. `test:changed` passed 412
tests with 7 skipped but hit three known macOS `systemctl --user`
failures inherited from merged #7975; focused lifecycle coverage passed.
Exact run 30610342220 selected `gateway-guard-recovery` and exposed a
standalone `tsx` import failure before legacy recreation; commit
`0f47a7b78` fixes that fixture failure. Merge commit `6da6b0de9`
resolves current `main` by retaining both modern and legacy routes;
`25f1cdbb1` includes the concurrent automated conflict-resolution
history without changing the reviewed tree. The exact rerun is pending.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result: Not applicable to this
narrow recovery fix and target-specific E2E fixture; the affected suites
and diff-scoped validation passed.
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---

Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Recovery diagnostics now include managed health-check failures, unsafe
configuration paths, and identity changes detected during probing.
- Improved readiness reporting and rollback behavior after gateway
relaunches or sandbox recreation, including recovery of legacy keepalive
gateways.
- Managed configuration restores now apply the correct permissions to
configuration, backup, and hash files.

- **Tests**
- Added coverage for restore-file permissions, managed health failures,
legacy gateway recovery, rollback behavior, and recovery diagnostics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Co-authored-by: San Dang <sdang@nvidia.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sandl99 sandl99 mentioned this pull request Jul 31, 2026
23 tasks
sandl99 added a commit that referenced this pull request Jul 31, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Adds the canonical July 30 release entry for `v0.0.99` before the
release tag is captured.
The entry covers all 37 merged PRs since `v0.0.98` and bounds
experimental or dormant work without presenting it as supported
behavior.

## Changes

- Adds `docs/changelog/2026-07-30.mdx` with the exact `## v0.0.99`
heading, parser-safe MDX SPDX comment, summary, detailed release
bullets, and published documentation routes.
- Records user-visible recovery, snapshot, shared-route, Hermes,
readiness, inference, image, documentation, and release E2E changes.
- States that the managed-image selection and startup-profile contracts
remain dormant and do not activate buildless onboarding.

Source summary:

- [#7972](#7972) ->
`docs/changelog/2026-07-30.mdx`: Records restored managed OpenClaw
configuration modes during recovery.
- [#7834](#7834) ->
`docs/changelog/2026-07-30.mdx`: Records clone-bound pairing
verification after snapshot restore.
- [#7975](#7975) ->
`docs/changelog/2026-07-30.mdx`: Records managed startup recovery
coverage.
- [#7960](#7960) ->
`docs/changelog/2026-07-30.mdx`: Records dormant startup-profile
coordination without activating a supported surface.
- [#7856](#7856) ->
`docs/changelog/2026-07-30.mdx`: Records persistence of the
credential-free OpenClaw startup command.
- [#7959](#7959) ->
`docs/changelog/2026-07-30.mdx`: Records dormant startup-profile
construction without changing onboarding.
- [#7946](#7946) ->
`docs/changelog/2026-07-30.mdx`: Records the internal startup-profile
schema and transport contract.
- [#7951](#7951) ->
`docs/changelog/2026-07-30.mdx`: Records platform-pull cleanup before
managed-image validation.
- [#7949](#7949) ->
`docs/changelog/2026-07-30.mdx`: Records rejection of retained Hermes
`uv` build cache metadata.
- [#7597](#7597) ->
`docs/changelog/2026-07-30.mdx`: Records separate command and agent
first-turn latency evidence.
- [#7931](#7931) ->
`docs/changelog/2026-07-30.mdx`: Records focused E2E replacement
evidence for retired selectors.
- [#7950](#7950) ->
`docs/changelog/2026-07-30.mdx`: Records exclusion of build-only
BuildKit telemetry from the Deep Agents Code probe.
- [#7665](#7665) ->
`docs/changelog/2026-07-30.mdx`: Records consolidated priority 2 E2E
coverage.
- [#7911](#7911) ->
`docs/changelog/2026-07-30.mdx`: Records the corrected NVIDIA DORI
installation pin.
- [#7934](#7934) ->
`docs/changelog/2026-07-30.mdx`: Records the staging image-family wait
before Brev Launchable deployment.
- [#7772](#7772) ->
`docs/changelog/2026-07-30.mdx`: Records dormant managed-image selection
contracts without activating buildless onboarding.
- [#7941](#7941) ->
`docs/changelog/2026-07-30.mdx`: Records corrected agent-specific
provider and policy guidance.
- [#7819](#7819) ->
`docs/changelog/2026-07-30.mdx`: Records removal of empty Deep Agents
Code provider-switch sections.
- [#7932](#7932) ->
`docs/changelog/2026-07-30.mdx`: Records independent
credential-generation E2E execution.
- [#7840](#7840) ->
`docs/changelog/2026-07-30.mdx`: Records shared-route preservation and
pre-delete peer validation during upgrades.
- [#7874](#7874) ->
`docs/changelog/2026-07-30.mdx`: Records the split between pre-tag
release entries and post-tag Announcements.
- [#7876](#7876) ->
`docs/changelog/2026-07-30.mdx`: Records the writable Hermes runtime
root within lockdown.
- [#7756](#7756) ->
`docs/changelog/2026-07-30.mdx`: Records validated multi-platform
managed-image publication.
- [#7914](#7914) ->
`docs/changelog/2026-07-30.mdx`: Records accepted `uv` version metadata
in Hermes image validation.
- [#7686](#7686) ->
`docs/changelog/2026-07-30.mdx`: Records the explicitly experimental
Microsoft Entra runtime identity reference.
- [#7869](#7869) ->
`docs/changelog/2026-07-30.mdx`: Records classified gateway relaunch
quarantine and rebuild guidance.
- [#7814](#7814) ->
`docs/changelog/2026-07-30.mdx`: Records state restore into replacement
sandboxes and SQLite write verification.
- [#7839](#7839) ->
`docs/changelog/2026-07-30.mdx`: Records quieter onboarding test
execution without a user-facing behavior claim.
- [#7854](#7854) ->
`docs/changelog/2026-07-30.mdx`: Records generalized agent-selection
guidance.
- [#7845](#7845) ->
`docs/changelog/2026-07-30.mdx`: Records isolated CDI test evidence
without a user-facing behavior claim.
- [#7843](#7843) ->
`docs/changelog/2026-07-30.mdx`: Records the corrected Omni sub-agent
model ID.
- [#7908](#7908) ->
`docs/changelog/2026-07-30.mdx`: Records reviewed Hermes and Deep Agents
Code dependency pins.
- [#7887](#7887) ->
`docs/changelog/2026-07-30.mdx`: Records rejection of a symlinked DGX
Station release marker.
- [#7747](#7747) ->
`docs/changelog/2026-07-30.mdx`: Records the internal compute-driver
separation without a user-facing behavior claim.
- [#7660](#7660) ->
`docs/changelog/2026-07-30.mdx`: Records atomic publication of rebuild
recovery manifests.
- [#7661](#7661) ->
`docs/changelog/2026-07-30.mdx`: Records bounded local inference
health-response retention.
- [#7654](#7654) ->
`docs/changelog/2026-07-30.mdx`: Records state preservation across
supervisor relaunch recovery.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [x] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [ ] Tests added or updated for changed behavior
- [x] Existing tests cover changed behavior — justification:
`test/changelog-docs.test.ts` validates the dated changelog contract,
SPDX comment, version heading, and published routes.
- [ ] Tests not applicable — justification:
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `docs-updated`
- Evidence: `docs/changelog/2026-07-30.mdx`; the documentation-only diff
passed review against `WRITING.md`, the controlled word list, and
`docs/CONTRIBUTING.md`. The review covered terminology, structure,
active voice, release meaning, product-scope boundaries, and link and
code presentation. Changelog tests passed 6/6, and the docs build
reported 0 errors with 2 pre-existing warnings.
- Agent: Codex CLI
<!-- docs-review-head-sha: 200940f -->
<!-- docs-review-agents-blob-sha: c052d60 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification

- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: `npx
vitest run test/changelog-docs.test.ts` passed 6/6 tests.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result: Not applicable to this
documentation-only release entry.
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only) —
result: Build passed with 0 errors and 2 pre-existing warnings.
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
Signed-off-by: San Dang <sdang@nvidia.com>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Added release notes for v0.0.99 covering snapshot restoration, sandbox
recovery, gateway route upgrades, and Hermes security updates.
* Documented experimental Microsoft Entra runtime identity support and
enhanced readiness checks.
* Added details on managed image validation, trusted CI image promotion,
and end-to-end release evidence.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@wscurran wscurran added area: e2e End-to-end tests, nightly failures, or validation infrastructure integration: openclaw OpenClaw integration behavior labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: e2e End-to-end tests, nightly failures, or validation infrastructure integration: openclaw OpenClaw integration behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants