Skip to content

ci: Run global scenarios in the PR workflow - #29

Merged
dan-petty merged 2 commits into
mainfrom
ci/12-run-global-scenarios-when-test-global
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
ci/12-run-global-scenarios-when-test-global

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

The pull request workflow .github/workflows/test-pr.yaml runs no test when a pull request changes only test/_global: the ids step keeps only ids that have src/<id>/devcontainer-feature.json, so the global scenario of #7 gets an empty Feature list and its breakage shows only on the push to main or in the weekly test-all.yaml run, which is why the proof of PR #11 needed a run started by hand. #12 adds a test-global job to .github/workflows/test-pr.yaml that runs npm run test:global when a file under test/_global changes, and skips it for a Feature-only pull request.

Closes #12

Change: openspec/changes/archive/2026-11-27-12-run-global-scenarios-when-test-global/

@devops-cli-service devops-cli-service Bot added the type/infra Kubernetes, Docker, DevContainer, or OpenTofu infrastructure label Nov 27, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 1321325/11144 uv run devops ci --check --only actionlint,zizmor
group 2 done 1 545643/2998 -
  • tools: run_command 36, read_file 6, edit_file 5
  • step docs: skipped, because the default branch does not declare it in .devops/roadmap.toml
  • scoped check pre-push: passed, 2 s
  • scoped check strength: passed, 0 s
  • group 1: skipped, group 1: kind other
  • group 2: skipped, group 2: kind other
  • mutation run and coverage delta: not run, because the change has no Python file under src/
  • verify of group 1: uv run devops ci --check --only actionlint,zizmor exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2139 Executing CI quality gates concurrently...
  \u2713 pass [python_version] python version check (3.14+) (3\xb5s)
  \u2713 pass [actionlint] actionlint (github workflows) (1.01s)
  \u2713 pass [zizmor] zizmor (github workflow security) (3.26s)
            CI Summary            
 Check           Result  Duration 
 python_version  \u2713 pass  3\xb5s      
 actionlint      \u2713 pass  1.01s    
 zizmor          \u2713 pass  3.26s    
Total Elapsed: 3.33s (concurrent async execution)

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 27, 2026 05:03
@dan-petty
dan-petty merged commit 4bd23f0 into main Nov 27, 2026
11 checks passed
@dan-petty
dan-petty deleted the ci/12-run-global-scenarios-when-test-global branch November 27, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/infra Kubernetes, Docker, DevContainer, or OpenTofu infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: run global scenarios when test/_global changes

1 participant