Skip to content

CI: required checks can never report — ABI Contract / Cross-Platform startup_failure (setup-zig not allow-listed); K9 + Sonar red on main #103

Description

@hyperpolymath

Problem

main (070529e) cannot produce the checks its own ruleset requires. No PR can therefore satisfy the required-status-checks rule, and auto-merge can never fire.

  1. Required-check producers never start. The ruleset requires Linux, Idris2 model type-checks, Zig ↔ Idris tables in sync and AffineScript ↔ Zig FFI symbols in sync. They come from the Cross-Platform Build & Test and ABI Contract workflows. Both end in startup_failure on main 070529e and on PR fix(launcher): regenerate game-server-admin launcher with the XDG pid/log ladder #102, so they create no check runs at all. Governance, GitHub Pages and Mirror to Git Forges also end in startup_failure on main. The run pages for ABI Contract (run 35609965294) and Cross-Platform (run 35609970129) give the cause:
    The action mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 is not allowed in hyperpolymath/game-server-admin because all actions must be from a repository owned by hyperpolymath, created by GitHub, or verified in the GitHub Marketplace.
    
    The cure is to allow-list mlugg/setup-zig (at the pinned SHA) in the repo or org Actions policy, or to replace it with an allowed Zig setup. Weakening the policy estate-wide is not the cure.
  2. Dogfood Gate / Validate K9 contracts fails on main and on PRs:
    Validating: ./container/deploy.k9.ncl
    ##[error]Pedigree block missing 'name' field (in pedigree.metadata.name or pedigree.name)
    ##[error]K9 validation failed with 1 error(s)
    
  3. SonarCloud Code Analysis and Hypatia Security Scan fail on main 070529e.

Acceptance criteria

  • Cross-Platform Build & Test and ABI Contract start on a PR and on main, with no startup_failure. Each of the four required contexts appears on the PR head as a real check run. The fixing PR names the startup error text from the run page.
  • Governance, GitHub Pages and Mirror to Git Forges no longer end in startup_failure on main.
  • container/deploy.k9.ncl carries a pedigree name (and version/schema_version), and Validate K9 contracts is green on main.
  • SonarCloud Code Analysis is green on main, or is removed with a stated reason.
  • The required-context set in the ruleset is SET-EQUAL to the contexts an actual PR head produces.

Found while landing #102. #102 inherits these reds and does not cause them. Its auto-merge (squash) is armed and will stay parked until item 1 is fixed.

Activity

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

    bindingsABI, FFI, WASM, and cross-language interop surfaceschoreRoutine maintenance with no behaviour changecicdCI/CD: workflows, actions, lockfiles, pins, runners, release gates

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions