Skip to content

ci: a hosted-lane call never overflows to EC2 - #335

Merged
SSFSKIM merged 1 commit into
masterfrom
hosted-lane-no-overflow
Oct 29, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
hosted-lane-no-overflow

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 29, 2026

Copy link
Copy Markdown
Owner

A run under Lane: hosted now stays on GitHub's hosted Macs. EC2 overflow no longer applies to it.

Why

Since #322 (fadd605, gate-offload Decision Log 145), ci-gate.sh samples the account's Mac backlog, and gate-plan can move a hosted-eligible group to ci-kit-mac-ec2. That also applied to ci-gate.sh --lane hosted, the call a hosted trial or admission run makes in order to run on hosted Macs. Two runs that asked for hosted ran on EC2:

  • 40812612600 (lanea-hosted-1, CI-opt's lane-a trial): the sample read 29 queued and 5 running with the EC2 Mac idle, and e2e:lane-a ran on ci-kit-mac-ec2.
  • 40828325127 (o8m4a-t8): e2e:settings ran on ci-kit-mac-ec2 and went red at org-page.spec.ts:164. The architect has ruled that red a real layout defect, one the EC2 Mac's width-taking scrollbars expose. It is O8's to fix, and settings is not moved to HOSTED_MAC_ONLY_E2E. Either way, the run didn't get the placement it asked for.

What changes

  • scripts/ci-gate.sh samples the backlog only when the lane is neither no-hosted (as before) nor hosted.
  • .github/scripts/gate-plan.mjs ignores a Mac-Backlog: trailer under Lane: hosted, so a hand-written trailer can't move the run either.
  • Tests: gate-plan.test.mjs's never-moves row now covers Lane: hosted (red without the fix). ci-gate.test.mjs checks that both forced lanes write no trailer and make no actions/runs?status= call.

Runs with no lane, the default path, overflow exactly as before.

Audit: every Lane: hosted run since fadd605, as of 03:50Z

Since then, 40828325127 (above). lane-a's admission to HOSTED_MAC_E2E follows as its own PR once its Lane: no-hosted baseline has run.

Checks

  • node --test .github/scripts/gate-plan.test.mjs: 88/88.
  • NODE_PATH=$(npm root -g) node --test scripts/ci-gate.test.mjs: 23/23. Without NODE_PATH, its spec-import tests can't find the global TypeScript in a fresh worktree.
  • Static through a master worktree's ci-gate on f4e83ff: run 40829185172, green. reviewer-low: no findings.

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

`ci-gate.sh --lane hosted` asks for GitHub's hosted Macs themselves: a group's trial or its
admission (three hosted runs on one tree). Since #322 such a call still sampled the backlog,
and during a wave the plan moved its groups to the EC2 Mac: e2e:lane-a's admission run
40812612600 ran on ci-kit-mac-ec2 (sample 29 queued + 5 running, EC2 idle), so it was no
hosted run. Now ci-gate samples only when no hosted lane was named (no-hosted already put
nothing there), and gate-plan ignores a Mac-Backlog trailer under Lane: hosted.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

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 🔄 Running since 2026-10-29T06:29:23.370054Z f4e83ff 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.

@SSFSKIM
SSFSKIM merged commit 241c047 into master Oct 29, 2026
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…flows to the EC2 Mac; an EC2-only red from a difference real users have (classic scrollbars) is a product defect, not Decision Log 123 material

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…o3-c for landing

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