Skip to content

fix(roadmap): the Job leaves out a hook whose program the runner image does not hold #3136

Description

@dan-petty

What happened

The implement Job runs the hooks of the pre-push stage over the commits of an item (#3112). One hook, devops-ci-workflows-pre-push, runs devops ci --check --only actionlint,zizmor when a commit changes a file under .github/workflows or .github/actions. The runner image holds no actionlint (#3111 left it out because the image scan finds HIGH findings in it; NOT_IN_RUNNER records the reason). So the hook fails in the Job for every item that changes a workflow file. The agent cannot repair a missing program, so the Job uses all its repair rounds and stops with no push.

The independent review of #3112 proved this: it ran the actionlint row on a PATH without the tool, and the row failed. The invariant test of the runner tools does not catch it, because it checks only that each program is in RUNNER_TOOLS or NOT_IN_RUNNER, not that a hook the Job runs can run.

What should happen

The Job leaves out a hook whose program the image does not hold, and the checks of the pull request run that hook. A test fails if a hook named in the skip table is not in .pre-commit-config.yaml, or runs a program that is not in NOT_IN_RUNNER.

Acceptance criteria

  • The configuration that the Job gives pre-commit has no hook whose program is missing from PATH.
  • With the program on PATH the configuration is unchanged.
  • A test holds the skip table against .pre-commit-config.yaml and NOT_IN_RUNNER.

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/high
    effort/medium
    on Nov 1, 2026
  2. dan-petty commented on Nov 1, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P1-High. The Job fails for every item that changes a workflow file, wasting all repair rounds and producing no push.
    • Value: High. Without the fix the automated pipeline cannot complete any workflow-file change.
    • Effort: Medium. The change skips hooks with missing programs in the pre-commit config and adds one validation test against the skip table.
    • Related: feat(roadmap): the implement job runs the scoped CI before it pushes and repairs failures #3043, which asks for a different change. Both concern the implement Job running pre-push hooks, but #3043 delivers the scoped CI run while this candidate fixes a defect where the hook fails because actionlint is not in the runner image.
  3. added
    priority/p1-high
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 1, 2026
  4. removed
    status/in-review
    on Nov 2, 2026
  5. added a commit that references this issue on Nov 2, 2026
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

    effort/mediumpriority/p1-highscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions