GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): hide background console windows on Windows by nightyard · Pull Request #14442 · pingdotgg/t3code

Conversation

@nightyard

@nightyard nightyard commented Sep 30, 2026

Copy link
Copy Markdown

fix(server): hide background console windows on Windows

What Changed

Set windowsHide: true for Windows environment probes, the PowerShell browser and File Explorer helpers, and child processes launched by the generated device and legacy CLI wrappers. Add focused launch-option regressions and execute both generated wrappers with local spawn fixtures.

Why

Background helper processes can briefly open console windows on Windows. Node's windowsHide option suppresses those consoles while preserving their existing arguments and stdio behavior.

Tests

vp test run packages/shared/src/shell.test.ts --maxWorkers=2
vp test run apps/server/src/process/externalLauncher.test.ts --maxWorkers=2
vp test run packages/shared/src/legacyCliLauncher.test.ts --maxWorkers=2
vp test run apps/server/src/device/AgentDeviceShim.test.ts --maxWorkers=2

All four focused suites pass; targeted lint and formatting pass. Console visibility was not visually verified.

Checklist

  • This PR is small and focused
  • I explained what changed and why

AI-assisted: implemented with GPT-6.1 Sol (Codex) and independently reviewed by Claude; human-approved before submission.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nightyard
fix(server): hide background console windows on Windows
719c33f
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Sep 30, 2026
@macroscopeapp

macroscopeapp Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — The PR makes a focused Windows process-launch change, but it alters default console visibility across several production paths and adds a static-analysis suppression directive in a new test. Those review-sensitive changes warrant human review despite the targeted regression coverage.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 6670b218-3c4b-4c98-b9c5-84c4a42b1956

📥 Commits

Reviewing files that changed from the base of the PR and between c2fa9fc and 719c33f.

📒 Files selected for processing (8)
  • apps/server/src/device/AgentDeviceShim.test.ts
  • apps/server/src/device/AgentDeviceShim.ts
  • apps/server/src/process/externalLauncher.test.ts
  • apps/server/src/process/externalLauncher.ts
  • packages/shared/src/legacyCliLauncher.test.ts
  • packages/shared/src/legacyCliLauncher.ts
  • packages/shared/src/shell.test.ts
  • packages/shared/src/shell.ts

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


📝 Walkthrough

Walkthrough

Windows process-launch paths now pass windowsHide: true in selected browser, editor, Explorer, launcher, and PowerShell probe cases. Tests check the updated options and, for generated launchers, argument forwarding and exit-status propagation.

Changes

Windows process launches

Layer / File(s) Summary
PowerShell environment probes
packages/shared/src/shell.ts, packages/shared/src/shell.test.ts
Windows PowerShell environment probes pass windowsHide: true to execFile. Tests cover profile loading and fallback cases.
Browser, editor, and Explorer launches
apps/server/src/process/externalLauncher.ts, apps/server/src/process/externalLauncher.test.ts
Windows browser launches set windowsHide: true. Editor launches set it when hideConsole is true, which the File Explorer reveal launch requests. Tests check the browser and Explorer process options.
Device and legacy CLI launchers
apps/server/src/device/AgentDeviceShim.ts, apps/server/src/device/AgentDeviceShim.test.ts, packages/shared/src/legacyCliLauncher.ts, packages/shared/src/legacyCliLauncher.test.ts
Both launchers pass windowsHide: true to spawn. Tests check process options, argument forwarding, and exit-status propagation.

Priority: ⬇️ Low

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

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: ⚪ Minimal · up to 719c3

The change requests hidden Windows consoles without an identified regression in launch behavior. It is mergeable after normal checks; actual console visibility has not been visually verified on Windows.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 8 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: hiding background console windows on Windows.
Description check ✅ Passed The description explains what changed, why it changed, how it was tested, and confirms the focused scope. The UI-only section and related checklist items are not required because this PR has no UI cha…
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.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge ChatGPT Codex Connector

juliusmarminge commented Oct 1, 2026

Copy link
Copy Markdown
Member

Note

This comment is posted by Julius' dot

The verification rule requires evidence of the changed behavior. These tests check launch options and wrapper forwarding, but the PR explicitly says console visibility was not verified. Please reproduce the unwanted Windows console and attach a short before/after recording showing the affected helper paths run without flashing windows, with the Windows environment and observed results, then request reconsideration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Oct 1, 2026
This was referenced Oct 7, 2026
fix(server): disable Grok startup updates during health checks #16879
Closed
fix(provider-grok): Grok health checks no longer start Grok's updater #18075
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@nightyard @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.