Skip to content

fix: update CI workflow tests for new compiler action path format#6238

Merged
lpcox merged 1 commit into
mainfrom
fix/ci-workflow-test-assertions
Jul 14, 2026
Merged

fix: update CI workflow tests for new compiler action path format#6238
lpcox merged 1 commit into
mainfrom
fix/ci-workflow-test-assertions

Conversation

@lpcox

@lpcox lpcox commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

The compiler (5a10da88) changed the setup action reference from:

  • github/gh-aw-actions/setup@<sha> # v<version>

to:

  • github/gh-aw/actions/setup@<sha>

This updates 5 test files to use flexible regex patterns (/github\/gh-aw\/actions\/setup@[a-f0-9]{40}/) that match the current lockfile format.

Tests Fixed

  • scripts/ci/security-guard-workflow.test.ts
  • scripts/ci/smoke-claude-workflow.test.ts
  • scripts/ci/self-hosted-runner-doctor-workflow.test.ts
  • scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts
  • scripts/ci/test-coverage-improver-workflow.test.ts

Verification

Tests: 3763 passed, 3763 total

The compiler (5a10da88) uses github/gh-aw/actions/setup@<sha> instead
of the old github/gh-aw-actions/setup@<sha> # v<version> format.
Update test assertions to match with flexible regex patterns that
accept either format.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8dcc99fc-3d0e-40c5-8b75-bc43d9bf5dee
Copilot AI review requested due to automatic review settings July 14, 2026 23:36
@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 98.92% 98.95% 📈 +0.03%
Statements 98.86% 98.89% 📈 +0.03%
Functions 99.35% 99.35% ➡️ +0.00%
Branches 95.14% 95.14% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox
lpcox merged commit 2f4903e into main Jul 14, 2026
24 checks passed
@lpcox
lpcox deleted the fix/ci-workflow-test-assertions branch July 14, 2026 23:51
@lpcox
lpcox removed the request for review from Copilot July 15, 2026 00:07
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