[aw] SelfCare / Docs Build Time: has stale lock file
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 80/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, yaml
- Ambito
- ci-cd
Direzione di ricerca
Inizia da .github/workflows/self-care-docs-build-time-investigator.md e controlla lo step “Check workflow lock file” dell'esecuzione fallita se la causa non è ovvia. Esegui gh aw compile e committa il file .lock.yml rigenerato. Completato quando il file lock compilato corrisponde al sorgente del workflow.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
SelfCare / Docs Build Time has stale lock file.
View run #41638821449 · Workflow source · Previous failures
Branch: main
Next step
Review the failure details below for a targeted fix, or assign this issue to a coding agent to investigate.
Failure details
[!WARNING]
Lock File Out of Sync: The workflow could not start because its compiled lock file no longer matches the source markdown.
This means the workflow's .md file was edited but gh aw compile was not run afterwards to regenerate the corresponding .lock.yml file. The agent is prevented from running against a stale configuration to avoid unexpected behaviour.
To fix, recompile the workflow:
gh aw compile
Then commit and push the updated .lock.yml file.
More ways to recompile
Using the gh-aw MCP server (if configured):
{
"tool": "compile",
"arguments": {
"validate": true
}
}
Recompile all workflows at once:
gh aw compile --all
Verify the result:
gh aw compile --validate
How to investigate the mismatch
The workflow run logs contain a verbose debug pass that shows exactly what was hashed. Search the Check workflow lock file step logs for lines starting with [hash-debug] to see:
- The raw frontmatter text that was used as input
- Any imported files that were included in the hash
- The canonical JSON that was fed to SHA-256
- The resulting hash value
This makes it easy to spot accidental whitespace changes, encoding differences, or import path drift.
This mismatch can also happen on a fresh install (even without any manual edits) if gh aw add <path>@<ref> could not resolve the ref to an exact commit SHA during installation. In that case, rerun the add command with an exact SHA (or retry when API/rate-limit conditions recover), then recompile:
gh aw add <path>@<exact-sha>
gh aw compile
How to disable this check
[!CAUTION]
Disabling this check means the agent can run against an out-of-date compiled workflow. Only disable it if you have an alternative mechanism to keep lock files in sync.
Set stale-check: false in the on: section of your workflow frontmatter:
on:
issues:
types: [opened]
stale-check: false
After editing, recompile the workflow: gh aw compile
Copy a debugging prompt
Paste this into your coding agent:
Debug the agentic workflow "self-care-docs-build-time-investigator" failure.
Follow https://raw.githubusercontent.com/github/gh-aw/main/debug.md
Failed run: https://github.com/githubnext/gh-cao/actions/runs/41638821449
If the repository includes the agentic-workflows skill, load it before investigating.
Manage failure notifications
To stop creating failure issues for this workflow, set this in its frontmatter and recompile:
safe-outputs:
report-failure-as-issue: false
This only disables issue reporting; it does not fix the failure.
Generated from SelfCare / Docs Build Time · ◷
- expires on Nov 4, 2026, 12:49 PM UTC
- Lingua principale
- JavaScript
- Stelle
- 14
- Fork
- 5
- Merge medio
- 3h 24m
- PR unite (30g)
- 796
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/gh-cao
-
[aw] Upgrade availableApertaagentic-workflows
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
githubnext/gh-cao#20168 ·
I maintainer di solito rispondono entro 1 giorno
-
repo-assist repo-assist:issue-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
githubnext/gh-cao#20041 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows self-care self-care:pages-health
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
githubnext/gh-cao#20028 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
githubnext/gh-cao#19959 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows self-care self-care:reactive-ui-expert
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
githubnext/gh-cao#19923 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/gh-cao
Issue simili
-
curriculum documentation quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
githubnext/gh-aw-workshop#5367 ·
I maintainer di solito rispondono entro 3 giorni
-
Add: Animal Planet BGApertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 4 giorni
-
beginner blocked
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hiero-ledger/hiero-sdk-js#4670 ·
I maintainer di solito rispondono entro 1 giorno
-
Media widget: selecting a paused player is ignored while another paused player holds an audio streamAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: editor complexity: easy impact: low status: triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ueberdosis/tiptap#8699 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno