Skip to content

fix(ci): repair main agent image and test failures - #11987

Merged
sandl99 merged 1 commit into
mainfrom
fix/main-ci-35195757276
Sep 17, 2026
Merged

sandl99 merged 1 commit into
mainfrom
fix/main-ci-35195757276

Conversation

@sandl99

@sandl99 sandl99 commented Sep 17, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Repair the three failures in main CI run 35195757276. Hermes root startup succeeds, the OpenClaw distribution audit preserves native migration behavior, and the offline wheel test has a bounded execution budget.

Reason

After #11906, Hermes startup stopped creating the marker required by a retired plugin gate, but the pinned base still contained that gate. The OpenClaw audit also expected a removed patch. Separately, the wheel test took 24.148 seconds under CI coverage and exceeded its 15-second timeout.

Changes

  • Pin the Hermes base published from 8657616c8171de9371f80c6c1cdaf93f54dffb09 by immutable multi-platform digest. Its producer run published both amd64 and arm64 successfully. Hermes stays on the same reviewed version.
  • Verify that the native OpenClaw migration module remains byte-identical after shared-state patching, including its idempotence check.
  • Give the wheel test 90 seconds and limit each offline pip subprocess to 30 seconds.

Verification

  • Reproduced the Hermes failure with the old base: two startup failures and four passing refusal cases. With the new base, vitest run --project e2e-live test/e2e/live/hermes-root-entrypoint-smoke.test.ts passed all six tests.
  • vitest run --project e2e-live test/e2e/live/hermes-sandbox-secret-boundary.test.ts passed against repaired production and managed images. The test covers unique API keys and raw-secret rejection without disclosure.
  • Real OpenClaw distribution harness: six tests passed with NEMOCLAW_REAL_OPENCLAW_DIST_HARNESS=1, Node 24.18.1, and reviewed npm 12.0.2.
  • Deep Agents profile suite: 32 tests passed. Focused Linux suites passed 60 tests with one expected root-only skip.
  • Rebuilt both Hermes variants on Linux arm64. Old and new final images have identical Python package graphs and Hermes lockfiles, and both use Node 24.18.1 and npm 12.0.2.
  • CLI typecheck, Hadolint, Oxlint, Oxfmt, source-shape budget, and seven growth-guardrail tests passed.
  • Normal commit and pre-push hooks passed, including publication validation and all three TypeScript checks. GitHub reports the commit signature as Verified.
  • PR CI passed, including all 12 CLI coverage shards and the final gate.
  • Managed Hermes build and startup on amd64 passed.
  • The diff contains no secrets, API keys, or credentials.

Review notes

Self-review covered all three changed files in NVIDIA/NemoClaw at 64003f173c4b1b647abd1c437ba178106b2d9f60. For the sensitive path agents/hermes/Dockerfile, review checked the source-bound image publication, dependency inventories, baseline reproduction, and repaired startup and credential tests. No independent pre-publication review or waiver is claimed. After publication, all nine Advisor specialists reported no findings for this commit, and the Advisor blocker gate passed. Human review remains pending. Local Docker runtime evidence is arm64; GitHub CI also passed managed Hermes startup on amd64.

The separate all-agent managed runtime activation check failed during OpenClaw onboarding: OpenShell remained in Deleting although the replacement container was healthy. The test stopped before Hermes activation. The OpenClaw startup implementation, image recipe, and activation test are unchanged from base 7d3428718; the three-file diff only changes the Hermes base and two unrelated tests. The same gate passed on the base PR, so the trigger is not established as a deterministic base regression. No waiver is claimed. The PR remains draft pending disposition of this runtime failure.


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

Summary by CodeRabbit

  • Chores

    • Updated the default Hermes sandbox base image to a newer pinned version.
  • Tests

    • Added time limits to offline build, installation, and validation checks to prevent stalled test runs.
    • Strengthened OpenClaw update-migration validation by confirming the expected target is uniquely identified, recording its integrity, and verifying it remains unchanged after testing.

Signed-off-by: San Dang <sdang@nvidia.com>
@sandl99 sandl99 self-assigned this Sep 17, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 90285786-6dd6-4e61-9e37-78034648b0d6

📥 Commits

Reviewing files that changed from the base of the PR and between 7d34287 and 64003f1.

📒 Files selected for processing (3)
  • agents/hermes/Dockerfile
  • test/agents/deepagents/langchain-deepagents-code-nemotron-profile-plugin.test.ts
  • test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The PR updates the Hermes base-image digest, adds timeouts to DeepAgents wheel operations, and verifies that OpenClaw’s native update-check migration file remains unchanged after patching.

Changes

Hermes base image

Layer / File(s) Summary
Update Hermes base image
agents/hermes/Dockerfile
The default BASE_IMAGE digest now references the newer pinned Hermes sandbox image.

DeepAgents test timeouts

Layer / File(s) Summary
Bound wheel setup and validation
test/agents/deepagents/langchain-deepagents-code-nemotron-profile-plugin.test.ts
Offline wheel build and installation subprocesses now have 30-second timeouts. The real-plugin-wheel validation test has a 90-second timeout. A comment documents the longer setup duration under coverage.

OpenClaw harness integrity

Layer / File(s) Summary
Verify native migration integrity
test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts
The harness finds exactly one native update-check migration file, records its SHA-512 integrity, and verifies that the file remains unchanged after patching.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 64003

The updated image pin and harness limits have no verified merge-blocking risk.

🚥 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%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the pull request. It identifies the Hermes agent image repair and CI test failure fixes covered by the changes.
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.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

@github-code-quality

github-code-quality Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 64003f1 in the fix/main-ci-35195757... branch remains at 96%, unchanged from commit 7d34287 in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 64003f1 in the fix/main-ci-35195757... branch remains at 83%, unchanged from commit 7d34287 in the main branch.

Show a line coverage summary of the most impacted files.
File main 7d34287 fix/main-ci-35195757... 64003f1 +/-
src/lib/messagi...nes/template.ts 100% 86% -14%
src/lib/messagi...ate-resolver.ts 88% 76% -12%
src/lib/messagi...parser-utils.ts 95% 86% -9%
src/lib/messagi...onfig-parser.ts 90% 83% -7%
src/lib/messagi...hat/contract.ts 74% 68% -6%
src/lib/onboard...eway-runtime.ts 96% 94% -2%
src/lib/messagi...nnels/policy.ts 99% 97% -2%
src/lib/adapter...shell/client.ts 92% 91% -1%
src/lib/onboard...ort-listener.ts 93% 98% +5%
src/lib/agent/dashboard-ui.ts 85% 91% +6%

Updated September 17, 2026 11:56 UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 64003f1. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@sandl99
sandl99 marked this pull request as ready for review September 17, 2026 13:22
@kaofelix
kaofelix self-requested a review September 17, 2026 13:35

@kaofelix kaofelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed commit 64003f173c4b1b647abd1c437ba178106b2d9f60.

No blocking findings. The Hermes base remains pinned to the trusted repository by an immutable digest. The digest matches the successful multi-platform producer run at commit 8657616c8171de9371f80c6c1cdaf93f54dffb09. The test changes preserve offline package constraints, add bounded execution, and verify that the shared-state patch leaves the native OpenClaw migration byte-identical.

All current check runs are terminal with no failures. The exact all-agent managed runtime activation rerun passed. All nine Advisor specialists are clear for this commit, and CodeRabbit reported no actionable comments.

@sandl99
sandl99 merged commit a255481 into main Sep 17, 2026
133 of 134 checks passed
@sandl99
sandl99 deleted the fix/main-ci-35195757276 branch September 17, 2026 13:43
@wscurran wscurran added area: e2e End-to-end tests, nightly failures, or validation infrastructure area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: container Affects Docker, containerd, Podman, or images labels Oct 14, 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 area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: container Affects Docker, containerd, Podman, or images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants