Skip to content

ci: a push to main runs the lanes its change needs, and every lane runs weekly - #78

Closed
gutyoh wants to merge 1 commit into
mainfrom
ci/push-uses-path-lanes
Closed

gutyoh wants to merge 1 commit into
mainfrom
ci/push-uses-path-lanes

Conversation

@gutyoh

@gutyoh gutyoh commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Why

In October, claude-code-config spent $66.75 of the account's $84.75 gross Actions usage (79%). The included allowance ran out, and every repo's CI stopped until the month turned.

Most of that was duplicate work. A push to main took every lane (macOS, plus three Windows legs and two Git Bash legs) right after its pull request had already run the lanes the same change needed.

What

  • ci-lanes.sh plans a push to main like a pull request, from the commit before it. Squash merges keep that commit equal to the PR's base.
  • Every lane still runs on workflow_dispatch and on a new weekly schedule (Mon 07:23 UTC), so a runner image change can't hide behind path-scoped runs.
  • tests/ci-lanes.bats (new, 5 cases) covers the plan for push, pull_request, workflow_dispatch and schedule.
  • docs/testing.md describes the new behaviour and the cost ratio.

Checks run locally

  • just unit: 0 failures.
  • just lint: shellcheck clean.
  • just lint-workflows: zizmor clean.

GitHub Actions can't run until the allowance resets (Nov 1), so CI will show as not started.

🤖 Generated with Claude Code

…ns weekly

A push to main took every lane, macOS and three Windows legs included,
right after its pull request had run the lanes the same change needed.
claude-code-config spent 79% of the account's October Actions allowance
($66.75 of $84.75 gross), and the exhausted allowance stopped every repo's
CI until the month turned.

ci-lanes.sh now plans a push like a pull request, from the commit before it.
Manual runs and a weekly schedule take every lane, so runner image drift still
surfaces. tests/ci-lanes.bats covers the plan for each event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gutyoh

gutyoh commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Closing: the premise was wrong. This repository is public, so its standard runners are free and never touch the account's private allowance. Its $66.75 of October usage was all free usage, not allowance. The allowance (about $18) went to the private repos: workstation, fleet and tafi-dwh. Trimming this matrix saves no money.

@gutyoh gutyoh closed this Oct 25, 2026
@gutyoh
gutyoh deleted the ci/push-uses-path-lanes branch October 25, 2026 15:24
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