Repository navigation
P5 O5 M1: the macOS probe runs its launchd jobs once, keeps its own userData, reads phys_footprint - #393
Conversation
…ootstrapped into gui/<uid>, RunAtLoad, no KeepAlive, booted out after the result), each run keeps its Chromium profile under its own result directory, the footprint reader takes the process's phys_footprint line The first mini run's launchctl submit jobs kept alive and relaunched the probe every 13 s, so r2 and r2b were inconclusive; the probe wrote Electron's default userData; the reader matched the GPU helper's '(graphics)' row. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7a2865abb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| fs.mkdirSync(out, { recursive: true }); | ||
| // Each run keeps its Chromium profile under its own result directory, never Electron's default (~/Library/Application | ||
| // Support/Electron on a Mac, ~/.config/Electron on Linux), which the first mini run wrote; set before ready. | ||
| app.setPath('userData', path.join(out, 'userData')); |
There was a problem hiding this comment.
Resolve relative output paths before setting userData
When the probe is invoked with a relative output directory, such as --out ./results, this new call throws before any result or error handlers are initialized: Electron's App::SetPath implementation explicitly rejects non-absolute paths. Previously, the filesystem operations accepted relative output paths. Resolve out to an absolute path before deriving the profile directory so these invocations still run and produce experimental results.
Useful? React with 👍 / 👎.
O5 M1 (docs/doperpowers/plans/2026-10-31-p5-o5-chromium.md): the macOS probe's fixes after CI-opt's first run on the mini (10:30Z to 10:33Z).
launchctl printof the job is kept. The first run'slaunchctl submitjobs kept alive and relaunched the probe every 13 s, so both were inconclusive.<out>/userData), never Electron's default under ~/Library/Application Support; the idle probe likewise.phys_footprint:line and sums the tree in KiB; the first reader matched the GPU helper's "(graphics)" row.Probe code only, under spikes/; nothing in src/.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)