Repository navigation
fix(ci): take the CI job tools from the devtools image - #6543
Merged
Merged
Conversation
dan-petty
force-pushed
the
ci/6416-tool-jobs-in-devtools
branch
from
November 20, 2026 18:13
2a0f992 to
f9b5533
Compare
dan-petty
force-pushed
the
ci/6416-tool-jobs-in-devtools
branch
from
November 20, 2026 19:07
f9b5533 to
adc6cfd
Compare
The CI jobs installed their tools with `devops install-tools` from the release URLs of tools.lock. The jobs on the runner host now take the commands they name from the devtools-bin stage of .devcontainer/Dockerfile through the new action .github/actions/devtools-commands, which caches them under the digest of the image. Rule Pack Tests runs in the devtools image, and the rule pack no longer compares a pinned Semgrep version.
dan-petty
force-pushed
the
ci/6416-tool-jobs-in-devtools
branch
from
November 20, 2026 19:37
adc6cfd to
6883629
Compare
Owner
Author
|
Status of head Step of
Tests & Coverage on this head: slowest shard 289 s + join 72 s = 361 s. The tool step of that shard took 1 s. The join spent 18 s in Changed-Line Coverage, which a push to main does not run. The last green push run of main (44801800381) took 281 s + 52 s = 333 s, with 5 s for |
dan-petty
marked this pull request as ready for review
November 20, 2026 20:05
Image Pins also runs on a push to main that changes its paths, so main saves the cache entry of kubectl and helm that each pull request restores. The job only reads, and a push to main has its commit as the concurrency group. SDLC.md names the full trigger paths, the promtool docstrings name the devtools image, and the OpenTofu CI scenario says that the step restores the commands or builds the stage on a miss.
zizmor reports each write of an environment file in a composite action (github-env), because the action cannot know the trigger of its caller. The devtools-commands action now only copies the commands and outputs their directory. Each job that runs the commands on the runner puts that directory first on PATH in the next step, with the output in env. The Service Image Tests copy the commands by the output path and run none of them on the runner, so that job puts nothing on PATH.
dan-petty
pushed a commit
that referenced
this pull request
Nov 20, 2026
🤖 I have created a release *beep* *boop* --- ## [0.185.1](v0.185.0...v0.185.1) (2026-11-20) ### Bug Fixes * **ci:** take the CI job tools from the devtools image ([#6543](#6543)) ([2e4188f](2e4188f)) * **roadmap:** a Job leaves a stale lock for the agent ([#6558](#6558)) ([be35253](be35253)), closes [#6557](#6557) * **roadmap:** a wait keeps only real repository paths ([#6546](#6546)) ([165463c](165463c)) --- 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 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.
CI jobs installed their tools with
devops install-tools, but thetools now come from the devtools image, and devops-cli is not a
package manager. The new action
devtools-commandsputs the commandsthat a host job names on PATH. It restores them from a cache keyed by
the image digest, and only on a miss exports the
devtools-binstage of.devcontainer/Dockerfile. Static Analysis (bwrap row), the test shards(coverage paths), Copilot Setup Steps (GitHub ignores
container),Service Image Tests (Docker Engine) and Image Pins use it. Rule Pack
Tests runs in the image, whose Semgrep is a venv; Copilot gets no
Semgrep. The rule pack drops its Semgrep pin:
rules.lockholds noversion, and
--checkcompares none. No workflow runsdevops install-toolsnow.Closes #6416
Change:
openspec/changes/archive/2026-11-20-6416-tool-jobs-in-devtools/