Skip to content

perf(ci): run the in-image suite nightly and on image pull requests - #4828

Merged
dan-petty merged 3 commits into
mainfrom
perf/4644-run-the-in-image-suite-nightly
Nov 11, 2026
Merged

dan-petty merged 3 commits into
mainfrom
perf/4644-run-the-in-image-suite-nightly

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Service Image Tests moves from ci.yml to service-image-test.yml. It runs on the daily schedule, on workflow_dispatch, and on a pull request that changes Dockerfile, .dockerignore, pyproject.toml, uv.lock, src/devops_cli/tools_lock or the workflow. The native paths filter stops the run before a runner starts, so a push that changes only src/ starts none of its 6 jobs.

Why: the suite runs the same tests as Tests & Coverage on each push, and it found no test failure that Tests & Coverage missed in 100 failed PR runs. Its jobs take runner slots from the account limit of 20. Owner decision O1 reverses Direction B of #1643. The #1643 invariant reads the new workflow, requires the schedule trigger, and fails when a change to src/ only starts the suite.

Closes #4644

Change: openspec/changes/archive/2026-11-11-4644-run-the-in-image-suite-nightly/

…equests only

The #1643 invariant reads service-image-test.yml. It requires the schedule, the manual run and each image input other than src/, and it fails when a change to src/ alone starts the suite. ci.yml has no service-image-test job.
Service Image Tests moves from ci.yml to service-image-test.yml. The workflow runs on the daily schedule, on workflow_dispatch and on a pull request that changes Dockerfile, .dockerignore, pyproject.toml, uv.lock, src/devops_cli/tools_lock or the workflow. The native paths filter stops a run before a runner starts, so a pull request that changes only src/ starts no job of it (owner decision O1, which reverses Direction B of #1643).
@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 11, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 21:10
@dan-petty
dan-petty merged commit a2cfd9a into main Nov 11, 2026
31 checks passed
@dan-petty
dan-petty deleted the perf/4644-run-the-in-image-suite-nightly branch November 11, 2026 21:10
@dan-petty

Copy link
Copy Markdown
Owner Author

Measurements (Actions API, completed_at - started_at of each job)

Before: 4 successful PR runs of ci.yml on 2026-11-11 After: this PR
Jobs that ran in ci.yml 21 (23 listed, 2 skipped) 15 (17 listed, 2 skipped)
Service Image Tests jobs in ci.yml 6 0
Runner-min of the ci.yml run 52.4 to 100.8 41.8
Runner-min of the 6 Service Image Tests jobs 30.5 to 45.9 32.3, in service-image-test.yml
Wall time of the ci.yml run 6.5 to 21.2 min 5.5 min

Before runs: 43088019078, 43084980755, 43081700935, 43078687964. After runs: 43099875823 (CI Quality Gate) and 43099876192 (Service Image Tests).

This PR changes service-image-test.yml, so it is an image-input PR and the new workflow ran its 6 shards (all passed, slowest shard 361 s). A push that changes only src/ starts only the ci.yml run: 15 jobs, and 0 Service Image Tests jobs (from 6). GitHub evaluates on.pull_request.paths before it creates a run, so no runner starts for those jobs. One run is a single sample; the wall time depends on the queue.

Checks

  • uv run devops ci fail-to-pass --base origin/main: 17 changed tests fail on base, all with FileNotFoundError for service-image-test.yml or the old job assertions, and pass on head.
  • uv run devops ci --only actionlint,zizmor: pass.
  • uv run devops ci --only lint,format,typecheck,docs,openspec,constructs: pass.
  • pytest tests/invariants/test_architectural_invariants.py tests/invariants/test_workflow_contracts.py tests/commands/test_ci.py tests/ci: 475 passed.

Owner steps

None. Service Image Tests is not a required check, so no ruleset changes. The first schedule run starts at 04:30 UTC after the merge. To start a run at once, use Actions > Service Image Tests > Run workflow on main.

Not in this PR

dan-petty pushed a commit that referenced this pull request Nov 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.114.0](v0.113.0...v0.114.0)
(2026-11-11)


### Features

* **k8s:** add cert-manager and the Barman Cloud plugin
([#4789](#4789))
([cd6fb76](cd6fb76))
* **roadmap:** collect the git facts of a project review window
([#4794](#4794))
([21d1bc0](21d1bc0))
* **roadmap:** consolidate has a read-only MCP mirror
([#4807](#4807))
([2ec561d](2ec561d))


### Bug Fixes

* **ai:** devops ai agents detects the project manifest
([#4790](#4790))
([e8d1e53](e8d1e53))
* **mcp:** bound the gh resources longer than a GitHub read
([#4844](#4844))
([7f09921](7f09921))
* **roadmap:** run stage before refine on the model lane
([#4841](#4841))
([96c9bee](96c9bee))
* **roadmap:** stop refusing test paths in base docstrings
([#4826](#4826))
([1bbfce0](1bbfce0))
* **telemetry:** key the project gauges by repository
([#4804](#4804))
([9f0e0c8](9f0e0c8))


### Performance Improvements

* **ci:** run the in-image suite nightly and on image pull requests
([#4828](#4828))
([a2cfd9a](a2cfd9a))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(ci): run the in-image suite nightly and on image PRs

1 participant