Skip to content

chore(test): apply shfmt formatting to E2E scripts#2359

Merged
ericksoa merged 4 commits into
mainfrom
fix/e2e-shfmt-formatting
Apr 25, 2026
Merged

chore(test): apply shfmt formatting to E2E scripts#2359
ericksoa merged 4 commits into
mainfrom
fix/e2e-shfmt-formatting

Conversation

@ericksoa

@ericksoa ericksoa commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

The squash merge of #2351 skipped pre-commit hooks, leaving shfmt formatting violations that broke the main workflow checks. This applies shfmt -w to fix them.

Test plan

  • shfmt -d produces no diff on both files

Summary by CodeRabbit

  • Documentation
    • Added documentation for nemoclaw onboard --from <Dockerfile> option for building sandbox images from custom Dockerfiles.
    • Added documentation for deprecated CLI aliases nemoclaw start/nemoclaw stop (use nemoclaw tunnel start/nemoclaw tunnel stop instead).
    • Added documentation for deprecated nemoclaw setup command (use nemoclaw onboard instead).

The squash merge of #2351 skipped pre-commit hooks, leaving shfmt
formatting violations in the snapshot-commands and deployment-services
test scripts. Run shfmt -w to fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 23, 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: 3b9e7737-05f2-4bed-a17f-c7256bb50d76

📥 Commits

Reviewing files that changed from the base of the PR and between 9a75ae1 and c4d6acb.

📒 Files selected for processing (1)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
✅ Files skipped from review due to trivial changes (1)
  • .agents/skills/nemoclaw-user-reference/references/commands.md

📝 Walkthrough

Walkthrough

The PR updates the nemoclaw user reference documentation to include three new command sections: the onboard --from <Dockerfile> option for building sandbox images from user-provided Dockerfiles, deprecated aliases for nemoclaw start/nemoclaw stop, and a deprecated nemoclaw setup section with compatibility warnings.

Changes

Cohort / File(s) Summary
Documentation Reference
.agents/skills/nemoclaw-user-reference/references/commands.md
Added CLI documentation entries for new onboard --from <Dockerfile> option, deprecated nemoclaw start/nemoclaw stop aliases, and deprecated nemoclaw setup compatibility section with example invocations and warning text.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A doc so fine, with commands clear,
New options help the users here,
Old aliases rest with gentle care,
Deprecated paths, but still we share,
The reference guide now bright and fair!

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title claims to apply shfmt formatting to E2E scripts, but the actual changes documented are additions to a commands reference document with new CLI usage entries and deprecated command sections. Update the title to accurately reflect the primary change: 'docs: add nemoclaw onboard --from option and document deprecated commands' or similar, as the actual changes are documentation-only updates to the commands reference.
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/e2e-shfmt-formatting

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

@wscurran wscurran added testing and removed testing labels Apr 23, 2026
Keep main's CLOUDFLARED_DOWNLOAD_URL env var override while applying
the branch's shfmt-style line continuation formatting (&&-at-EOL
instead of backslash continuation).
@ericksoa ericksoa changed the title style(test): apply shfmt formatting to E2E scripts chore(test): apply shfmt formatting to E2E scripts Apr 24, 2026
The merge resolution used &&-at-EOL style but shfmt prefers
backslash continuation with &&/|| at the start of the next line.
Also fixes case-statement indentation in test-deployment-services.sh.
@ericksoa ericksoa merged commit 0c0eb46 into main Apr 25, 2026
14 checks passed
ksapru pushed a commit to ksapru/NemoClaw that referenced this pull request May 12, 2026
## Summary

The squash merge of NVIDIA#2351 skipped pre-commit hooks, leaving shfmt
formatting violations that broke the `main` workflow checks. This
applies `shfmt -w` to fix them.

## Test plan

- [x] `shfmt -d` produces no diff on both files

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

* **Documentation**
* Added documentation for `nemoclaw onboard --from <Dockerfile>` option
for building sandbox images from custom Dockerfiles.
* Added documentation for deprecated CLI aliases `nemoclaw
start`/`nemoclaw stop` (use `nemoclaw tunnel start`/`nemoclaw tunnel
stop` instead).
* Added documentation for deprecated `nemoclaw setup` command (use
`nemoclaw onboard` instead).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wscurran wscurran added area: e2e End-to-end tests, nightly failures, or validation infrastructure feature PR adds or expands user-visible functionality and removed enhancement: testing labels Jun 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 feature PR adds or expands user-visible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants