[aw] Copilot Agent PR Analysis has stale lock file
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, go
- Área
- build-system, ci-cd, devtools
Línea de trabajo
Comienza con .github/workflows/copilot-agent-analysis.md y con el paso Check workflow lock file de la ejecución fallida. Ejecuta gh aw compile y, después, gh aw compile --validate para regenerar y verificar el archivo .lock.yml correspondiente. Se considera terminado cuando el archivo lock compilado está confirmado y el workflow ya no informa de una discrepancia por un lock obsoleto.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Workflow Failure
Workflow: Copilot Agent PR Analysis
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/35638426765
[!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
Action Required
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/35638426765
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
- Start your agent
- Load the
agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.md - Type
debug the agentic workflow copilot-agent-analysis failure in https://github.com/github/gh-aw/actions/runs/35638426765
[!TIP]
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter:safe-outputs: report-failure-as-issue: false
Generated from Copilot Agent PR Analysis · ◷
- expires on Sep 22, 2026, 6:28 AM UTC
- Lenguaje dominante
- Go
- Estrellas
- 5.2k
- Forks
- 547
- Merge medio
- 5 h 55 min
- PR fusionados (30 d)
- 771
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/gh-aw
-
[deep-report] Label 5 genuine bug reports hidden unlabeled in the WIP-stub-dominated backlog Abiertoautomation code-quality cookie deep-report improvement quick-win task-mining triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
[deep-report] .claude/skills/reporting.md missing required name: frontmatter, skill not registered Abiertoautomation code-quality cookie deep-report improvement quick-win task-mining tooling
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
automation code-quality cookie deep-report documentation improvement quick-win task-mining
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
[deep-report] Docs: collapse advanced install options below Day-one commands table in cli.md Abiertoautomation code-quality cookie deep-report documentation improvement quick-win task-mining
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
[deep-report] Docs: preview what Quick Start Step 2's external repo-status workflow actually does Abiertoautomation code-quality cookie deep-report documentation improvement quick-win task-mining
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Todos los issues de github/gh-aw
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
-
enhancement needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
kind/cleanup
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
kubernetes-sigs/kueue#15947 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sympozium-ai/sympozium#627 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100