[aw] SelfCare: has stale lock file
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, yaml
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
Kiểm tra thất bại so sánh Markdown nguồn của workflow SelfCare với .lock.yml đã biên dịch; hãy tìm trong repo tệp .md của workflow self-care và kiểm tra xem có .lock.yml nằm bên cạnh hay không. Sau khi chỉnh sửa, hãy chạy gh aw compile (và gh aw compile --validate để xác nhận), rồi commit và push .lock.yml được tạo lại. Nếu sự không khớp xuất phát từ việc cài đặt chứ không phải chỉnh sửa, ghi chú của chính issue cho biết cần thêm lại với SHA chính xác và biên dịch lại; hoàn tất khi kiểm tra tệp khóa vượt qua ở lần chạy main tiếp theo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
SelfCare has stale lock file.
View run #41644099611 · 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" failure.
Follow https://raw.githubusercontent.com/github/gh-aw/main/debug.md
Failed run: https://github.com/githubnext/gh-cao/actions/runs/41644099611
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.
- expires on Nov 4, 2026, 1:26 PM UTC
- Ngôn ngữ chính
- JavaScript
- Star
- 14
- Fork
- 5
- Merge trung bình
- 3 giờ 24 phút
- Pull request đã merge (30 ngày)
- 796
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/gh-cao
-
[aw] Upgrade availableĐang mởagentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
githubnext/gh-cao#20168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
repo-assist repo-assist:issue-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
githubnext/gh-cao#20041 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows self-care self-care:pages-health
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
githubnext/gh-cao#20028 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
githubnext/gh-cao#19959 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows self-care self-care:reactive-ui-expert
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 85/100
githubnext/gh-cao#19923 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-cao
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
hugomrdias/playwright-test#753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
KonstantinStarovoytov/kitden#21 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
guybedford/es-module-shims#556 ·
-
app ernst:4-klein
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NewspeedyNL/PidLane#683 ·
Maintainer thường phản hồi trong vòng 1 ngày