mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
The desktop app's stderr on the VM carried "Antigravity quota unavailable: Command failed: ps -ax -o pid=,command=" with "ps: unknown option -- x" on every quota poll. Windows has no ps, and asking for one is a spawn failure rather than an answer, so the provider reported a transient failure with a warning behind it instead of simply not being there. Win32_Process is the same listing by another name, and it is already how src/providers/antigravity.ts finds these servers, so the quota adapter asks the same way: PowerShell by absolute System32 path, argv only, no shell string, and the Where-Object is a prefilter rather than the decision, which classifyProcessLine still makes. There is no lsof either, so a pid's listening ports come from netstat -ano; its state column is localized, so it is not matched on, and a row that turns out not to be listening only costs one refused probe. The guard this replaces was `win32 && !deps.execFile`, which the desktop app defeated by injecting execFile, and which its own copy of the adapter never had at all. Both copies now carry the same code, and the platform is injected so either branch can be tested from either OS. |
||
|---|---|---|
| .. | ||
| quota | ||
| cli-win32-reap.test.ts | ||
| cli.test.ts | ||
| cli.ts | ||
| main.test.ts | ||
| main.ts | ||
| menubar.test.ts | ||
| menubar.ts | ||
| preload.ts | ||
| telemetry.test.ts | ||
| telemetry.ts | ||
| tray-settings.test.ts | ||
| tray-settings.ts | ||
| updates.test.ts | ||
| updates.ts | ||