Repository navigation
fix(ci): restore cloud-experimental-e2e to nightly pipeline - #2609
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds back a nightly GitHub Actions job named Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/nightly-e2e.yaml (1)
83-125: Guard the repo-dependent post-processing steps on checkout success.
check-docs.shandcleanup.shboth live in the checked-out repo. Ifactions/checkoutfails, thesealways()steps will immediately fail with path errors and obscure the original checkout failure. Add a stepidand gate these two steps onsteps.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
📒 Files selected for processing (1)
.github/workflows/nightly-e2e.yaml
|
✨ Related open PRs: Related open issues: |
a992ed1 to
81cbd3f
Compare
81cbd3f to
6bfc383
Compare
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
.github/workflows/nightly-e2e.yaml
| 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 |
There was a problem hiding this comment.
🧩 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 30Repository: 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.yamlRepository: 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.tsRepository: 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.
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
6bfc383 to
ab87264
Compare
## 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]>
) ## 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]>
Summary
Restore the
cloud-experimental-e2ejob that was accidentally deleted fromnightly-e2e.yamlin PR #2472.Related Issue
Fixes #2570
Changes
Restores the
cloud-experimental-e2ejob that tests:openclaw tuismoke test inside sandboxopenclaw agentinference.localHTTPS probeThe job runs unconditionally (no feature-flag gate). Added to
notify-on-failureneeds list. Removed the oldskip/05-network-policy.shstep (now covered by the dedicatednetwork-policy-e2ejob).Type of Change
Verification
AI Disclosure
Signed-off-by: Truong Nguyen [email protected]
Made with Cursor
Summary by CodeRabbit