Repository navigation
test(e2e): use dependency-free ClawHub fixture - #8854
Conversation
Signed-off-by: Senthil Ravichandran <[email protected]>
|
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. |
|
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)
📝 WalkthroughWalkthroughThe scoped ClawHub lifecycle test now installs ChangesClawHub lifecycle test
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 9bd38ce in the TypeScript / code-coverage/cliThe overall coverage in commit 9bd38ce in the Show a code coverage summary of the most impacted files.
Updated |
prekshivyas
left a comment
There was a problem hiding this comment.
Reviewed draft commit 38b462f. The replacement ClawHub fixture is version-pinned, scoped, and reports no npm dependencies; the assertions update only its display and runtime identifiers while preserving the restricted-network lifecycle. I found no blocking diff issue. The PR is draft and its required checks are still running, so I am not approving it.
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: Manual-only E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Senthil Ravichandran <[email protected]>
prekshivyas
left a comment
There was a problem hiding this comment.
Reviewed exact draft head 34b38de631. The replacement is pinned to the official @openclaw/[email protected]; its package metadata has no runtime dependencies and only peers on OpenClaw. The diff preserves the restricted-network ClawHub install/list/runtime-inspect lifecycle and updates only the fixture identity. I found no blocking diff issue. The PR is draft and its exact-head CI is still running, so I am not approving it.
…ependency-free Signed-off-by: Senthil Ravichandran <[email protected]>
|
Refreshed onto current main at 9bd38ce. CodeRabbit and the exact-head reviews found no actionable issues, the final documentation review receipt is current, and the effective diff remains limited to the ClawHub E2E fixture. Ready for review when you have a chance, @prekshivyas. |
## Summary Format the Hermes gateway log-tail constant on current `main`. The repository-wide Biome hook otherwise rewrites this line and fails unrelated PR static checks, including run `31564155093`, job `94020740879` on PR #8854. ## Changes - Apply the current Biome formatting to `HERMES_GATEWAY_LOG_TAIL_COMMAND`. - Preserve the exact command value and runtime behavior. ## 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 - [ ] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [x] Tests not applicable — justification: This change only reflows an existing string literal; its value and runtime behavior are unchanged. - [ ] Docs updated for user-facing behavior changes - [x] Docs not applicable — justification: There is no user-facing behavior change. - [ ] 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: `no-docs-needed` - Evidence: The effective diff from current `main` to commit `820239e1f` only applies Biome formatting to `HERMES_GATEWAY_LOG_TAIL_COMMAND` in `src/lib/actions/sandbox/gateway-restart.ts`. The command value and runtime behavior are unchanged. The exact all-files Biome hook and `git diff --check` pass, so no user-facing documentation change or runtime test is required. - Agent: Codex Desktop <!-- docs-review-head-sha: 820239e --> <!-- docs-review-agents-blob-sha: c4923a3 --> ## 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: Tests are not applicable because the string value is unchanged; `prek run biome-format --all-files` and `git diff --check` pass. - [ ] Applicable broad gate passed — `npm test` for broad runtime/test-harness changes; `npm run check` for repo-wide validation/coverage changes — command/result: - [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: Senthil Ravichandran <[email protected]> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Reformatted the Hermes gateway log-tail command without changing its behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Senthil Ravichandran <[email protected]>
Summary
The restricted-network E2E now reinstalls an official dependency-free scoped ClawHub plugin. This keeps the test focused on ClawHub install and runtime-load behavior instead of failing when the previous fixture requests a nested npm package that the zero-preset policy correctly denies.
Affected failure: E2E run 31561831175, job 94006031731.
Related Issue
Related to #4104.
Changes
@openclaw/[email protected]with the official dependency-free@openclaw/[email protected]fixture.--forceinstall mode to replace the Brave plugin already present in the managed image while retaining install-policy and safety checks.Type of Change
Quality Gates
--forcemode overwrites the existing plugin without bypassingsecurity.installPolicyor remaining install safety checks. The zero-preset policy is unchanged.Documentation Writer Review
no-docs-neededmain, the effective diff changes onlytest/e2e/live/network-policy.test.ts. The scoped ClawHub install and runtime-load behavior and restricted network-policy contract remain unchanged.DGX Station Hardware Evidence
scripts/prepare-dgx-station-host.shis unchanged.Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm run build:cliandnpm run typecheck:clipassed, andgit diff --checkpassed.clawhub package inspectresolved the exact official@openclaw/[email protected]artifact with runtime IDbrave, a clean scan, and source-linked provenance.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result: Not applicable; this is a one-fixture live E2E correction covered by focused support and contract tests plus normal path-scoped hooks.npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran [email protected]