Skip to content

Consolidate CLI not-found detection and fix lowercase “not found” miss#32888

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-case-sensitive-not-found-error
May 17, 2026
Merged

Consolidate CLI not-found detection and fix lowercase “not found” miss#32888
pelikhan merged 2 commits into
mainfrom
copilot/fix-case-sensitive-not-found-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 17, 2026

pkg/cli/outcome_eval_comment.go was called out for case-sensitive not-found matching, and pkg/cli had multiple divergent inline implementations. This change aligns CLI behavior on a single case-insensitive not-found classifier and removes duplicated string-matching logic in affected paths.

  • Not-found classification centralized in CLI call sites

    • Replaced remaining inline not-found substring checks in:
      • pkg/cli/audit.go
      • pkg/cli/logs_download.go
    • Both now route through shared errorutil.IsNotFoundError(err error) for consistent, case-insensitive detection.
  • CLI output/error-path handling made consistent

    • Where gh may surface not-found text in command output rather than typed errors, output is normalized through the same helper instead of ad-hoc "Not Found" | "not found" | "404" checks.
    • Existing non-not-found special case handling (e.g. "Could not resolve", 410) is preserved.
  • Coverage extended for lowercase/wrapped not-found

    • Added a test case in pkg/errorutil/errors_test.go for wrapped lowercase "not found" to ensure the shared helper continues to classify this form correctly.
if errorutil.IsNotFoundError(err) ||
	errorutil.IsNotFoundError(errors.New(outputStr)) ||
	strings.Contains(outputStr, "Could not resolve") {
	// handle missing run
}

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
    • Triggering command: /usr/bin/gh gh repo view --json owner,name --jq .owner.login + "/" + .name -nolocalimports -importcfg /tmp/go-build3707313223/b522/importcfg -pack /tmp/go-build3707313223/b522/_testmain.go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh repo view --json owner,name --jq .owner.login + "/" + .name 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env b/workflows GO111MODULE x_amd64/compile GOINSECURE til GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh pr list --repo github/gh-aw --state all --author app/github-actions --search created:2026-05-11T23:58:00Z..2026-05-12T00:05:00Z --limit 1 --json number --jq .[0].number GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuTest User (http block)
  • https://api.github.com/orgs/owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name 334602531/001' 334602531/001' x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name .js' --ignore-paGOINSECURE --jq ode add epo}/actions/runenv /usr/bin/git git tion�� copilot/fix-caseGOINSECURE on tions/setup/js/nGOMODCACHE ignore erignore (http block)
  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name .js' --ignore-paGOINSECURE git de_modules/.bin/GOMODCACHE /ref/tags/v9 resolved$ sv sh tion�� git status --porGOINSECURE on son ignore erignore sv sh (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv ithub/workflows/agent-persona-explorer.md 7313223/b506/_testmain.go /usr/bin/git 001' 001' -nilfunc git conf�� runs/20260517-203547-26644/test-1107654 Test User ache/go/1.25.8/x64/pkg/tool/linux_amd64/link url GO111MODULE 64/bin/go ache/go/1.25.8/x64/pkg/tool/linu--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 GO111MODULE sv GOINSECURE GOMOD GOMODCACHE go env runs/20260517-203925-40874/test-824910947/.github/workflows GO111MODULE (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv approach-validator.md 7313223/b447/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv vaScript2646082937/001/test-simple-frontmatter.md GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env Onlymin-integrity_with_explicit_repo3871152587/001 GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv -bool -buildtags /usr/lib/git-core/git -errorsas -ifaceassert -nilfunc /usr/lib/git-core/git main�� run --auto /usr/bin/git --detach GO111MODULE 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --get (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv g/envutil/envutitest-logs/run-5 g/envutil/envutil_test.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x--all -uns�� Onlymin-integritid,name,path,state /tmp/go-build370--repo ache/go/1.25.8/xowner/repo GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv g_.a GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xowner/host-repo -uns�� Onlymin-integrity_with_repos_array_c1137965858/001 /tmp/go-build3707313223/b077/vet.cfg 7313223/b516/excessivefuncparams.test GOSUMDB GOWORK 64/bin/go ortcfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -json piler}} es GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolctest-owner/test-repo-26644 -uns�� OnlyCompiledOutput799385645/001 /tmp/go-build3707313223/b143/vet.cfg 7313223/b346/vet.cfg GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xorigin (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw/pkg/repoutil/repougo1.25.8 k/gh-aw/gh-aw/pkg/repoutil/repou-c=4 /opt/hostedtoolcache/go/1.25.8/x-nolocalimports go1.25.8 -c=4 -nolocalimports /opt/hostedtoolcache/go/1.25.8/x--jq -o /tmp/go-build3707313223/b537/_pkg_.a -trimpath om/testorg/testrepo.git -p main -lang=go1.25 git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /tmp/go-build3707313223/b537/repoutil.test l /usr/bin/git -s -w -buildmode=exe git conf�� s/test.md remote.origin.url /usr/bin/git -json GO111MODULE x_amd64/vet git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv runs/20260517-203925-40874/test-remote.upstream.url -buildtags (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv github/workflows -nolocalimports -importcfg /tmp/go-build3707313223/b481/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/constants/constants.go /home/REDACTED/work/gh-aw/gh-aw/pkg/constants/engine_constants.go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build3707313223/b488/importcfg -pack /tmp/go-build3707313223/b488/_testmain.go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9.0.0
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 7H_nEJqr6YWz env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -bool tname) /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/xconfig -uns�� /ref/tags/v9 /tmp/go-build3707313223/b451/vet.cfg sv -json GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env /ref/tags/v9 GO111MODULE sv GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -unreachable=false /tmp/go-build3707313223/b033/vet.cfg g_.a GOSUMDB GOWORK 64/bin/go ache/go/1.25.8/x-test.v=true -uns�� st-1480859401/.g-test.timeout=10m0s /tmp/go-build370-test.run=^Test e/git-receive-pa-test.short=true /tmp/go-build619infocmp b/gh-aw/pkg/json-1 64/bin/go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv Imports823112305/001/inlined-a.md /tmp/go-build3707313223/b210/vet.cfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -json GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/xremote.upstream.url -uns�� runs/20260517-203547-26644/test-2088109574/.github/workflows /tmp/go-build3707313223/b453/vet.cfg ache/node/24.14.1/x64/bin/node l GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 3547-26644/test-slug-upstream-path-110049459 l ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile unsafe -nolocalimports -importcfg ache/go/1.25.8/x64/pkg/tool/linu--jq -V=f�� 7313223/b574/_pkg_.a /home/REDACTED/work/gh-aw/gh-aw/pkg/envutil/envutil_test.go e/git -json GO111MODULE x_amd64/vet e/git (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /a.out stmain.go ortcfg.link GOINSECURE iG0N51wNBohCsA_Srepo GOMODCACHE g_.a -uns�� Onlymin-integrity_with_repos=public_1940966494/001 /tmp/go-build3707313223/b076/vet.cfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xTest User (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /a.out GO111MODULE ortcfg.link GOINSECURE ATLEBY5d3T-S8Rm2repo GOMODCACHE J_/CWrYu2czG7Ca7owner/test-repo -uns�� Onlyrepos_only_without_min-integrity1632980194/001 /tmp/go-build3707313223/b063/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOSUMDB GOWORK 64/bin/go ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -json GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,Swapi ptables GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcowner/test-repo -uns�� ApprovalLabelsCompiledOutput2864872603/001 /tmp/go-build3707313223/b145/vet.cfg 1/x64/bin/node GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xtest@example.com (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -json piler}} iptables GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcowner/test-repo -uns�� ApprovalLabelsCompiledOutput2864872603/001 /tmp/go-build3707313223/b062/vet.cfg 7313223/b519/largefunc.test GOSUMDB GOWORK 64/bin/go 7313223/b519/largefunc.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /tmp/go-build501987398/b496/_pkg_.a -trimpath ache/go/1.25.8/x64/bin/go -p main -lang=go1.25 go env -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/aws-actions/configure-aws-credentials/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv runs/20260517-203547-26644/test-3796513254/.github/workflows test@example.com git -json GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/x--jq -V=f�� GOMODCACHE go /usr/bin/git -json GO111MODULE x_amd64/vet git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv runs/20260517-203547-26644/test-1928853493/custom/workflows -trimpath /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -p main -lang=go1.25 /opt/hostedtoolc--package-lock-only -V=f�� 5yQfoTujZBnZW-3q9G2g/5yQfoTujZBnZW-3q9G2g l /usr/bin/git -c=4 k -importcfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 GO111MODULE sv url GOMOD GOMODCACHE git -C /tmp/gh-aw-add-gitattributes-test3233145679 url /usr/bin/git GOSUMDB GOWORK x86_64/node git (http block)
  • https://api.github.com/repos/azure/login/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv sistency_GoAndJavaScript2545209250/001/test-inlined-imports-enabled-with-env-template-expressiongit /dev/null /opt/hostedtoolcache/go/1.25.8/x64/bin/go 0 -j ACCEPT go list�� -e (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv GOPATH url /usr/bin/git GOSUMDB GOWORK tions/setup/js/ninstall git comm�� /ref/tags/v9 l sv th .prettierigno/usr/lib/git-core/git infocmp bin/sh ache/node/24.14.--auto (http block)
  • https://api.github.com/repos/docker/login-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv sistency_GoAndJavaScript2545209250/001/test-inlined-imports-enab-errorsas config /opt/hostedtoolcache/go/1.25.8/x64/bin/go remote.origin.urnode GO111MODULE 64/bin/go go list�� -f {{context.GOARCH}} {{context.Compiler}} /usr/bin/git unsafe GO111MODULE x_amd64/vet git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv ry=1 (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv g_.a -buildtags r: $owner, name: $name) { hasDiscussionsEnabled } } -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/xremote.origin.url ortc�� 79 stmain.go .lock.yml url -ifaceassert -nilfunc /tmp/go-build370--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv runs/20260517-20id,name,path,state GO111MODULE e/git-upload-pack GOINSECURE GOMOD GOMODCACHE go faul�� /v3.0.0 GO111MODULE sv GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x--jq (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv se 7313223/b080/vet.cfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xupstream -uns�� -unreachable=false (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv /var/lib/php/sessions/ -ignore_readdir_race .cfg -mindepth 1 -name go env 3925-40874/test-4276418363/.github/workflows GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote1 (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv -unreachable=false /tmp/go-build3707313223/b007/vet.cfg tartedAt,updatedAt,event,headBranch,headSha,displayTitle H_PREFIX_ARGS="--docker-host-path-prefix /tmp/gh-aw" fi echo "$GH_AW_DOCKER_HOST_PATH_PREFIX_AR GOWORK 64/bin/go ache/go/1.25.8/xconfig -uns�� RequiresMinIntegremote.upstream.url /tmp/go-build3707313223/b097/vet.cfg 1/x64/bin/node /tmp/go-build619infocmp -trimpath 64/bin/go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created >=2026-05-10 GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url mpor�� -json GO111MODULE x_amd64/link GOINSECURE GOMOD GOMODCACHE x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created >=2026-04-17 GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env LsRemoteWithRealGitmaster_branch237741973/001' LsRemoteWithRealGitmaster_branch237741973/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuTest User (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created >=2026-02-16 GOMOD GOMODCACHE 64/pkg/tool/linuorigin env mLsRemoteWithRealGitmaster_branch237741973/001' mLsRemoteWithRealGitmaster_branch237741973/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu-1 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin env rdian.md GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name pkg/workflow/autofix_code_scanni-ifaceassert 64/bin/go /ref/tags/v9 cG/hKJC44cVKMHVnremote sv 987398/b524/impoupstream -c 77634155/001 gh ache/go/1.25.8/x64/bin/go /ref/tags/v9 --jq es/.bin/node /opt/hostedtoolcremote.origin.url (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE igFiles,SwigCXXF-C GOMODCACHE 64/pkg/tool/linurev-parse env 656722064/.githu@{u} GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linustatus env -json .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name gh 64/bin/go rror --jq e/git 987398/b477/imporemote.origin.url -c ithout_min-integrity3887193676/001 e/git ache/go/1.25.8/x64/bin/go d -n 10 --jq (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1234567890
    • Triggering command: /usr/bin/gh gh api repos/{owner}/{repo}/actions/runs/1234567890 --jq {databaseId: .id, number: .run_number, url: .html_url, status: .status, conclusion: .conclusion, workflowName: .name, workflowPath: .path, createdAt: .created_at, startedAt: .run_started_at, updatedAt: .updated_at, event: .event, headBranch: .head_branch, 01 02/work x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api repos/{owner}/{repo}/actions/runs/1234567890 --jq {databaseId: .id, number: .run_number, url: .html_url, status: .status, conclusion: .conclusion, workflowName: .name, workflowPath: .path, createdAt: .created_at, startedAt: .run_started_at, updatedAt: .updated_at, event: .event, headBranch: .head_branch, h2977514972/001' h2977514972/001' 5406197/b001/errGOMODCACHE /home/REDACTED/wor/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet resolved$ (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linurev-parse env -json GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name infocmp 64/bin/go rror 64/pkg/tool/linuremote sv 987398/b480/importcfg -c ithout_min-integrity3887193676/001 gh 64/pkg/tool/linux_amd64/link d -n 10 --jq sv 64/pkg/tool/linuremote.origin.url (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linu-nilfunc GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin env 2114956474/.github/workflows GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-tests (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linumyorg (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name pkg/workflow/safe_outputs_parser.go 64/bin/go /repos/actions/ggit --jq /usr/bin/gh 987398/b527/impoupstream -c 77634155/001 gh ache/go/1.25.8/x64/bin/go >&2; exit 1 --jq run-script/lib/n--get /opt/hostedtoolcremote.origin.url (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url env 2114956474/.github/workflows .cfg .cfg GOINSECURE b/gh-aw/pkg/agenconfig GOMODCACHE ache/go/1.25.8/xTest User (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name gh 64/bin/go ll 2>&1 --jq (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name stmain.go 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url env y.md GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-test.v=true (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 LsRemoteWithRealGitbranch_with_hyphen3749345107/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name infocmp 64/bin/go /ref/tags/v9 ache/go/1.25.8/xconfig sv 987398/b529/imporemote.upstream.url --ch�� ai-moderator.md **/*.ts ache/go/1.25.8/x64/bin/go --ignore-path ../../../.prettiinit sv /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu-q (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin env rdian.md GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE b/gh-aw/pkg/acticonfig GOMODCACHE 64/pkg/tool/linutest@example.com (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 l_test.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name infocmp 64/bin/go /ref/tags/v9 ache/go/1.25.8/xremote sv 987398/b533/impoorigin /hom�� edOutput418161920/001 **/*.cjs ache/go/1.25.8/x64/bin/go **/*.json --ignore-path ../../../.prettierignore /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path h237741973/001' h237741973/001' x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /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 GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/link GOINSECURE GOMOD GOMODCACHE x_amd64/link (http block)
    • Triggering command: /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 GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env 667440853/.github/workflows .cfg .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build3707313223/b472/cli.test /tmp/go-build3707313223/b472/cli.test -test.testlogfile=/tmp/go-build3707313223/b472/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOSUMDB GOWORK 64/bin/git go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /tmp/go-build4116329987/b472/cli.test /tmp/go-build4116329987/b472/cli.test -test.testlogfile=/tmp/go-build4116329987/b472/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOMODCACHE x_amd64/vet om/fork/repo.git-json x_amd64/compile tion�� te '**/*.cjs' '*GOINSECURE infocmp 1/x64/bin/node /ref/tags/v9 x_amd64/vet sv bash (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --objects url /usr/bin/git --exclude-hiddeninfocmp --all --quiet git -C ons-test3880909879 config /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu-f url GO111MODULE x_amd64/vet /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv user.email l (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv ithub/workflows GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuTest User (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv 01 -s -w -X main.veGOWORK 64/pkg/tool/linux_amd64/compile gh-aw ./cmd/gh-aw sv 64/pkg/tool/linu-q k/gh�� _.a **/*.cjs 64/bin/go **/*.json --ignore-path erignore sh (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/vet GOINSECURE jKy9Wnl/8kpGjX9u-1 GOMODCACHE x_amd64/vet env g_.a GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu-test.v=true (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv _.a **/*.cjs 64/bin/go **/*.json --ignore-path erignore sh -c ZnMv-_4GU git 64/bin/go rror origin ode-gyp-bin/node/repos/nonexistent/action/git/ref/tags/v999.999.999 rtcfg (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu-trimpath (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json herFiles,CFiles,-test.run=^Test x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json .cfg x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json .cfg x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv _.a **/*.cjs 64/bin/go **/*.json --ignore-path run-script/lib/n-bool sh -c lpWKq8x-s -pack 64/bin/go graphql -f (http block)
  • https://api.github.com/repos/github/gh-aw/issues/17
    • Triggering command: /usr/bin/gh gh api repos/github/gh-aw/issues/17 go 92/001 -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api repos/github/gh-aw/issues/17 erignore -1 */*.json' '!../.GOINSECURE git 1/x64/lib/node_mGOMODCACHE f/tags/v6 config sv ache/go/1.25.8/xGOPROXY -n '**/*.ts' '**/*.GOSUMDB *_test.go k/gh-aw/gh-aw/actions/setup/nodeGOMODCACHE nore !.git --with-filename sh (http block)
  • https://api.github.com/repos/google-github-actions/auth/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv 7313223/b549/stringutil.test config 1/x64/bin/node remote.upstream.node GO111MODULE 64/bin/go 1/x64/bin/node -o e: ${{ secrets.TOKEN }} -importcfg e/git -buildmode=exe -buildid=5seqSyw-500 -extld=gcc e/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv licyTrustedUsersRequiresMinIntegremote.origin.url GO111MODULE /usr/bin/infocmp l GOMOD GOMODCACHE infocmp -1 05019869/001 GOPROXY sv GOSUMDB GOWORK 1/x64/bin/node node (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv 2357e28d648b01ec-errorsas git 64/pkg/tool/linu-nilfunc nt/action/git/re/usr/lib/git-core/git remote1 bject.type] | @trun 64/pkg/tool/linu--auto k/gh�� _.a **/*.cjs 64/bin/go **/*.json --ignore-path erignore sh (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion **/*.ts **/*.json --ignore-path go list�� -mod=readonly -e ache/go/1.25.8/x64/bin/go -d 64/pkg/tool/linurun sv go (http block)
  • https://api.github.com/repos/org/repo/pulls/1
    • Triggering command: /usr/bin/gh gh api repos/org/repo/pulls/1 -dwarf=false -goversion h644741792/001' h644741792/001' -nolocalimports -importcfg /tmp/go-build3707313223/b525/importcfg -pack /tmp/go-build3707313223/b525/_testmain.go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api repos/org/repo/pulls/1 erignore 1/x6�� /repos/actions/gGOINSECURE --jq tions/node_modulGOMODCACHE image:v1.0.0 --jq (http block)
  • https://api.github.com/repos/owner/repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name -json (http block)
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name .js' --ignore-paGOINSECURE (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-remote-workflow --limit 30 --repo owner/repo pBvTgXO/DnQKkYlYKpGvUQ8q8uVS env 667440853/.github/workflows GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state REDACTED.test GOINSECURE GOMOD GOMODCACHE REDACTED.test 7073�� -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name 34602531/001' 34602531/001' x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name .js' --ignore-paGOINSECURE --jq tions/setup/js/nGOMODCACHE user.name Test User /usr/bin/git sh tion�� git status --porGOINSECURE on ules/.bin/node ignore erignore /usr/bin/git sh (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch se 7313223/b105/vet.cfg x_amd64/link GOINSECURE GOMOD GOMODCACHE x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch -mindepth 1 ache/go/1.25.8/x64/bin/go 1 -regex .*[0-9]\.[0-9] go env -json GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuupstream (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan marked this pull request as ready for review May 17, 2026 20:41
Copilot AI review requested due to automatic review settings May 17, 2026 20:41
Copilot AI changed the title [WIP] Fix case-sensitive isNotFoundError in outcome_eval_comment.go Consolidate CLI not-found detection and fix lowercase “not found” miss May 17, 2026
Copilot AI requested a review from gh-aw-bot May 17, 2026 20:41
@pelikhan pelikhan merged commit 7dacb99 into main May 17, 2026
2 checks passed
@pelikhan pelikhan deleted the copilot/fix-case-sensitive-not-found-error branch May 17, 2026 20:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes “not found” detection in CLI code paths by replacing ad-hoc case-sensitive string checks with the shared errorutil.IsNotFoundError helper, and extends errorutil test coverage for additional not-found message forms.

Changes:

  • Add a wrapped-error test case for errorutil.IsNotFoundError (lowercase “not found”).
  • Update workflow logs download handling to classify “not found” based on both the Go error and raw gh output via errorutil.IsNotFoundError.
  • Update audit workflow run metadata fetching to classify “not found” based on gh combined output via errorutil.IsNotFoundError.
Show a summary per file
File Description
pkg/errorutil/errors_test.go Adds a wrapped “not found” test case to validate classification behavior.
pkg/cli/logs_download.go Uses errorutil.IsNotFoundError on raw CLI output to handle lowercase “not found” cases consistently.
pkg/cli/audit.go Replaces inline output string checks with errorutil.IsNotFoundError for run-metadata not-found detection.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 3

Comment thread pkg/cli/audit.go
Comment on lines 1058 to 1062
outputStr := string(output)
if errorutil.IsNotFoundError(err) ||
strings.Contains(outputStr, "Not Found") ||
strings.Contains(outputStr, "404") ||
strings.Contains(outputStr, "not found") ||
errorutil.IsNotFoundError(errors.New(outputStr)) ||
strings.Contains(outputStr, "Could not resolve") {
return WorkflowRun{}, fmt.Errorf("workflow run %d not found. Please verify the run ID is correct and that you have access to the repository", runID)
Comment thread pkg/cli/audit.go
Comment on lines 1054 to 1063
// Provide a human-readable error when the run ID doesn't exist.
// The gh CLI may surface the 404 in the Go error (checked via errorutil.IsNotFoundError)
// or in its combined stdout/stderr output (checked below) depending on the CLI version.
// "Could not resolve" catches DNS failures from git clone fallbacks.
outputStr := string(output)
if errorutil.IsNotFoundError(err) ||
strings.Contains(outputStr, "Not Found") ||
strings.Contains(outputStr, "404") ||
strings.Contains(outputStr, "not found") ||
errorutil.IsNotFoundError(errors.New(outputStr)) ||
strings.Contains(outputStr, "Could not resolve") {
return WorkflowRun{}, fmt.Errorf("workflow run %d not found. Please verify the run ID is correct and that you have access to the repository", runID)
}
Comment thread pkg/cli/logs_download.go
Comment on lines 317 to 321
// Check both the Go error (via errorutil.IsNotFoundError) and the raw CLI output,
// as the gh CLI may write "not found" to stdout without reflecting it in the error.
// Also treat HTTP 410 Gone as non-critical (logs may be expired).
if errorutil.IsNotFoundError(err) || strings.Contains(string(output), "not found") || strings.Contains(err.Error(), "410") {
if errorutil.IsNotFoundError(err) || errorutil.IsNotFoundError(errors.New(string(output))) || strings.Contains(err.Error(), "410") {
if verbose {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Fix silent bug: case-sensitive isNotFoundError at outcome_eval_comment.go:34 misses lowercase "not found"

4 participants