Skip to content

ci: allocate only Hauler lanes with eligible work - #2580

Merged
ScriptedAlchemy merged 2 commits into
masterfrom
codex/hauler-planned-pool
Sep 29, 2026
Merged

ScriptedAlchemy merged 2 commits into
masterfrom
codex/hauler-planned-pool

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Hauler currently allocates every pool lane on each wakeup, even when no eligible PR work remains. Add one read-only planning job and allocate only the returned lanes through GitHub’s dynamic matrix. Empty plans allocate no heavy workers.

All four Action modes use reviewed commit 64956063446174b9f0989eecfb46ef0dcc9d5277 from ScriptedAlchemy/cargo-hauler#344. The planner uses read-only permissions. Existing worker concurrency, runner architecture, test recipe, token isolation and drain revalidation remain intact. In-progress recovery stays conservative, so a planned successor can still become empty before it acquires its lane.

Validation: actionlint .github/workflows/hauler-ci.yml and git diff --check pass. Full workflow lint reports five pre-existing concurrency.queue keys unsupported by the installed actionlint version; this PR changes only the Action pin in ci.yml. Cargo Hauler’s full local gate and all 50 Action tests pass, with the existing Docker integration opt-in skipped. Hosted verification and safe policy cutover are pending.

The pinned Action also retires well-formed older-policy queued checks when the latest exact-head CI attempt explicitly chooses native ownership. Cancellation revalidates the head, receipt and queued check under the lane lock. Running checks and old-policy delegated work are preserved; planning and enqueue do not cancel checks.

@changeset-bot

changeset-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a4395e8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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-09-29T04:34:17.989895Z 4849b98 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.

@ScriptedAlchemy
ScriptedAlchemy merged commit 466a34a into master Sep 29, 2026
15 of 32 checks passed
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