Skip to content

ci: keep measured and live e2e jobs on the home Mac - #155

Merged
SSFSKIM merged 4 commits into
masterfrom
home-label
Oct 26, 2026
Merged

SSFSKIM merged 4 commits into
masterfrom
home-label

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Route measured e2e groups and every group of a live run (including the tool-time guard) to [self-hosted, macOS, ARM64, ci-kit-mac-home]. The EC2 Mac cannot take mini-calibrated timing jobs or jobs needing the mini's engine login.
  • Retain exclusive-instance wait allowances and the measured settle step. Other placements remain unchanged; the plan summary and stdout name home jobs.
  • While alerts exist, require an online home-labelled runner on an unalerted machine for home jobs. Another free host cannot substitute. Preserve the no-alert shortcut, even when the mini is offline, so jobs queue normally.
  • Fix intermittent macOS EPIPE in both alert planning and pool-demand extraction: write git archive --output=<file> and use tar -x -f <file>, avoiding a pipe that bsdtar can close before consuming archive padding.

Rebase onto hosted Macs

Rebased onto c9803aa1a, including merged #154. Hosted placement remains intact: measured/live groups are never hosted, hosted-only runs pass mini alerts, and mixed hosted/home runs retain the home requirement. The alert reader uses one macPlan returning jobs, guest eligibility, and home-only jobs. GATE_RUNNER=macos still accounts for the plan job and detects home jobs.

gate.yml is untouched by this PR. Default-spec selection reads group names rather than runner labels and needs no change.

Verification

  • Final head: 4e84cfcca7610d425aa2c6ef21ce7e3aae05709e.
  • After the rebase, the four focused node:test files (alerts, pool-demand, gate-plan, ci-gate) passed 109/109. Added combined hosted/home regressions and retained the no-alert/offline-mini cases. No local full suite.
  • Archive stress check: ten concurrent four-file rounds before and ten after the fix, all passing. The architect reproduced intermittent EPIPE; this worker's lighter baseline did not reproduce it. Heavier maws-app suites were left to pool static.
  • Final scripts/ci-gate.sh HEAD --gates static ended ci-gate: run 40290692050 success. GitHub static run, all gate-script tests included.
  • Independent doperpowers:reviewer-high: the original home-preflight finding was fixed, and the final full-diff pass had no material findings. After the rebase, the requested short conflict-resolution review checked the old/new patch-series range-diff: no material findings; verdict correct.

Opened for the MAWS architect to land; not merged here. Archive and transient rebase-lock friction are recorded in the existing MAWS friction tracker (#92).

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 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-26T07:48:24.835923Z 81a56a1 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.

Keep other Mac placements unchanged and retain the exclusive wait in home-job timeouts. Cover home routing and host classification in planner and alert tests.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
…ner is free

The pre-push alert check folded the measured and live e2e jobs' new
[self-hosted, macOS, ARM64, ci-kit-mac-home] labels into "host", so with the
mini alerted and the EC2 Mac online it said "going ahead on ec2" for jobs only
the mini takes. The check now reads each runner's labels, takes the run's home
jobs from the tested tree's own plan (macPlacement, which guestRun now wraps),
and lets a run with any home job through only when a runner carrying
ci-kit-mac-home is online on a machine free of alerts; otherwise it stops,
naming that machine's alert or that its home runner is offline. Other Mac jobs
keep the host rule, and runsOn still reads the home labels as a host.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Use git archive --output and tar -f in alert placement and pool-demand readers. bsdtar can exit before consuming archive padding, so writing the buffered archive to its stdin is racy.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
After rebasing onto hosted-Mac placement, pin measured and live jobs to home even under Lane: hosted. Keep hosted-only runs past mini alerts while mixed hosted/home runs still require an unalerted home runner.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit abe56c1 into master Oct 26, 2026
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
…ci-kit-mac-home (PR #155)

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