Skip to content

CI: GitHub Actions jobs never start — account billing block #375

Closed

Description

@thinkclay

Every GitHub Actions job on Unicorn/UNI-Construct fails within ~3s with:

The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings.

CI has been red on this basis since ~2026-03-30. No PR can be gated by CI — recent merges (e.g. PR #355, SC-128) relied on local validation (pnpm prepush + tsc + runtime smoke) and a gh pr merge --admin override.

Fix: resolve the org billing / spending limit (GitHub → Org → Billing & plans). Until then, local is the gate and admin-merge is the documented path.

Impact: correctness regressions can land unguarded; no automated typecheck/test/e2e on PRs.

Migrated from Linear SC-130 · state: Triage · priority: High · created 2026-06-23

Activity

  1. added
    from-linear
    on Jul 16, 2026
  2. thinkclay commented on Jul 30, 2026

    @thinkclay
    ContributorAuthor

    Still current as of 2026-07-29. Confirmed again on #430: every job (typecheck, unit, E2E, Lighthouse, monorepo integrity, code quality) failed in 3–10s with the same billing message, so that PR merged on local validation only.

    Two consequences worth adding to the original report:

    1. deploy-web.yml never fires, so dev and preview have not been deployed by CI at all. Production is unaffected only because it is deployed manually (eas deploy --prod --environment production).
    2. A billing-blocked job is visually indistinguishable from a failing one, so a genuinely broken change would look identical to today's baseline.

    Closing #432 as a duplicate of this.

  3. thinkclay commented on Jul 30, 2026

    @thinkclay
    ContributorAuthor

    Resolved by the migration to Scaffald/SaaS. Actions run normally in the Scaffald org — verified by workflows executing on the migrated repo (jobs reach real steps instead of dying in ~2s with an empty step list). Closing here; not transferring, since the issue is specific to the Unicorn org's billing state.

  4. thinkclay commented on Jul 30, 2026

    @thinkclay
    ContributorAuthor

    Correction to the comment above: the closing line said this issue was "not transferring." That was written while a different migration plan was in play. The repo was ultimately transferred into the Scaffald org rather than re-pushed, so this issue came across with everything else — which is why it now lives at Scaffald/SaaS#375 with its original number.

    The resolution itself is unchanged and confirmed: a dispatched nightly-skip-audit run after the transfer executed 5 real steps and passed, versus the ~3s zero-step failures under the old org.

  5. thinkclay commented on Jul 30, 2026

    @thinkclay
    ContributorAuthor

    Reopening — the block has returned.

    The org transfer did fix this, but only briefly. Actions executed real jobs at 12:34 today and were back to zero-step failures by 12:45:

    time run steps
    12:34:29 Scaffald Tests (main) 58
    12:34:29 Test Suite (main) 20
    12:45:35 Test Suite (chore/dep-triage-2) 0
    12:45:55 Scaffald Tests (main) 0
    12:45:55 Release (main) 0

    Every run from 12:45 onward, on main and on branches alike, completes in 2-9 seconds having executed zero steps:

    Unit & Integration Tests: started=12:45:36 completed=12:45:39 failure
    E2E Web Tests (Playwright): started=12:45:36 completed=12:45:38 failure
    TypeScript Type Check:     started=12:45:36 completed=12:45:45 failure
    

    Same signature as the original Unicorn-org block, so the Scaffald org looks to have exhausted its included minutes (or has a $0 spending limit) within about eleven minutes of real use. I could not confirm the quota directly — /orgs/Scaffald/settings/billing/actions returns 410 and the replacement needs the admin:org scope, which this token lacks. Someone with org admin should check the Actions spending limit.

    Until this is resolved, red checks on this repo carry no information. Judge a check by duration: 2-9s means the job never started; minutes means it actually ran. Everything merged today (#451, #491, #419, #420, #426, #460) was validated locally — nx run-many -t build/typecheck/test — rather than by CI.

  6. thinkclay commented on Aug 12, 2026

    @thinkclay
    ContributorAuthor

    Recurred as of 2026-08-12. Every gate job (Detect changes, changes, Security Scan, Run API Tests) fails in 2–3s on new runs, and the check-run annotation is explicit:

    The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings

    Downstream jobs (Lint, typecheck & build, Unit tests, Monorepo integrity, contract-tests) all report skipping because their gate never ran. Confirmed on PRs #595 and #596.

    Net effect: no PR can currently obtain a green check, and a red check on a new PR carries no signal about that PR. Judging by run duration still works — 2–3s means never started, minutes means real (PR #576's Lint, typecheck & build genuinely failed at 9m6s).

    Needs an account-owner action on Billing & plans; not fixable from the repo.

  7. thinkclay commented on Aug 19, 2026

    @thinkclay
    ContributorAuthor

    Still blocked on Scaffald/SaaS as of 2026-08-19 — the org migration did not fix this, contrary to what I had recorded. Re-verified just now against a freshly pushed branch.

    Evidence:

    gh run list --repo Scaffald/SaaS --limit 40 --json conclusion
    # cancelled: 1, failure: 23, skipped: 16 — zero successes
    

    Every run terminates in 2–5s, which is the never-started signature rather than a real failure:

    32310829562 failure started=22:53:01Z ended=22:53:04Z   (3s)
    32070620741 failure started=21:20:52Z ended=21:20:55Z   (3s)
    32070018655 failure started=21:13:58Z ended=21:14:03Z   (5s)
    

    The gating job carries no steps at all and has no retrievable log:

    gh api repos/Scaffald/SaaS/actions/jobs/96253288564
    # {"name":"Detect changes","conclusion":"failure",
    #  "started_at":"...22:53:01Z","completed_at":"...22:53:03Z","steps":[]}
    
    gh run view 32310829562 --log-failed
    # log not found: 96253288564
    

    Detect changes fails, and Monorepo integrity, Unit tests and
    Lint, typecheck & build all skip behind it — so a red CI badge here means
    "never ran", not "found a problem". That is the worst failure mode for a gate:
    it looks like coverage.

    This bit me directly: PR #621 shows a failing CI badge that carries no signal
    whatsoever. Local pnpm prepush remains the only real gate.

    Diagnostic note for whoever picks this up: a 2–5s run with an empty
    steps array and a missing log is an account/runner-level rejection, not a
    workflow bug — no amount of editing .github/workflows will change it. Worth
    checking Actions minutes and the spending limit at the org level before
    touching any YAML.

  8. thinkclay commented on Aug 19, 2026

    @thinkclay
    ContributorAuthor

    Quantified, same session (gh api /organizations/Scaffald/settings/billing/usage):

    Actions minutes consumed 4,677
    Free-plan allowance 2,000
    Gross $27.32
    Net $0
    Discount applied $27.32

    Net $0 against 2.3× the allowance is the whole diagnosis: the included-minutes discount absorbs everything and nothing billable is permitted past it, so the runner refuses new jobs the moment the free minutes are gone. It is a spending-limit ceiling, not an unpaid invoice — which is why no workflow edit and no re-run will move it.

    Two consequences worth separating:

    1. The gate is off. Local pnpm prepush is the only real check. Any "CI is green/red" statement about a PR in this repo is currently meaningless.
    2. The badge actively misleads. Because Detect changes fails and the three real jobs skip behind it, PRs show a red ✗ that reads as "tests found something". A reviewer who trusts it draws exactly the wrong conclusion.

    Only the account owner can raise the limit (GitHub → Settings → Billing & plans → Actions spending limit). Worth pairing with usage reduction — ~70 runner-minutes per push across 7 workflows is what consumed the allowance in the first place, so raising the ceiling alone just moves the wall.

  9. thinkclay commented on Sep 11, 2026

    @thinkclay
    ContributorAuthor

    Closing: this is over.

    The org transfer (#… → Scaffald/SaaS, 2026-07-30) is what cleared it, and it is now verifiable rather than inferred. Runs on main today:

    $ gh run list --repo Scaffald/SaaS --branch main --limit 4
    CI               completed  success  push  2026-09-10T22:18:06Z
    REST API Tests   completed  success  push  2026-09-10T22:18:06Z
    Main Guard       completed  success  push  2026-09-10T22:18:06Z
    Deploy Web App   completed  success  push  2026-09-10T22:10:46Z
    

    and #719 shows the full check list completing — Lint, typecheck & build, Unit tests, Run API Tests, Monorepo integrity, Security Scan, Performance Benchmarks, All Tests Passed — in minutes, not the 2–5 s "never started" signature this issue documented.

    What remains of the Actions story is a different gate with a different fix: Dependabot's runs sit at action_required because of the first-time-contributor approval policy. That is #730, which has the setting and the command.

    The 2,000 min/month cap on the Free plan still applies; that is a budget, not a block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-linearpriority: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions