Skip to content

feat(zcode): soft RAM guard + optional -LowRam for clone launches - #15

Merged
fotedev merged 1 commit into
mainfrom
feat/zcode-ram-guard
Oct 30, 2026
Merged

fotedev merged 1 commit into
mainfrom
feat/zcode-ram-guard

Conversation

@fotedev

@fotedev fotedev commented Oct 30, 2026

Copy link
Copy Markdown
Owner
  • -MaxConcurrent (default 3): counts running ZCode mains via CIM (empty CommandLine treated as candidate — known WMI race), shows live commit numbers and asks before another launch. Relaunching an ALREADY-RUNNING clone only focuses its window, so the guard never blocks that; non-interactive callers (watchdog relaunch, redirected stdin) warn and continue instead of hanging.
  • -LowRam (experimental, off by default): launches with --disable-gpu, dropping the per-instance GPU process (~200–400 MB commit each); rendering falls back to software.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: afdb3627-3fcc-4b92-bee9-e936a8f9c32b
Commits

Reviewing files that changed from the base of the PR and between ebb98e9 and 9164543.

Files selected for processing: 1
  • src/windows/launch_zcode_second_instance.ps1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@fotedev
fotedev merged commit d06253f into main Oct 30, 2026
3 of 4 checks passed
@fotedev
fotedev deleted the feat/zcode-ram-guard branch October 30, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant