Skip to content

fix(ci): restore cloud-experimental-e2e to nightly pipeline - #2609

Merged
jyaunches merged 1 commit into
NVIDIA:mainfrom
TruongNguyenG:fix/restore-cloud-experimental-e2e
Apr 28, 2026
Merged

jyaunches merged 1 commit into
NVIDIA:mainfrom
TruongNguyenG:fix/restore-cloud-experimental-e2e

Conversation

@TruongNguyenG

@TruongNguyenG TruongNguyenG commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Restore the cloud-experimental-e2e job that was accidentally deleted from nightly-e2e.yaml in PR #2472.

Related Issue

Fixes #2570

Changes

Restores the cloud-experimental-e2e job that tests:

  • Landlock read-only enforcement (8 assertions on .bashrc, .profile, .openclaw, .openclaw-data, /tmp)
  • API key leak detection in process list
  • openclaw tui smoke test inside sandbox
  • Live chat via openclaw agent
  • Skill injection + agent verification
  • inference.local HTTPS probe

The job runs unconditionally (no feature-flag gate). Added to notify-on-failure needs list. Removed the old skip/05-network-policy.sh step (now covered by the dedicated network-policy-e2e job).

Type of Change

  • Code change (feature, bug fix, or refactor)

Verification

  • YAML validated on fork: all jobs parse correctly
  • Verified on fork CI: cloud-experimental-e2e PASS in 14m 5s

AI Disclosure

  • AI-assisted — tool: Cursor

Signed-off-by: Truong Nguyen [email protected]

Made with Cursor

Summary by CodeRabbit

  • Tests
    • Added nightly cloud experimental end-to-end tests to broaden coverage.
    • Made the experimental job selectable from the manual job list for targeted runs.
    • Always-check documentation during these runs for improved QA.
    • Ensure experimental sandbox is torn down and verified after tests.
    • Upload an install-log artifact when the experimental job fails to aid troubleshooting.
    • Include the experimental job in failure notifications and PR reporting so results are tracked.

@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

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: 2110f301-a49b-4609-ad82-f1bf6bf3b545

📥 Commits

Reviewing files that changed from the base of the PR and between 6bfc383 and ab87264.

📒 Files selected for processing (1)
  • .github/workflows/nightly-e2e.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/nightly-e2e.yaml

📝 Walkthrough

Walkthrough

Adds back a nightly GitHub Actions job named cloud-experimental-e2e, exposes it in workflow_dispatch inputs, runs experimental cloud E2E scripts with always-on docs checks and sandbox teardown/verification, uploads an install-log-cloud-experimental artifact on failure, and includes the job in failure/report aggregators.

Changes

Cohort / File(s) Summary
Nightly E2E workflow
./.github/workflows/nightly-e2e.yaml
Restores/introduces cloud-experimental-e2e job and adds it to workflow_dispatch.inputs.jobs allowlist. Job runs test/e2e/test-e2e-cloud-experimental.sh with experimental env controls, always runs docs checks and sandbox teardown/verification, uploads install-log-cloud-experimental on failure, and is added to notify-on-failure.needs and report-to-pr.needs.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐇 I hopped back into the nightly flow,

restored the cloud tests, steady and slow.
Sandboxes tidy, logs kept near,
I twitch my nose — CI's safe here.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR restores the cloud-experimental-e2e job and adds it to notify-on-failure needs list. However, it fails to promote the nemoclaw-openshell-status-parity test from skip/ to checks/ as required by issue #2570. Move test/e2e/e2e-cloud-experimental/skip/04-nemoclaw-openshell-status-parity.sh to checks/ directory to ensure the status/recovery path is exercised nightly, as specified in issue #2570 requirement #5.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'fix(ci): restore cloud-experimental-e2e to nightly pipeline' directly and clearly summarizes the main change: restoring a deleted CI job.
Out of Scope Changes check ✅ Passed All changes are narrowly scoped to restoring the cloud-experimental-e2e job in nightly-e2e.yaml and updating related job dependencies, with no unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@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.

🧹 Nitpick comments (1)
.github/workflows/nightly-e2e.yaml (1)

83-125: Guard the repo-dependent post-processing steps on checkout success.

check-docs.sh and cleanup.sh both live in the checked-out repo. If actions/checkout fails, these always() steps will immediately fail with path errors and obscure the original checkout failure. Add a step id and gate these two steps on steps.checkout.outcome == 'success' while leaving the artifact upload untouched.

[details>

Suggested tweak
       - name: Checkout
+        id: checkout
         uses: actions/checkout@v6
@@
-      - name: Documentation checks (check-docs.sh)
-        if: always()
+      - name: Documentation checks (check-docs.sh)
+        if: always() && steps.checkout.outcome == 'success'
@@
-      - name: Tear down cloud-experimental sandbox (always)
-        if: always()
+      - name: Tear down cloud-experimental sandbox (always)
+        if: always() && steps.checkout.outcome == 'success'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/nightly-e2e.yaml around lines 83 - 125, Add an id to the
Checkout step (e.g., id: checkout) and change the two repo-dependent always()
steps that run check-docs.sh and cleanup.sh so they only run when checkout
succeeded by gating them with if: always() && steps.checkout.outcome ==
'success' (leave any artifact-upload step(s) using only always() unchanged);
update the step identifiers referenced in the if expressions to match the
Checkout step id (e.g., steps.checkout.outcome).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.github/workflows/nightly-e2e.yaml:
- Around line 83-125: Add an id to the Checkout step (e.g., id: checkout) and
change the two repo-dependent always() steps that run check-docs.sh and
cleanup.sh so they only run when checkout succeeded by gating them with if:
always() && steps.checkout.outcome == 'success' (leave any artifact-upload
step(s) using only always() unchanged); update the step identifiers referenced
in the if expressions to match the Checkout step id (e.g.,
steps.checkout.outcome).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 43de0b5b-2acc-487e-afca-168e2ddba425

📥 Commits

Reviewing files that changed from the base of the PR and between 0b49851 and a992ed1.

📒 Files selected for processing (1)
  • .github/workflows/nightly-e2e.yaml

@wscurran wscurran added CI/CD dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 28, 2026
@wscurran

Copy link
Copy Markdown
Contributor

@jyaunches jyaunches self-assigned this Apr 28, 2026
@TruongNguyenG
TruongNguyenG force-pushed the fix/restore-cloud-experimental-e2e branch from a992ed1 to 81cbd3f Compare April 28, 2026 18:52
@jyaunches
jyaunches force-pushed the fix/restore-cloud-experimental-e2e branch from 81cbd3f to 6bfc383 Compare April 28, 2026 18:52

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/nightly-e2e.yaml:
- Around line 42-48: The workflow added the job name cloud-experimental-e2e to
the valid list but `.coderabbit.yaml` is missing a corresponding
path_instructions entry; update `.coderabbit.yaml` to add a path_instructions
block for cloud-experimental-e2e that covers the source files exercised by that
job (landlock read-only enforcement, API key leak detection, skill injection,
inference.local HTTPS, and live chat via OpenClaw agent), ensuring the entry
name matches cloud-experimental-e2e exactly and includes the correct file globs
or paths used by the job so the validation passes and the guidance is captured.
🪄 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: 5d7ae8ae-e520-4b74-98d3-fb414faebc29

📥 Commits

Reviewing files that changed from the base of the PR and between a992ed1 and 6bfc383.

📒 Files selected for processing (1)
  • .github/workflows/nightly-e2e.yaml

Comment thread .github/workflows/nightly-e2e.yaml Outdated
Comment on lines +42 to +48
Valid: cloud-e2e, cloud-experimental-e2e, messaging-providers-e2e,
token-rotation-e2e, sandbox-survival-e2e, hermes-e2e,
skip-permissions-e2e, sandbox-operations-e2e, inference-routing-e2e,
network-policy-e2e, deployment-services-e2e, diagnostics-e2e,
snapshot-commands-e2e, shields-config-e2e, rebuild-openclaw-e2e,
upgrade-stale-sandbox-e2e, rebuild-hermes-e2e, overlayfs-autofix-e2e,
gpu-e2e

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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

cfg="$(fd -H -a -g '.coderabbit.y*ml' . | head -n1)"
test -n "$cfg"

printf 'Using %s\n' "$cfg"
rg -n 'cloud-experimental-e2e|test/e2e/test-e2e-cloud-experimental\.sh|test/e2e/e2e-cloud-experimental/' "$cfg"
rg -n 'validate-e2e-coverage|path_instructions' test/validate-e2e-coverage.test.ts "$cfg"

Repository: NVIDIA/NemoClaw

Length of output: 101


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Check the structure of .coderabbit.yaml and look for existing e2e entries
echo "=== .coderabbit.yaml structure (first 100 lines) ==="
head -n 100 .coderabbit.yaml

echo ""
echo "=== Searching for path_instructions entries in .coderabbit.yaml ==="
rg -n 'path_instructions|e2e' .coderabbit.yaml | head -n 30

Repository: NVIDIA/NemoClaw

Length of output: 7193


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Confirm cloud-experimental-e2e job exists in the workflow
echo "=== Checking for cloud-experimental-e2e in nightly-e2e.yaml ==="
rg -n 'cloud-experimental-e2e' .github/workflows/nightly-e2e.yaml

# Check the structure around lines 95-154
echo ""
echo "=== Lines 90-160 of nightly-e2e.yaml ==="
sed -n '90,160p' .github/workflows/nightly-e2e.yaml

Repository: NVIDIA/NemoClaw

Length of output: 3502


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Examine the validation test to understand what it checks
echo "=== validate-e2e-coverage.test.ts content ==="
cat test/validate-e2e-coverage.test.ts

Repository: NVIDIA/NemoClaw

Length of output: 8980


Add cloud-experimental-e2e coverage to .coderabbit.yaml path_instructions.

The job is properly wired in the workflow but missing from .coderabbit.yaml. Per the coding guidelines, a path_instructions entry must be added for the source files this job exercises (landlock read-only enforcement, API key leak detection, skill injection, inference.local HTTPS, and live chat via OpenClaw agent). The validation test only warns rather than fails, but the guideline requirement still applies.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/nightly-e2e.yaml around lines 42 - 48, The workflow added
the job name cloud-experimental-e2e to the valid list but `.coderabbit.yaml` is
missing a corresponding path_instructions entry; update `.coderabbit.yaml` to
add a path_instructions block for cloud-experimental-e2e that covers the source
files exercised by that job (landlock read-only enforcement, API key leak
detection, skill injection, inference.local HTTPS, and live chat via OpenClaw
agent), ensuring the entry name matches cloud-experimental-e2e exactly and
includes the correct file globs or paths used by the job so the validation
passes and the guidance is captured.

@jyaunches
jyaunches enabled auto-merge (squash) April 28, 2026 18:59
PR NVIDIA#2472 accidentally deleted the entire cloud-experimental-e2e job
from nightly-e2e.yaml. Restores Landlock enforcement, API key leak
detection, openclaw tui smoke, live chat, and skill injection tests.

Verified on fork: PASS in 14m 5s.

Fixes NVIDIA#2570
Signed-off-by: Truong Nguyen <[email protected]>
Made-with: Cursor
@jyaunches
jyaunches force-pushed the fix/restore-cloud-experimental-e2e branch from 6bfc383 to ab87264 Compare April 28, 2026 20:19
@jyaunches
jyaunches merged commit e007f27 into NVIDIA:main Apr 28, 2026
8 checks passed
cv pushed a commit that referenced this pull request Apr 28, 2026
## Summary

Restore the `cloud-experimental-e2e` job that was accidentally deleted
from `nightly-e2e.yaml` in PR #2472.

## Related Issue

Fixes #2570

## Changes

Restores the `cloud-experimental-e2e` job that tests:
- Landlock read-only enforcement (8 assertions on .bashrc, .profile,
.openclaw, .openclaw-data, /tmp)
- API key leak detection in process list
- `openclaw tui` smoke test inside sandbox
- Live chat via `openclaw agent`
- Skill injection + agent verification
- `inference.local` HTTPS probe

The job runs unconditionally (no feature-flag gate). Added to
`notify-on-failure` needs list. Removed the old
`skip/05-network-policy.sh` step (now covered by the dedicated
`network-policy-e2e` job).

## Type of Change

- Code change (feature, bug fix, or refactor)

## Verification

- YAML validated on fork: all jobs parse correctly
- Verified on fork CI: cloud-experimental-e2e PASS in 14m 5s

## AI Disclosure

- AI-assisted — tool: Cursor

---

Signed-off-by: Truong Nguyen <[email protected]>

Made with [Cursor](https://cursor.com)

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

* **Tests**
* Added nightly cloud experimental end-to-end tests to broaden coverage.
* Made the experimental job selectable from the manual job list for
targeted runs.
  * Always-check documentation during these runs for improved QA.
  * Ensure experimental sandbox is torn down and verified after tests.
* Upload an install-log artifact when the experimental job fails to aid
troubleshooting.
* Include the experimental job in failure notifications and PR reporting
so results are tracked.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Truong Nguyen <[email protected]>
DemianHeyGen pushed a commit to DemianHeyGen/NemoClaw that referenced this pull request Apr 30, 2026
)

## Summary

Restore the `cloud-experimental-e2e` job that was accidentally deleted
from `nightly-e2e.yaml` in PR NVIDIA#2472.

## Related Issue

Fixes NVIDIA#2570

## Changes

Restores the `cloud-experimental-e2e` job that tests:
- Landlock read-only enforcement (8 assertions on .bashrc, .profile,
.openclaw, .openclaw-data, /tmp)
- API key leak detection in process list
- `openclaw tui` smoke test inside sandbox
- Live chat via `openclaw agent`
- Skill injection + agent verification
- `inference.local` HTTPS probe

The job runs unconditionally (no feature-flag gate). Added to
`notify-on-failure` needs list. Removed the old
`skip/05-network-policy.sh` step (now covered by the dedicated
`network-policy-e2e` job).

## Type of Change

- Code change (feature, bug fix, or refactor)

## Verification

- YAML validated on fork: all jobs parse correctly
- Verified on fork CI: cloud-experimental-e2e PASS in 14m 5s

## AI Disclosure

- AI-assisted — tool: Cursor

---

Signed-off-by: Truong Nguyen <[email protected]>

Made with [Cursor](https://cursor.com)

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

* **Tests**
* Added nightly cloud experimental end-to-end tests to broaden coverage.
* Made the experimental job selectable from the manual job list for
targeted runs.
  * Always-check documentation during these runs for improved QA.
  * Ensure experimental sandbox is torn down and verified after tests.
* Upload an install-log artifact when the experimental job fails to aid
troubleshooting.
* Include the experimental job in failure notifications and PR reporting
so results are tracked.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Truong Nguyen <[email protected]>
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance and removed CI/CD github_actions Pull requests that update GitHub Actions code labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): restore cloud-experimental-e2e to nightly pipeline (removed in #2472)

3 participants