Skip to content

ci(gate): required status checks gate the merge and the pre-push hook runs the fast static checks #2110

Closed

Description

@dan-petty

Friction

Every push runs the full local gate (uv run devops ci) in the pre-push hook. Measured on 2026-10-24 from the CI cache entries of the 75 passing gates of the last 24 hours (host: 16 CPUs, several agents at once):

Decision (owner, 2026-10-22, in #1752)

The pre-push hook runs only the fast static checks (ruff, format, actionlint, zizmor). The full uv run devops ci stays a manual command. Remote CI is the authoritative gate (ADR 0004). The change to the pre-push hook can land after the required checks of main gate every topic pull request.

That condition holds: on 2026-10-24 the main ruleset requires Static Analysis, Tests & Coverage and Semantic PR title.

What should happen

  • The pre-push hook devops-ci-pre-push runs only the fast static checks, in seconds.
  • AGENTS.md rule 5 and the documents that say the pre-push hook runs the full gate (docs/SDLC.md Phase 4 and Phase 6, CONTRIBUTING.md, docs/TESTING.md, and any other) say what runs where: the fast static checks before a push, the required checks of CI before a merge, and the full devops ci by hand.
  • A test holds that the pre-push hook runs only the fast static checks.

Acceptance criteria

  • git push of a branch runs only the fast static checks, and a measured push takes less than 1 minute on a quiet host.
  • No document says that the pre-push hook runs the full gate.

Source: #1752

Activity

  1. added
    source/agent
    type/infra
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

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

    source/agenttype/infra

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions