Uh oh!
There was an error while loading. Please reload this page.
fix: prevent daily-cache-strategy-analyzer from false-alarming on empty cache at startup - #28617
Conversation
…ss issue Agent-Logs-Url: https://github.com/github/gh-aw/sessions/93e471b0-2944-46c9-acab-3211da46b0a1 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
… startup as missing data Agent-Logs-Url: https://github.com/github/gh-aw/sessions/93e471b0-2944-46c9-acab-3211da46b0a1 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
Updates agent/workflow guidance to avoid false alarms during cold-start cache conditions for daily-cache-strategy-analyzer.
Changes:
- Add explicit callout that an empty/absent
cache-strategy/cache at startup is expected. - Add a new “When to Call
missing_data” section clarifying when that tool should (and should not) be used. - Expand the dispatcher agent guidance with a new CLI commands / triggering workflows reference section.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-cache-strategy-analyzer.md | Documents cold-start cache behavior and adds explicit missing_data usage guidance to prevent false alarms. |
.github/agents/agentic-workflows.agent.md | Adds routing/guidance for CLI commands and workflow triggering, including references to CLI documentation. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/agents/agentic-workflows.agent.md:196
- This URL points to
.github/aw/cli-commands.md, but that file isn’t present in the repository, so this guidance will send users to a dead link. Please either add the referenced file or replace the link with an existing CLI documentation location (for example.github/aw/github-agentic-workflows.md#clior the official CLI docs URL).
- **Triggering runs**: Always use `gh aw run <workflow-name>` to trigger a workflow on demand — not `gh workflow run <file>.lock.yml`. `gh aw run` handles workflow resolution by short name, input parsing and validation, and correct run-tracking for agentic workflows. Use `--ref <branch>` to run on a specific branch.
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see https://github.com/github/gh-aw/blob/main/.github/aw/cli-commands.md
- Files reviewed: 2/2 changed files
- Comments generated: 1
| ### CLI Commands Reference | ||
| **Load when**: The user asks how to run, compile, debug, or manage workflows from the command line; needs the MCP tool equivalent of a `gh aw` command; or is in a restricted environment (e.g., Copilot Cloud) without direct CLI access. | ||
| **Reference file**: https://github.com/github/gh-aw/blob/main/.github/aw/cli-commands.md |
There was a problem hiding this comment.
The referenced cli-commands.md file does not exist in this repo under .github/aw/ (and will 404), so the dispatcher will point users to a broken URL. Either add .github/aw/cli-commands.md, or update this to link to an existing CLI reference (e.g. .github/aw/github-agentic-workflows.md#cli or the existing docs URL already used there).
This issue also appears on line 195 of the same file.
| **Reference file**: https://github.com/github/gh-aw/blob/main/.github/aw/cli-commands.md | |
| **Reference file**: https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflows.md#cli |
On its first few runs, the
daily-cache-strategy-analyzerfound its owncache-strategy/history absent (expected cold-start behavior) and autonomously calledmissing_data— creating a false-alarm issue. The cache infrastructure was working correctly; the problem was the agent treating a legitimate cold start as a reportable failure.Changes
cache-strategy/directory is normal and expected — not a problem to report.missing_dataguidance section: Added explicit "When to Callmissing_data" guidelines under Important Guidelines:agentic-workflowsMCP unreachable, no logs downloadable)The
.mdfile is loaded via{{#runtime-import}}at workflow execution time, so no lock file recompilation is required.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh repo view --json owner,name --jq .owner.login + "/" + .name x_amd64/link(http block)/usr/bin/gh gh repo view owner/repo(http block)/usr/bin/gh gh repo view owner/host-repo(http block)https://api.github.com/orgs/test-owner/actions/secrets/usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name --get-regexp --local 86_64/git(http block)https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1/usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv /tmp/TestCollectWorkflowFiles_WithImports625687493/001 config /usr/bin/git remote.origin.urgit(http block)https://api.github.com/repos/actions/checkout/git/ref/tags/v3/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv -bool -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git nt.m�� md d /usr/bin/git --abbrev-ref HEAD x_amd64/vet git(http block)https://api.github.com/repos/actions/checkout/git/ref/tags/v5/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv 5419-13875/test-1957460098/.github/workflows 5428068/b254/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet(http block)/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel ache/go/1.25.8/x64/pkg/tool/linuconfig /usr/bin/git se 5428068/b243/vet\n ache/go/1.25.8/x: git rev-�� --show-toplevel ache/go/1.25.8/xremote.origin.url /usr/bin/git CommaSeparatedCogit(http block)/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel gh /usr/bin/git /orgs/test-ownergit --jq /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/TestGuardPogit config /opt/hostedtoolc--show-toplevel git(http block)https://api.github.com/repos/actions/checkout/git/ref/tags/v6/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv faultBranchFromLsRemoteWithRealGitmaster_branch4112560232/001 faultBranchFromLsRemoteWithRealGitmaster_branch4112560232/002/work /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/x5 5428�� licyMinIntegrityOnlymin-integrittest-logs/run-5 5428068/b424/_testmain.go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile l /001' -nilfunc /opt/hostedtoolcache/go/1.25.8/x-buildtags(http block)/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv tructions-test-4249433309 -buildtags ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -errorsas -ifaceassert -nilfunc ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile rev-�� 3940641355 -tests 5428068/b459=>(http block)/usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv git-upload-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch1072760888/001' l ache/node/24.14.1/x64/bin/node on' --ignore-patgit --local k/_temp/uv-pytho--show-toplevel ache/node/24.14.1/x64/bin/node 0088�� /tmp/TestGuardPolicyMinIntegrityOnlyCompiledOutput2817696772/001 config /usr/bin/git remote.origin.urgit --local x_amd64/vet git(http block)https://api.github.com/repos/actions/github-script/git/ref/tags/v8/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv --show-toplevel 5428068/b404/clirev-parse /usr/bin/git 5419-13875/test-bash /tmp/go-build231/tmp/gh-aw-test-runs/20260426-175437-16575/test-patch-priority-32647�� e/git-receive-pack git rev-�� --show-toplevel(http block)https://api.github.com/repos/actions/github-script/git/ref/tags/v9/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv json' --ignore-path ../../../.pr**/*.json(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv ../pkg/workflow/-p aily-cache-stratgithub.com/github/gh-aw/pkg/agentdrain_test x_amd64/vet commit.gpgsign(http block)https://api.github.com/repos/actions/setup-go/git/ref/tags/v4/usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linu/tmp/go-build2315428068/b115/vet.cfg /usr/bin/gh --noprofile(http block)https://api.github.com/repos/actions/setup-node/git/ref/tags/v4/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv b.actor }}, Repo: ${{ github.repository }} rev-parse /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile ./../pkg/workflogit --local x_amd64/vet /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -o /tmp/go-build2315428068/b458/_pkg_.a -trimpath om/owner/repo.git -p github.com/githurev-parse -lang=go1.25 git(http block)/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --git-dir 64/pkg/tool/linu-dwarf=false /usr/bin/infocmp --noprofile(http block)https://api.github.com/repos/actions/setup-node/git/ref/tags/v6/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -bool -buildtags 5428068/b431/parser.test -errorsas -ifaceassert -nilfunc 5428068/b431/parser.test e=/t�� t0 -buildtags(http block)/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv sistency_GoAndJavaScript25238561/001/test-frontmatter-with-array-p -trimpath ache/go/1.25.8/x64/pkg/tool/linux_amd64/link -p main -lang=go1.25 ache/go/1.25.8/x64/pkg/tool/linux_amd64/link -C 5428068/b459/tty.test config ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet remote.origin.urgit -c=4 -nolocalimports ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet(http block)/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv --bare l ache/node/24.14.1/x64/bin/node on' --ignore-patgit --local cal/bin/git ache/node/24.14.1/x64/bin/node 4979�� --show-toplevel git /usr/bin/git ./../pkg/workflogit --local x_amd64/vet git(http block)https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4/usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv :latest rev-parse /usr/bin/git th .prettierignogit --local ode_modules/.bin--show-toplevel git rev-�� runs/20260426-175419-13875/test-3979618418 git _id":222}] get --local x_amd64/vet git(http block)https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv -243263028/base.md -243263028/new.md /usr/bin/git --noprofile .cfg 64/pkg/tool/linu--show-toplevel /usr/bin/git remo�� -v 64/pkg/tool/linux_amd64/vet /usr/bin/git rdian.md .cfg 64/pkg/tool/linu--show-toplevel git(http block)https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.0.0/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 git sv get --local ndor/bin/bash git -C /tmp/gh-aw-test-runs/20260426-175419-13875/test-336186664 rev-parse /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile get --local x_amd64/vet /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile(http block)https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv r-test1350962169/existing.md -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git -C s/test.md config /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile remote.origin.urgit --local layTitle /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile(http block)https://api.github.com/repos/github/gh-aw/actions/artifacts/6647698331/zip/usr/bin/gh gh api repos/github/gh-aw/actions/artifacts/6647698331/zip --method GET(http block)https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name -v 64/pkg/tool/linux_amd64/compile(http block)/usr/bin/gh gh run download 1 --dir test-logs/run-1 o 64/pkg/tool/linux_amd64/compile(http block)https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name owner 64/pkg/tool/linux_amd64/vet rkflow/js/**/*.jgit -j erignore 64/pkg/tool/linuremote.origin.url(http block)/usr/bin/gh gh run download 12345 --dir test-logs/run-12345(http block)https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name owner x_amd64/compile rkflow/js/**/*.j/usr/bin/unpigz -j erignore x_amd64/compile(http block)/usr/bin/gh gh run download 12346 --dir test-logs/run-12346 go-udiff@v0.4.1/lcs/doc.go 64/pkg/tool/linux_amd64/compile rkflow/js/**/*.jgit(http block)https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name -v 64/pkg/tool/linux_amd64/compile(http block)/usr/bin/gh gh run download 2 --dir test-logs/run-2 piler_error_formatting_test.go 64/pkg/tool/linux_amd64/compile(http block)https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name -v 64/pkg/tool/linux_amd64/vet(http block)/usr/bin/gh gh run download 3 --dir test-logs/run-3 chore: initial plan for fixing daily-cache-stratmain .cfg(http block)https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name .cfg 64/pkg/tool/linux_amd64/compile(http block)/usr/bin/gh gh run download 4 --dir test-logs/run-4 chore: initial plan for fixing dmain .cfg(http block)https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts/usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name -v 64/pkg/tool/linux_amd64/link(http block)/usr/bin/gh gh run download 5 --dir test-logs/run-5 chore: initial plan for fixing d-w 64/pkg/tool/linux_amd64/compile(http block)https://api.github.com/repos/github/gh-aw/actions/workflows/usr/bin/gh gh workflow list --json name,state,path --local --get _modules/.bin/sh(http block)/usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 /tmp/go-build2315428068/b447/importcfg -pack /tmp/go-build2315428068/b447/_testmain.go 1/x6�� --verify main x_amd64/vet(http block)/usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6(http block)https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md/tmp/go-build2315428068/b404/cli.test /tmp/go-build2315428068/b404/cli.test -test.testlogfile=/tmp/go-build2315428068/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel ache/go/1.25.8/x^remote\..*\.gh-resolved$ /usr/bin/git vaScript25238561git !../../../pkg/worev-parse ache/go/1.25.8/x--show-toplevel git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linuTest User /usr/bin/git 5419-13875/test-ls /tmp/go-build231-lh 64/pkg/tool/linu/tmp/gh-aw/aw-feature-branch.patch git(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv 2915/001/stability-test.md 5428068/b059/vet.cfg ck(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv --local committer.email x_amd64/vet(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv --local committer.email x_amd64/vet(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv --local gpg.program x_amd64/vet(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv */*.ts' '**/*.json' --ignore-pat-errorsas gpg.program x_amd64/vet(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv --local gpg.program x_amd64/vet nt(f'{j["id"]}: git(http block)https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999/usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv se 5428068/b066/vet.cfg .cfg(http block)https://api.github.com/repos/nonexistent/repo/actions/runs/12345/usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion /../../.prettiergit erignore(http block)https://api.github.com/repos/owner/repo/actions/workflows/usr/bin/gh gh workflow list --json name,state,path --repo owner/repo cal/bin/bash(http block)/usr/bin/gh gh workflow list --json name,state,path --repo owner/repo rgo/bin/bash(http block)/usr/bin/gh gh workflow list --repo owner/repo --json name,path,state .cfg ./../.prettieriggit gent-Logs-Url: hrev-parse(http block)https://api.github.com/repos/test-owner/test-repo/actions/secrets/usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --get-regexp --local om/github/gh-aw(http block)https://api.github.com/repos/test/repo/usr/bin/gh gh api /repos/test/repo --jq .default_branch 336186664 format:cjs x_amd64/compile(http block)If you need me to access, download, or install something from one of these locations, you can either: