Skip to content

fix(cli): clean up headless gateway fallback - #8033

Merged
senthilr-nv merged 8 commits into
mainfrom
codex/fix-headless-gateway-cleanup
Aug 1, 2026
Merged

fix(cli): clean up headless gateway fallback#8033
senthilr-nv merged 8 commits into
mainfrom
codex/fix-headless-gateway-cleanup

Conversation

@senthilr-nv

@senthilr-nv senthilr-nv commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Final sandbox cleanup failed on headless Linux runners when the packaged OpenShell service existed but systemctl --user could not reach a user manager.
Cleanup now permits the standalone path only for the recognized unavailable-manager condition and only when the packaged unit cannot activate automatically.
It requires PID-bound gateway identity, verifies that the port is free, and preserves runtime evidence until cleanup completes.

Related Issue

Follow-up to #7904 and #7907.

Changes

  • Classify only recognized systemd user-manager availability failures as eligible for standalone cleanup.
  • Refuse the fallback when the repository-managed systemd unit remains enabled for automatic activation.
  • Stop only the PID-file-owned gateway process after exact gateway name and port validation.
  • Require a successful host bind probe before gateway registration and shared-volume cleanup.
  • Preserve PID and runtime-marker evidence across partial cleanup failures and retries.
  • Keep host process, port, and runtime-file operations in the host-gateway adapter boundary.
  • Document the narrow headless Linux behavior in the destroy command reference.

Type of Change

  • 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:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • 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: Independent Codex Desktop security review PASS on exact head c14826163d08d98031a583c49407783355b24592 against base 227e8b92b600c77684fe45befd7909ae4ad39141; all nine categories passed with no actionable findings.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Documentation Writer Review

  • Documentation writer subagent reviewed the completed changes
  • Result: docs-updated
  • Evidence: Reviewed docs/reference/commands.mdx and every changed comment, diagnostic, and test title against the implementation, writing rules, controlled word list, and documentation contributor guide. The final test-only delta keeps the injected cleanup failure path linear and preserves its exact marker-path assertion. npm run docs completed with 0 errors and 2 generic Fern upgrade notices.
  • Agent: Codex Desktop

DGX Station Hardware Evidence

  • Tested on DGX Station
  • Tested commit:
  • Station profile/scenario:
  • Result:
  • Supporting evidence:

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • 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
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — npx vitest run --project cli src/lib/actions/sandbox/destroy-gateway.test.ts src/lib/onboard/docker-driver-gateway-service.test.ts src/lib/onboard/host-gateway-process.test.ts (62 passed); npm run typecheck:cli passed.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — command/result:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Exact local evidence: head c14826163d08d98031a583c49407783355b24592; base 227e8b92b600c77684fe45befd7909ae4ad39141; complete seven-file diff reviewed; git diff --check passed; diff-aware pre-commit, commit-msg, and pre-push stages passed against upstream/main.

Product scope: approved independently of GitHub merge state. This fixes the accepted final-destroy behavior from #7904 and the packaged-service lifecycle established by #7907. It adds no new integration, configuration surface, image, third-party stack, or supported workflow.


Signed-off-by: Senthil Ravichandran senthilr@nvidia.com

Summary by CodeRabbit

  • Bug Fixes

    • Improved headless Linux cleanup when the system service manager is unavailable.
    • Verifies gateway ownership and port release before removing gateway resources.
    • Prevents cleanup when process ownership or port availability cannot be confirmed.
    • Preserves prior failure behavior for other service-stop errors.
  • Tests

    • Added coverage for fallback cleanup, ownership validation, occupied ports, retry behavior, and runtime-file handling.

Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Aug 1, 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 Aug 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The destroy flow supports headless Linux cleanup when the systemd user manager is unavailable. It stops the recorded gateway process, verifies ownership and port release, then removes runtime files and gateway resources only after validation succeeds.

Changes

Gateway cleanup

Layer / File(s) Summary
Service-stop fallback eligibility
src/lib/onboard/docker-driver-gateway-service.ts, src/lib/onboard/docker-driver-gateway-service.test.ts
Stop results include standaloneFallbackAllowed. The flag is enabled only for the recognized unavailable-user-manager systemd failure without an activation link.
Verified standalone gateway cleanup
src/lib/actions/sandbox/destroy-gateway.ts, src/lib/onboard/host-gateway-process.ts, docs/reference/commands.mdx
The destroy flow preserves runtime evidence, stops the recorded process, verifies ownership and port release, and clears runtime files after successful cleanup. Other service-stop failures still abort gateway and shared-volume removal.
Fallback validation coverage
src/lib/actions/sandbox/destroy-gateway.test.ts, src/lib/onboard/host-gateway-process.test.ts
Tests cover successful fallback cleanup, missing ownership evidence, occupied ports, retry behavior, port probing, and runtime-file removal.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant ServiceStop
  participant DestroyGateway
  participant GatewayProcess
  participant GatewayPort
  participant RuntimeFiles
  ServiceStop->>DestroyGateway: Report stop result and fallback eligibility
  DestroyGateway->>GatewayProcess: Stop recorded PID
  DestroyGateway->>GatewayPort: Verify port is free
  DestroyGateway->>RuntimeFiles: Remove PID file and runtime marker
Loading

Possibly related PRs

Suggested reviewers: apurvvkumaria

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the headless gateway fallback cleanup change.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-headless-gateway-cleanup

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

@github-code-quality

github-code-quality Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in commit c148261 in the codex/fix-headless-g... branch remains at 96%, unchanged from commit 4feccff in the main branch.

TypeScript / code-coverage/cli

The overall coverage in commit c148261 in the codex/fix-headless-g... branch remains at 81%, unchanged from commit 99d5b66 in the main branch.

Show a code coverage summary of the most impacted files.
File main 99d5b66 codex/fix-headless-g... c148261 +/-
src/lib/onboard...eway-service.ts 83% 82% -1%
src/lib/onboard...eway-process.ts 95% 95% 0%
src/lib/actions...troy-gateway.ts 86% 86% 0%
src/lib/actions...opair-budget.ts 100% 100% 0%
src/lib/sandbox...rce-identity.ts 88% 88% 0%
src/lib/tunnel/services.ts 75% 75% 0%
src/lib/onboard...erialization.ts 90% 92% +2%
src/lib/actions...air-approval.ts 66% 88% +22%

Updated August 01, 2026 03:26 UTC

@senthilr-nv

Copy link
Copy Markdown
Collaborator Author

Security review — PASS

Reviewed PR #8033 at exact head 2447b71e031ea61ebc1de6e07aacc974fd801216.

No security findings were identified. The change is safe to proceed through CI:

Category Verdict Evidence
Secrets and credentials PASS No secrets, credentials, keys, or credential-handling paths changed.
Input validation and sanitization PASS The bind-probe script interpolates only the canonical parsed numeric gateway port. No shell evaluation or user-controlled command text is introduced.
Authentication and authorization PASS No authentication surface changes. Process authority remains bound to NemoClaw's exact gateway name and port.
Dependencies PASS No dependencies or package metadata changed.
Error handling and logging PASS Failures retain actionable service/PID/port details without credential material; runtime evidence is preserved until cleanup succeeds.
Cryptography and data protection PASS No cryptographic or sensitive-data behavior changed.
Configuration and security headers PASS No server exposure, policy, container, or HTTP security configuration changed.
Security testing PASS Tests deny fallback without PID ownership proof, deny cleanup while the port remains occupied, and preserve fatal handling for all non-manager-unavailable service failures.
System security PASS Fallback is limited to recognized unavailable systemd user-manager errors. The reaper disables global pgrep fallback, verifies the PID command line against the exact gateway name/port, refuses non-matching or surviving PIDs, and requires a successful bind probe before destructive gateway/volume cleanup.

Files reviewed:

  • src/lib/actions/sandbox/destroy-gateway.ts
  • src/lib/actions/sandbox/destroy-gateway.test.ts
  • src/lib/onboard/docker-driver-gateway-service.ts
  • src/lib/onboard/docker-driver-gateway-service.test.ts
  • docs/reference/commands.mdx

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

@senthilr-nv
senthilr-nv marked this pull request as ready for review August 1, 2026 02:24
@senthilr-nv
senthilr-nv requested review from apurvvkumaria and cv August 1, 2026 02:26
@senthilr-nv senthilr-nv added v0.0.100 bug-fix PR fixes a bug or regression area: cli Command line interface, flags, terminal UX, or output area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery platform: linux Affects non-Ubuntu Linux environments security labels Aug 1, 2026

@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)
src/lib/actions/sandbox/destroy-gateway.ts (1)

40-60: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Move host-bound operations out of the action.

Lines 40-60 make the action own child-process execution and filesystem deletion.
This duplicates runtime-file cleanup in src/lib/onboard/host-gateway-process.ts.
Make an existing adapter or host-gateway boundary the authoritative owner of the port probe and runtime cleanup.
Keep cleanupGatewayAfterLastSandbox as the orchestration consumer through CleanupGatewayDeps.

As per path instructions, “actions orchestrate” and “adapters own host/process/network boundaries.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/actions/sandbox/destroy-gateway.ts` around lines 40 - 60, Move
isGatewayPortFree and clearGatewayRuntimeFiles out of the action into the
existing host-gateway adapter boundary, reusing the authoritative runtime-file
cleanup in host-gateway-process.ts and placing the port probe there. Update
CleanupGatewayDeps and cleanupGatewayAfterLastSandbox to consume those adapter
operations while retaining the action as orchestration only.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/lib/actions/sandbox/destroy-gateway.ts`:
- Around line 40-60: Move isGatewayPortFree and clearGatewayRuntimeFiles out of
the action into the existing host-gateway adapter boundary, reusing the
authoritative runtime-file cleanup in host-gateway-process.ts and placing the
port probe there. Update CleanupGatewayDeps and cleanupGatewayAfterLastSandbox
to consume those adapter operations while retaining the action as orchestration
only.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 9a0c90ae-6aa7-4b15-9071-aa7b13bd672e

📥 Commits

Reviewing files that changed from the base of the PR and between 227e8b9 and 2447b71.

📒 Files selected for processing (5)
  • docs/reference/commands.mdx
  • src/lib/actions/sandbox/destroy-gateway.test.ts
  • src/lib/actions/sandbox/destroy-gateway.ts
  • src/lib/onboard/docker-driver-gateway-service.test.ts
  • src/lib/onboard/docker-driver-gateway-service.ts

Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
@senthilr-nv

Copy link
Copy Markdown
Collaborator Author

Security review refresh — PASS

Re-reviewed PR #8033 at new exact head 494b2a51bd5a4271ee847d98e7fd758ab332ee17 after the host-boundary refactor.

All nine categories remain PASS with no findings. The follow-up moves the bind probe and exact runtime-file removal into host-gateway-process.ts; it does not broaden process discovery or cleanup authority. Tests now cover free, occupied, and inconclusive bind-probe results plus exact PID/runtime-marker deletion. The action still:

  • permits fallback only for recognized unavailable systemd user-manager failures;
  • uses the per-gateway PID with exact name/port command-line verification;
  • disables the global pgrep fallback;
  • rejects non-matching or surviving PIDs;
  • treats occupied and inconclusive bind probes as failures; and
  • preserves runtime evidence until all cleanup succeeds.

No secrets, dependencies, authentication, cryptography, network policy, container policy, or credential behavior changed.

@senthilr-nv senthilr-nv self-assigned this Aug 1, 2026
@senthilr-nv

Copy link
Copy Markdown
Collaborator Author

Addressed the CodeRabbit boundary finding in 494b2a5: the bind probe and runtime-file cleanup now live in host-gateway-process.ts, with focused boundary tests for free/occupied/inconclusive probe results and exact runtime-file removal. Focused tests: 59 passed; CLI type-check and validate:pr passed.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings reported

Advisor assessment: No blocking advisor findings reported
Next action: Review the warnings below.
Findings: 0 blockers · 1 warning · 0 suggestions

Model lanes

  • GPT-5.6 Terra (primary): Completed · medium confidence · 0 blockers · 1 warning · 0 suggestions
  • Nemotron 3 Ultra (second opinion): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Model comparison: normalized findings differ; normalized E2E selections match; Nemotron reported the same number of blockers, 1 fewer warning, the same number of suggestions.

Second-opinion E2E selections are advisory. They do not change the primary assessment or E2E / PR Gate.

E2E guidance

Advisory only. E2E / PR Gate selects and runs jobs independently.

Recommended E2E: onboard-repair, onboard-resume, cloud-onboard

1 optional E2E recommendation
  • sandbox-operations
1 warning · 0 suggestions

Warnings

Warnings do not block.

PRA-1 Warning — Check all systemd user-service activation locations before fallback cleanup

  • Location: src/lib/onboard/docker-driver-gateway-service.ts:367
  • Category: security
  • Problem: The manager-unavailable fallback checks only the configuration-home default.target.wants link. A NemoClaw gateway service enabled through another applicable systemd user-unit search path can be classified as unable to reactivate. When the user manager returns, that service can start and rebind the gateway after destroy completed.
  • Impact: Final sandbox cleanup can report successful gateway removal while an automatically activated packaged service later recreates the gateway listener.
  • Recommendation: Determine enablement with systemd or inspect every supported user-unit activation location before setting standaloneFallbackAllowed. Reject the fallback when any applicable activation link exists.
  • Verification: Review systemd user-unit enablement search paths and compare them with hasSystemdUserServiceActivationLink at src/lib/onboard/docker-driver-gateway-service.ts:367-380.
  • Test coverage: Add tests for each supported non-configuration-home activation location and assert stopOpenShellGatewayUserService returns standaloneFallbackAllowed: false.
  • Evidence: src/lib/onboard/docker-driver-gateway-service.ts:367-380 checks one default.target.wants path. src/lib/onboard/docker-driver-gateway-service.test.ts:707-725 covers only that configuration-home path.

Workflow run details

This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge.

@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: 2

🧹 Nitpick comments (1)
src/lib/onboard/host-gateway-process.test.ts (1)

89-102: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Assert that unrelated state files remain intact.

The test creates only the two files that should be removed. A regression that removes all of stateDir recursively would still pass. Add an unrelated sentinel file and assert that it remains after clearHostGatewayRuntimeFiles.

As per path instructions, verify the observable filesystem boundary rather than only the intended deletion.
[details]

    const markerFile = path.join(stateDir, "runtime.json");
+   const unrelatedFile = path.join(stateDir, "unrelated.txt");
    fs.writeFileSync(pidFile, "4242\n");
    fs.writeFileSync(markerFile, "{}\n");
+   fs.writeFileSync(unrelatedFile, "keep\n");

    clearHostGatewayRuntimeFiles(stateDir, pidFile);

    expect(fs.existsSync(pidFile)).toBe(false);
    expect(fs.existsSync(markerFile)).toBe(false);
+   expect(fs.existsSync(unrelatedFile)).toBe(true);

[details]

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/onboard/host-gateway-process.test.ts` around lines 89 - 102, Extend
the test around clearHostGatewayRuntimeFiles by creating an unrelated sentinel
file in stateDir before invoking it. Assert afterward that pidFile and
markerFile are removed while the sentinel file still exists, verifying only the
targeted runtime files are deleted.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/lib/onboard/host-gateway-process.test.ts`:
- Around line 89-102: Update the test around clearHostGatewayRuntimeFiles to
wrap temporary-directory setup and assertions in a try/finally block, and remove
stateDir recursively in the finally clause. Preserve the existing PID and
runtime marker assertions while ensuring cleanup runs even when setup or an
assertion fails.

In `@src/lib/onboard/host-gateway-process.ts`:
- Around line 197-200: Update clearHostGatewayRuntimeFiles to remove the runtime
marker via clearDockerDriverGatewayRuntimeMarker before deleting pidFile,
ensuring the PID evidence remains available if marker cleanup fails. If cleanup
can partially succeed before an error is rethrown, restore any removed runtime
file so both artifacts survive the failure.

---

Nitpick comments:
In `@src/lib/onboard/host-gateway-process.test.ts`:
- Around line 89-102: Extend the test around clearHostGatewayRuntimeFiles by
creating an unrelated sentinel file in stateDir before invoking it. Assert
afterward that pidFile and markerFile are removed while the sentinel file still
exists, verifying only the targeted runtime files are deleted.
🪄 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: aece70e8-87ae-42d2-aa9c-1611b7a32a3e

📥 Commits

Reviewing files that changed from the base of the PR and between 2447b71 and 494b2a5.

📒 Files selected for processing (3)
  • src/lib/actions/sandbox/destroy-gateway.ts
  • src/lib/onboard/host-gateway-process.test.ts
  • src/lib/onboard/host-gateway-process.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/lib/actions/sandbox/destroy-gateway.ts

Comment thread src/lib/onboard/host-gateway-process.test.ts
Comment thread src/lib/onboard/host-gateway-process.ts

@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

♻️ Duplicate comments (1)
src/lib/onboard/host-gateway-process.test.ts (1)

107-117: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Start cleanup before test setup.

stateDir is created at Line 107, but the try block starts at Line 117. If either fs.writeFileSync or vi.spyOn fails, the temporary directory remains. Put setup inside the outer try, restore the spy in an inner finally, and remove stateDir in the outer finally.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/onboard/host-gateway-process.test.ts` around lines 107 - 117, Move
the temporary-directory setup, file writes, and fs.rmSync spy creation in the
test around the existing cleanup scenario into the outer try block. Restore the
spy in an inner finally, and remove stateDir in the outer finally so cleanup
runs even when setup or spy creation fails.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/lib/onboard/host-gateway-process.test.ts`:
- Around line 112-115: Update the rmSync spy setup in the test to capture
fs.rmSync.bind(fs) before calling vi.spyOn, then invoke that captured original
implementation when candidate !== markerFile instead of calling fs.rmSync
through the spy.

---

Duplicate comments:
In `@src/lib/onboard/host-gateway-process.test.ts`:
- Around line 107-117: Move the temporary-directory setup, file writes, and
fs.rmSync spy creation in the test around the existing cleanup scenario into the
outer try block. Restore the spy in an inner finally, and remove stateDir in the
outer finally so cleanup runs even when setup or spy creation fails.
🪄 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: b5177ffe-f3dd-4275-a0c5-08eb0cfab811

📥 Commits

Reviewing files that changed from the base of the PR and between 494b2a5 and 0ffb711.

📒 Files selected for processing (7)
  • docs/reference/commands.mdx
  • src/lib/actions/sandbox/destroy-gateway.test.ts
  • src/lib/actions/sandbox/destroy-gateway.ts
  • src/lib/onboard/docker-driver-gateway-service.test.ts
  • src/lib/onboard/docker-driver-gateway-service.ts
  • src/lib/onboard/host-gateway-process.test.ts
  • src/lib/onboard/host-gateway-process.ts
🚧 Files skipped from review as they are similar to previous changes (6)
  • src/lib/actions/sandbox/destroy-gateway.test.ts
  • src/lib/actions/sandbox/destroy-gateway.ts
  • docs/reference/commands.mdx
  • src/lib/onboard/docker-driver-gateway-service.ts
  • src/lib/onboard/docker-driver-gateway-service.test.ts
  • src/lib/onboard/host-gateway-process.ts

Comment thread src/lib/onboard/host-gateway-process.test.ts Outdated
@senthilr-nv
senthilr-nv enabled auto-merge (squash) August 1, 2026 03:27
@senthilr-nv
senthilr-nv merged commit 9bc461f into main Aug 1, 2026
95 of 98 checks passed
@senthilr-nv
senthilr-nv deleted the codex/fix-headless-gateway-cleanup branch August 1, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli Command line interface, flags, terminal UX, or output area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery bug-fix PR fixes a bug or regression platform: linux Affects non-Ubuntu Linux environments security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants