Skip to content

P5 O5 M1: the macOS probe runs its launchd jobs once, keeps its own userData, reads phys_footprint - #393

Merged
SSFSKIM merged 1 commit into
masterfrom
p5-o5-m1-probe
Oct 31, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
p5-o5-m1-probe

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 31, 2026

Copy link
Copy Markdown
Owner

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).

  • r2 (the production tree: a Node parent under launchd spawning the Electron probe) and r2b (the fallback: Electron as the job) each run exactly once: a plist bootstrapped into gui/ with RunAtLoad and KeepAlive false, awaited on its result.json's last step, then booted out; launchctl print of the job is kept. The first run's launchctl submit jobs kept alive and relaunched the probe every 13 s, so both were inconclusive.
  • Each run keeps its Chromium profile under its own result directory (<out>/userData), never Electron's default under ~/Library/Application Support; the idle probe likewise.
  • The footprint reader takes each process's own 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)

…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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T10:40:52.143814Z b7a2865 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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'));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@SSFSKIM
SSFSKIM merged commit 28e4f22 into master Oct 31, 2026
SSFSKIM added a commit that referenced this pull request Oct 31, 2026
…396); the wave 2 ledger gains O4's and O7's additions

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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