Repository navigation
Description
Summary
Daily cross-repo compilation audit (workflow-run-id) found that gh aw fix --write silently fails to migrate deprecated fields (confirmed for engine.model) when they live inside a partial file referenced via imports: rather than the workflow's own frontmatter. The compiler keeps warning ("Run gh aw fix to automatically migrate") on every compile, but there is no path to actually resolving it via fix.
Key metrics from this run
- 20 public repos selected by stars from lock-file-based code search, cloned and compiled one-by-one against a fresh local build (
bf7e570). - 13/20 had
.mdsources to compile; 13/13 compiled clean (compile --strictexit 0) aftergh aw fix --write. - 1/13 had a genuine strict-mode error before fix (
pull_request_target+ checkout inrunhey/OnmyojiAutoScript) — correctly auto-remediated byfixwithcheckout: false. Not a bug. - Several deprecated-field renames (
title-prefix→required-title-prefix,allow-team-members→allowed-collaborators,expiresint→day-string) were cleanly auto-migrated acrossdotnet/fsharp,microsoft/vstest,py-why/dowhy,royshil/obs-backgroundremoval. Those all work as intended. - 1 reproducible gap:
engine.modeldeprecation warning survivesfix --writeuntouched inrunhey/OnmyojiAutoScript(8 occurrences across 5 workflow files, unchanged before/after).
Root cause (verified against source)
getMarkdownWorkflowFiles in pkg/cli/workflows.go:280 does a non-recursive filepath.Glob(.github/workflows/*.md). runFixCommand in pkg/cli/fix_command.go:118 only runs the codemod pipeline (GetCodemods / processWorkflowFileWithInfo) over that file list.
Shared partials loaded via imports: (e.g. .github/workflows/shared/engine.md) live in a subdirectory and are never included in that glob, so they never reach the codemod pipeline — even though the compiler correctly merges imported frontmatter and emits the deprecation warning for the merged result.
Net effect: a workflow whose engine: block is centralized in an imported shared file gets no fix and no error — gh aw fix --write just reports "No fixes needed" (or omits the file from "Fixed N of M") while the actual file with the deprecated field is untouched, and the warning recurs forever.
Reproduction
Repo: runhey/OnmyojiAutoScript
.github/workflows/shared/engine.md (imported by 5 of 8 workflows):
---
engine:
id: codex
model: gpt-5.4
env:
OPENAI_BASE_URL: (aipixel.online/redacted)
OPENAI_API_KEY: ${{ secrets.PIXEL_API_KEY }}
---.github/workflows/issue-triage.md (excerpt):
---
name: "Issue Triage"
...
imports:
- shared/engine.md
- shared/network.md
...
---gh aw compile --strict (before fix) — repeated for every importing workflow:
⚠ 'engine.model' is deprecated. Use top-level 'model' instead. Run 'gh aw fix' to automatically migrate.
gh aw fix --write output:
✓ pr-review-checklist.md
• Add checkout: false for pull_request_target
✓ pr-review-intent.md
• Add checkout: false for pull_request_target
✓ weekly-report.md
• Convert expires integer to day string
✓ Fixed 3 of 8 workflow files
(The 5 files importing shared/engine.md are not mentioned at all.)
gh aw compile --strict (after fix) — identical warning, same 8 occurrences, unchanged:
⚠ 'engine.model' is deprecated. Use top-level 'model' instead. Run 'gh aw fix' to automatically migrate.
Contrast: dotnet/android and royshil/obs-backgroundremoval declare engine.model directly in each workflow's own frontmatter (no import indirection), and the same codemod migrated them cleanly:
✓ android-reviewer.md
• Move engine.model to top-level model
✓ nightly-fix-finder.md
• Move engine.model to top-level model
✓ Fixed 2 of 2 workflow files
Suggested remediation
Either:
- Have
runFixCommand/getMarkdownWorkflowFilesalso resolve and walk files referenced byimports:(recursively), running the codemod pipeline against them and writing back to the source partial file rather than the importing workflow; or - When a deprecated field's value originates from an imported file, have
fixprint an explicit diagnostic naming that file path (e.g. "engine.model in shared/engine.md needs manual migration — imported files are not auto-fixed") instead of silently reporting "No fixes needed".
This risk isn't limited to engine-model-to-top-level — any codemod targeting a field commonly centralized in a shared import (tools:, mcp-servers:, safe-outputs: renames) shares the same root cause and is worth a regression test once this is fixed.
Full per-repo results (this run)
| Repo | Stars | Compile before | Fix | Compile after | Notes |
|---|---|---|---|---|---|
| appwrite/appwrite | 56699 | 0 | no fixes | 0 | version-bump churn only |
| taosdata/TDengine | 25010 | 0 | no fixes | 0 | version-bump churn only |
| py-why/dowhy | 8237 | 0 | title-prefix rename | 0 | clean |
| runhey/OnmyojiAutoScript | 4582 | 1 (error) | 3/8 fixed | 0 | pull_request_target auto-fixed; engine.model-via-import not fixed |
| royshil/obs-backgroundremoval | 4439 | 0 | allow-team-members + engine.model rename | 0 | clean |
| dotnet/fsharp | 4321 | 0 | title-prefix rename | 0 | clean |
| Azure/azure-sdk-for-java | 2565 | 0 | no fixes | 0 | version-bump churn only |
| dotnet/android | 2129 | 0 | engine.model rename x2 | 0 | clean |
| drhelius/Gearboy | 1186 | 0 | no fixes | 0 | version-bump churn only |
| benbalter/wordpress-static-site-exporter | 1077 | 0 | no fixes | 0 | version-bump churn only |
| dotnet/SqlClient | 986 | 0 | no fixes | 0 | version-bump churn only |
| microsoft/vstest | 966 | 0 | title-prefix rename | 0 | clean |
| MichaelChirico/r-ci-samples | 41 | — | — | — | no .md sources on shallow clone |
| githubnext/ado-aw | 15 | 0 | no fixes | 0 | clean |
| githubnext/evergreen | 5 | — | — | — | no .md sources on shallow clone |
| sparkrew/github-actions-security | 3 | — | — | — | no .md sources on shallow clone |
| ibragimov-oasis/vibe-coder | 1 | — | — | — | no .md sources on shallow clone |
| JamiesonLabUTSW/hve-core-codex | 0 | — | — | — | no .md sources on shallow clone |
| adamd9/sandcastle-wars-master | 0 | — | — | — | no .md sources on shallow clone |
| dfs333/trivysupplychainanalysis | 0 | — | — | — | no .md sources on shallow clone |
Method note
This run's candidate discovery via gh api search/code (per Phase 1 instructions) returned a very different set of repos than prior daily runs recorded in cache-memory history (which mostly surfaced known gh-aw ecosystem repos like github/gh-aw-firewall, pelikhan/github-agentic-workflows, githubnext/*). Code search results in this environment vary significantly run to run (heavy rate limiting observed, gh search code returned HTTP 429 consistently; raw gh api search/code with backoff was used instead). Treat the specific top-20 list as one valid sample, not a stable roster.
References:
Generated by 🔧 Daily AW Cross-Repo Compile Check · agent · 239.2 AIC · ⌖ 24.4 AIC · ⊞ 7K · ◷
- expires on Aug 6, 2026, 1:56 AM UTC-08:00
Activity
github-actions commentedon Aug 3, 2026
This issue is being closed as outdated. A newer issue has been created: #49949
View newer issue
This action was performed automatically by the
Daily AW Cross-Repo Compile Checkworkflow.