Repository navigation
Description
Problem or Motivation
DevContainer Image builds in 51 of 61 pushes, because its filter holds src/. Each build takes 4.66 min, after 6.0 min in the queue (measured). The image installs the CLI with --no-deps (.devcontainer/Dockerfile:318-321). The uv build of Static Analysis and the Service image already prove the package.
Owner decision O2 (2026-11-11): the DevContainer image builds only on its own inputs, plus the schedule. Update the guard test_image_path_filter_covers_dockerfile_sources.
Saving: About 4.7 runner-min and 1 job on about 85% of topic pushes (estimated).
Found by the CI and test audit of 2026-11-11. The account runs at most 20 hosted jobs at one time (measured), so each job that does no work makes the queue of each pull request longer.
Proposed Solution & Architectural Design
- Trigger the build on its inputs other than
src/, on the schedule, and onworkflow_dispatch. - The filter must stop the job before it starts: use a job-level condition or a filtered workflow, not a step filter.
- Change
test_image_path_filter_covers_dockerfile_sources(tests/invariants/test_architectural_invariants.py:679) in the same PR. The guard proves that the filter holds each input of.devcontainer/Dockerfileother thansrc/.
Risk: Low-medium. A src/ change that breaks devops --version under the devcontainer Python shows only on the schedule run.
Target Subsystem
SDLC, Git & PR Governance (.github/workflows/ci.yml, tests/invariants/test_architectural_invariants.py).
Existing Tool Considered
GitHub Actions path filters and schedule (native), or dorny/paths-filter (already pinned). No new tool. Cost: about 20,000 tokens and 1 hour.
Acceptance Criteria
- A push that changes only
src/starts no DevContainer job. - The schedule run builds the image.
- The changed guard passes, and it fails when an input other than
src/is missing from the filter.
Dependencies
None. The owner decided O2 on 2026-11-11.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
perfprefix of the title gives the type.(ci)scope of the title gives the scope.It saves runner time and reduces queue wait but does not fix a broken behaviour.Saves about 4.7 runner-min and one job start on roughly 85% of topic pushes.The body estimates about one hour and 20,000 tokens of work.Both use filtered workflows to stop path-triggered CI jobs from starting, but the candidate targets the DevContainer image build while #4653 targets four other path-check jobs.devops-cli-service commentedon Nov 12, 2026
Released in v0.118.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.118.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 12:40 UTC