Repository navigation
fix(roadmap): the Job skips a hook whose program is missing - #3137
Merged
dan-petty merged 2 commits intoNov 2, 2026
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 2, 2026 00:08
dan-petty
deleted the
fix/3136-the-job-leaves-out-a-hook-without-its-program
branch
November 2, 2026 00:08
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.39.1](v0.39.0...v0.39.1) (2026-11-02) ### Bug Fixes * **k8s:** set native structured output on Claude groups ([#3141](#3141)) ([9ab668e](9ab668e)), closes [#3140](#3140) * **roadmap:** the Job skips a hook whose program is missing ([#3137](#3137)) ([6c57c85](6c57c85)), closes [#3136](#3136) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
The Job leaves out of its hook configuration any hook whose program the runner image does not hold. Today that is
devops-ci-workflows-pre-push, which runsactionlint. The checks of the pull request run it.runner_tools.py:HOOK_PROGRAMS(hook id to programs) andhooks_without_programs().implement_hooks.py:trusted_configdrops those hooks from the copy it writes for every hook run, and a repository that keeps no hook. The copy is the same text when nothing is dropped..pre-commit-config.yamland each program is inNOT_IN_RUNNER.Why
#3111 left
actionlintout of the runner image, and #3112 made the Job run the hooks of thepre-pushstage. So an item that changes a workflow file failed that hook in the Job, no agent could repair it, and the Job stopped with no push. The independent review of #3112 proved the failure.Verification
pre-commit validate-configaccepts the repository configuration with that hook removed (17 of 18 hooks stay).uv run devops ci test tests/roadmapand the invariant tests pass (2642 tests).Closes #3136