Skip to content

fix(ci): detect workflow changes that affect shim tests#360

Merged
rhuanbarreto merged 1 commit into
mainfrom
fix/shim-changes-detect-workflow-updates
May 28, 2026
Merged

fix(ci): detect workflow changes that affect shim tests#360
rhuanbarreto merged 1 commit into
mainfrom
fix/shim-changes-detect-workflow-updates

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • The shim-changes detection job only checked git diff ... -- shims/, missing changes to the workflow files that configure shim test infrastructure
  • Renovate PR chore(deps): update github-actions #358 bumps Ruby 3.3→3.4.9 in both code-pull-request.yml and publish-shims.yml, but because those files are under .github/workflows/ (not shims/), the detector outputs shims_changed=false and all shim tests are skipped
  • Extended the diff paths to also include .github/workflows/publish-shims.yml and .github/workflows/code-pull-request.yml so shim tests run when their CI infrastructure changes

Test plan

  • Verify this PR's own CI run triggers the shim-tests job (since code-pull-request.yml itself changed)
  • After merging, verify Renovate PR chore(deps): update github-actions #358 re-runs CI and the shim-tests job executes

The shim-changes detection job only checked for file changes under
shims/, missing changes to the workflow files themselves (e.g., action
version bumps, runtime version changes). This meant a Renovate PR
bumping Ruby 3.3→3.4 in the shim-tests job would skip tests entirely.

Extend the git diff paths to also include publish-shims.yml and
code-pull-request.yml so shim tests run when their CI infrastructure
changes.

Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Metric Value
Lines 90.0% (6550 / 7278)
Threshold 90% minimum — met
Platforms Linux + Windows

Full HTML report available in workflow artifacts.

Per-directory breakdown
Directory Coverage Lines
src/commands/ 88.1% 2069 / 2348
src/engine/ 93.1% 1207 / 1297
src/formats/ 100.0% 141 / 141
src/helpers/ 89.7% 3133 / 3492

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: cc62d03
Status: ✅  Deploy successful!
Preview URL: https://4cc781c1.archgate-cli.pages.dev
Branch Preview URL: https://fix-shim-changes-detect-work.archgate-cli.pages.dev

View logs

@rhuanbarreto rhuanbarreto merged commit 372baf2 into main May 28, 2026
23 checks passed
@rhuanbarreto rhuanbarreto deleted the fix/shim-changes-detect-workflow-updates branch May 28, 2026 20:34
@archgatebot archgatebot Bot mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant