Commit 830da92
fix: eliminate cache-memory dependency in update-instructions workflow (#8739)
* fix: eliminate cache-memory dependency in update-instructions workflow
Replace the cache-memory tool (used to store last-run.txt) with a GitHub
API query for the last successful workflow run. This fixes the false-positive
cache-miss failure on first run, where the agent correctly reported
missing_data/cache_memory_miss but gh-aw's detection layer interpreted it
as a prompt misconfiguration.
The workflow run history is the natural, always-available source of truth
for "when did this last succeed" — no external state to seed, evict, or
misread. This also avoids the 7-day cache eviction risk that could cause
repeated first-run behavior on a weekly schedule.
Fixes #8702
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: add actions toolset so agent can list workflow runs
The github MCP toolsets only had [pull_requests, issues, repos] but Step 1
requires listing workflow runs to find the last successful run date. Without
the actions toolset, the agent would always fall through to the 6-month scan.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: regenerate lock file with gh-aw v0.81.6
Recompile the lock file to reflect the cache-memory removal and actions
toolset addition. Also upgrades gh-aw infrastructure from v0.79.8 to
v0.81.6 with updated container images and SHA-pinned digests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a0b4828 commit 830da92
3 files changed
Lines changed: 239 additions & 302 deletions
File tree
- .github
- aw
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
34 | 29 | | |
35 | | - | |
36 | | - | |
| 30 | + | |
| 31 | + | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
0 commit comments