Skip to content

Commit 6abd710

Browse files
Copilotpelikhan
andauthored
Use hash-based stale lock validation guidance in Workflow Health Manager (#27696)
* Initial plan * fix: use hash-based stale lock checks in workflow health guidance Agent-Logs-Url: https://github.com/github/gh-aw/sessions/98db438b-3be1-4824-b6b9-4e8cc4425dc8 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 816a783 commit 6abd710

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/workflow-health-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ As a meta-orchestrator for workflow health, you oversee the operational health o
7070
**Check compilation status:**
7171
- Verify each **executable workflow** has a corresponding `.lock.yml` file
7272
- **EXCLUDE** shared include files in `.github/workflows/shared/` (these are imported by other workflows, not compiled standalone)
73-
- Check if lock files are up-to-date (source `.md` modified after `.lock.yml`)
73+
- Check if lock files are up-to-date using frontmatter hash verification (not file modification timestamps)
7474
- Identify workflows that failed to compile
7575
- Flag workflows with compilation warnings
7676

@@ -235,7 +235,7 @@ The Metrics Collector workflow runs daily and stores performance metrics in a st
235235
2. **Check compilation status:**
236236
- For each **executable** `.md` file, verify `.lock.yml` exists
237237
- **SKIP** files in `.github/workflows/shared/` directory (reusable imports, not standalone workflows)
238-
- Compare modification timestamps
238+
- Verify lock freshness with frontmatter hash checks (for example, `gh aw compile --validate`) instead of raw file modification timestamps
239239
- Run `gh aw compile --validate` to check for compilation errors
240240

241241
3. **Build workflow inventory:**

0 commit comments

Comments
 (0)