[aw] Copilot Agent PR Analysis has stale lock file
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 68/100
調査の方向性
.github/workflows/copilot-agent-analysis.md から始めてください — ソースは .lock.yml を再生成せずに編集されています。gh aw compile(または gh aw compile --all)を実行し、続いて gh aw compile --validate を実行してハッシュが一致することを確認してください。不一致が続く場合、実行ログの "Check workflow lock file" ステップ配下の [hash-debug] 行に、何がハッシュ化されたかが表示されます。完了とは、再生成された .lock.yml がコミットされ、新規実行で stale-lock チェックが通ることを意味します。これは自動生成された失敗レポートなので、lock ファイルの churn をコミットする前に調整してください。
索引モデルが issue の本文から書いたものです。
説明
Workflow Failure
Workflow: Copilot Agent PR Analysis
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/37227482750
[!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/37227482750
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/37227482750
[!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 Oct 5, 2026, 7:15 AM UTC
- 主要言語
- Go
- スター
- 5.4k
- フォーク
- 576
- 平均マージ
- 8時間 46分
- マージ済み PR(30日)
- 753
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-aw のほかの issue
-
automation models
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
automation code-quality cookie deep-report documentation improvement quick-win task-mining
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
github/gh-aw#66660 · コメント 10 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows maintenance
難易度 1/5 1〜3時間 初心者へのやさしさ 77/100
github/gh-aw#66635 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
automation code-quality cookie improvement quick-win task-mining
難易度 2/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
automation documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
vanderheijden86/b9s#20 ·
-
go-battery needs an ndsctl on PATH: TestPurchaseSessionGuardHoldsThroughTheOutcomeUnknownWindow fails on bare hosts (passes with stub)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenTollGate/tollgate-module-basic-go#726 ·
メンテナーはふだん 1 日以内に返信
-
ux waiting for feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
evcc-io/evcc#34527 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
phase:v3 type:harness
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信