Skip to content

fix(ci): resolve startup_failure class — allowlist, callee-permissions, stale pins, template drift - #8

Merged
hyperpolymath merged 2 commits into
mainfrom
fix/ci-startup-failures
Jul 1, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
fix/ci-startup-failures

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Central diagnosis (five-front coordination, wf_58d387b3): no broken SHA anywhere — main was red for three structural reasons:

  1. Allowlist (cause A): allowed_actions=selected with patterns_allowed=[] blocked every third-party action at plan time (Rust CI / Code Quality / Pages / Push-email = startup_failure, zero jobs). Settings PUT applied (6 SHA-pinned patterns); instant-sync converted to a plain gh api step instead of widening policy.
  2. Callee ⊆ caller (cause B): standards' secret-scanner-reusable declares pull-requests: write + actions: read on its gitleaks job; caller granted contents: read only → zero-jobs plan failure. Caller now grants the union. (Source fix in standards — incl. its false 'reusable permissions OVERRIDE the caller's' comment — is owner-gated, flagged in the coordination doc.)
  3. Stale pin + template drift: re-pinned all standards reusables 09e7023d → a44c93a5 (picks up the rust-toolchain fix AND the #449 baseline-gate removal); stripped invalid timeout-minutes from 5 reusable-call jobs (boj cartridges docs(agents): add a GEMINI.md pointer to the maintained instructions #70 class); deleted never-runnable boj-build.yml.

The PR's own checks are the verification: previously startup-failing workflows should now plan and run.

🤖 Generated with Claude Code

…sions, stale pins, template drift

Central five-front diagnosis (wf_58d387b3) found NO broken SHA anywhere; main
was red for three distinct structural reasons, all fixed here or in repo
settings:

- Cause A (allowlist): actions policy is 'selected' with patterns_allowed=[] —
  every third-party action (dtolnay/rust-toolchain, Swatinem/rust-cache,
  editorconfig-checker, haskell-actions/setup, dawidd6/action-send-mail)
  blocked at plan time → Rust CI / Code Quality / Pages / Push-email
  startup-failed with zero jobs. Fixed via settings PUT (six SHA-pinned
  patterns); instant-sync's peter-evans/repository-dispatch replaced with a
  plain 'gh api' step instead of widening the policy further.
- Cause B (callee ⊆ caller): standards' secret-scanner-reusable gitleaks job
  declares pull-requests:write + actions:read; caller granted contents:read
  only → plan-time zero-jobs failure. Caller now grants the union.
- Stale pin: 09e7023d (06-21) predates both the rust-toolchain fix (standards
  9fe0d8f) and the hypatia#566 baseline-gate removal (standards#449, merged
  07-01) → all standards reusables re-pinned to a44c93a5 (07-01 HEAD).
- Template drift: timeout-minutes on reusable-call jobs is invalid (plan-time
  error class from boj cartridges #70) — stripped from 5 wrappers; boj-build.yml
  deleted (job-level 'if: secrets.*' is illegal context — never runnable — and
  no BOJ_SERVER_URL exists here).

Out of scope, owner-gated: SonarQube token; Dogfood Gate a2ml scaffold content;
the standards-side source fix for cause B (false 'permissions OVERRIDE' comment).

Co-Authored-By: Claude Fable 5 <[email protected]>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 1, 2026 21:36
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath disabled auto-merge July 1, 2026 22:07
@hyperpolymath
hyperpolymath merged commit e77787c into main Jul 1, 2026
38 of 41 checks passed
@hyperpolymath
hyperpolymath deleted the fix/ci-startup-failures branch July 1, 2026 22:07
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