Skip to content

refactor: eliminate duplicate utilities and trivial alias functions#30053

Merged
pelikhan merged 2 commits intomainfrom
copilot/refactor-semantic-function-clustering-another-one
May 4, 2026
Merged

refactor: eliminate duplicate utilities and trivial alias functions#30053
pelikhan merged 2 commits intomainfrom
copilot/refactor-semantic-function-clustering-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

Three dead-code / duplication issues identified by semantic function clustering analysis: an exact reimplementation of an existing generic utility, two near-duplicate error-handling blocks, and a zero-value alias function.

Changes

  • compiler_pre_activation_job.go — Replace local dedupeStringSlice (exact duplicate of sliceutil.Deduplicate[string]) with sliceutil.Deduplicate; delete the local function.

  • compile_external_tools.go — Extract handleBatchToolError(toolName, err, strict, verbose) from the ~90% identical bodies of runBatchLockFileTool and runBatchDirectoryTool:

    func handleBatchToolError(toolName string, err error, strict, verbose bool) error {
        if err == nil { return nil }
        if strict { return fmt.Errorf("%s failed: %w", toolName, err) }
        if verbose { fmt.Fprintln(os.Stderr, console.FormatWarningMessage(...)) }
        return nil
    }
  • known_needs_expressions.go — Remove normalizeOutputNameForEnvVar, which was a single-line passthrough to normalizeJobNameForEnvVar with no semantic difference; inline all three call sites with normalizeJobNameForEnvVar directly. Remove the corresponding duplicate test.

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 /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw GOMOD GOMODCACHE ache/go/1.25.8/xtest@example.com ortc�� 1477872/b137/_pkg_.a rg/x/mod@v0.35.0/semver/semver.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw /gc GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url sRem�� agent-performance-analyzer.md dkMm/LlJsX1usVuCqeA3GdkMm 1/x64/bin/node GOINSECURE fips140/bigmod GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw 1477872/b012/ GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile ortc�� 1477872/b091/_pkg_.a rg/x/text@v0.36.0/internal/catmsg/catmsg.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE (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 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • 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 h ../../../.pret--format=%H:%ct GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 /ref/tags/v9 /opt/hostedtoolc--jq sv runs/20260504-04git -trimpath /usr/bin/git git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv user.email l /usr/lib/git-cor/repos/actions/github-script/git/ref/tags/v9 git (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 sh sv npx prettier --cgit GOPROXY /usr/local/.ghcu--show-toplevel git rev-�� ithub-script/git/ref/tags/v9 sh bject.type] | @tsv /ref/tags/v9 go sv git (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 --show-toplevel x_amd64/compile /usr/bin/gh from .github/aw infocmp GO111MODULE 64/pkg/tool/linuxterm-color gh api /ref/tags/v9 --jq sv m/workflows GO111MODULE 64/pkg/tool/linu--show-toplevel infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv GOMODCACHE go /usr/bin/git th .prettierignoinfocmp GO111MODULE 64/bin/go git rev-�� /ref/tags/v9 go sv 56/001/test-frongit GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 git bject.type] | @tsv /tmp/TestGuardPogit config /tmp/go-build302--show-toplevel git rev-�� --show-toplevel /tmp/go-build3020287457/b456/tim--jq /usr/bin/gh runs/20260504-04gh -test.v=true (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git ons-test41310518git config ow-with-reaction--show-toplevel git rev-�� --show-toplevel git /usr/bin/git 162495/001 rev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel l /usr/bin/git git rev-�� /ref/tags/v9 git sv /tmp/TestGuardPogh remote /usr/bin/git gh (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 vaScript225097824/001/test-frontmatter-with-env-template-expressions.md GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE osh-tekuri/jsonsrev-parse GOMODCACHE 64/pkg/tool/linux_amd64/vet 1477�� 0287457/b430/_pkg_.a pkg/mod/golang.org/x/sys@v0.43.0/cpu/byteorder.go 64/pkg/tool/linux_amd64/link -I b/gh-aw/pkg/parsconfig -I 64/pkg/tool/linu^remote\..*\.gh-resolved$ (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 /usr/lib/git-core/git bject.type] | @tsv --objects --stdin /usr/bin/git git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/infocmp --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git infocmp -1 xterm-color git /usr/bin/git --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/infocmp--show-toplevel git (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 bility_SameInputSameOutput1798407773/001/stability-test.md -dwarf=false 0287457/b444/_pkg_.a go1.25.8 -c=4 -nolocalimports /bin/sh -c git-receive-pack '/tmp/TestParse.artifacts[].name git-receive-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch449875561/001' /usr/bin/infocmp -json GO111MODULE 64/bin/go infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/gh-aw-test-runs/20260504-040223-38163/test-1630131368/.github/workflows l ache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go ache/node/24.14.1/x64/bin/node 5015�� ub.actor go /usr/bin/git -json GO111MODULE x_amd64/asm git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 -trimpath sv -p github.com/githurev-parse -lang=go1.25 git rev-�� --show-toplevel -goversion /usr/bin/git -c=4 -nolocalimports -importcfg git (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 /ref/tags/v9 git sv --get remote.origin.urrev-parse /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/gh /repos/github/ghgit git /usr/bin/git gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv xterm-color git /usr/bin/git --show-toplevel go /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh ub/gh-aw.git go ng.md gh (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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1591477872/b233/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/yosida95/uritemplate/v3@v3.0.2/compile.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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1591477872/b140/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/modelcontextprotocol/go-sdk@v1.5.0/auth/auth.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 -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 -goversion go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1591477872/b215/importcfg -pack 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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1591477872/b235/importcfg -embedcfg /tmp/go-build1591477872/b235/embedcfg 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 vScxDEKLGHSa env -json GO111MODULE 9f2416daf21c8e95-d GOINSECURE GOMOD GOMODCACHE go (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/infocmp 0287457/b423/_pkinfocmp oXnN/-5aZqfwMX4H-1 e/git infocmp -1 xterm-color e/git /usr/bin/git ithub/workflows -trimpath (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel go /usr/bin/infocmp 0417-60612/test-gh GO111MODULE /opt/hostedtoolc/repos/actions/github-script/git/ref/tags/v9 infocmp -1 xterm-color go /usr/bin/git /ref/tags/v9 (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 GOMODCACHE x_amd64/compile /usr/bin/git -json GO111MODULE x_amd64/compile git rev-�� --show-toplevel x_amd64/compile /usr/bin/git -json GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv xterm-color 0287457/b417/envutil.test /usr/bin/gh t0 ro-o/78ByPuFdRyA-1 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 /opt/hostedtoolcache/go/1.25.8/x--jq bject.type] | @tsv v1.0.0 -trimpath /opt/hostedtoolc--show-toplevel git rev-�� /ref/tags/v9 node sv /tmp/TestHashStainfocmp -dwarf=false /usr/bin/git 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 t0 -dwarf=false (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv xterm-color /home/REDACTED/work/gh-aw/gh-aw/pkg/gitutil/gitutil_test.go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -json GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -ato�� k/gh-aw/gh-aw/pkg/cli -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/TestHashConsistency_InlinedImports2345755231/001/inlined-b.md -dwarf=false /usr/bin/git go1.25.8 -c=4 -nolocalimports git init�� /ref/tags/v9 /tmp/go-build3020287457/b450/_testmain.go sv -json GO111MODULE x_amd64/compile git (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 --show-toplevel x_amd64/compile /usr/bin/git iant-3648300763 /color.go x_amd64/compile git rev-�� --show-toplevel x_amd64/compile /usr/bin/git -json GO111MODULE x_amd64/vet git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /tmp/gh-aw-test-runs/20260504-040417-60612/test-3697905819 show (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 --show-toplevel ache/node/24.14.1/x64/bin/node /usr/bin/git uts.version rev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/gh-aw-test-gh config /opt/hostedtoolcstatus 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 --show-toplevel node /usr/bin/git /tmp/TestHashCongit go (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 ACCEPT infocmp /usr/bin/git xterm-color go /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcconfig /usr/bin/gh github.repositoriptables go /usr/bin/git gh (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 --show-toplevel ache/node/24.14.1/x64/bin/node /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel /usr/bin/git /usr/bin/git -v go /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git k/gh-aw/gh-aw/pkinfocmp config /usr/bin/gh git (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 ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel infocmp /usr/bin/git xterm-color l /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/TestGuardPoinfocmp l /opt/hostedtoolcxterm-color git (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/gh t0 sP8T/7wqnwPqkUSIapi (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 xterm-color go /usr/bin/git 0417-60612/test-gh GO111MODULE 1/x64/bin/node git rev-�� --show-toplevel 1/x64/bin/node /usr/bin/git -json GO111MODULE r: $owner, name:xterm-color git (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 -unreachable=false /tmp/go-build3020287457/b113/vet.cfg /usr/bin/git -json 1.5.0/internal/jrev-parse x_amd64/compile git -C /tmp/shared-actions-test4131051840 rev-parse /usr/bin/git -json GO111MODULE x_amd64/compile git (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 --show-toplevel go /usr/bin/git le-frontmatter.mgit GO111MODULE 64/bin/go git conf�� user.name Test User /usr/bin/git -json GO111MODULE 64/bin/go git (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 /home/REDACTED/work/gh-aw/gh-aw/.github/workflows/test-logs/run-3 x_amd64/asm /usr/bin/git -json GO111MODULE x_amd64/compile git rev-�� --show-toplevel x_amd64/compile 0"}} ub/workflows GO111MODULE 64/bin/go git (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 --show-toplevel go /usr/bin/git le-frontmatter.mgit GO111MODULE 64/bin/go git conf�� --get remote.origin.url /usr/bin/git -json GO111MODULE 64/bin/go git (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-04-27 obyte/asn1 GOMODCACHE kHCZuXi/J4zhP2TG-A5u0Eyz7gSA env ions-build/main.go i0dFibft1 b88e29900aa3d91e48684d6d07145b7c-d GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linustatus (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-04 GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 3549847468/.github/workflows GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE clr_wasm.o 64/src/runtime/m--git-dir 64/pkg/tool/linux_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 --limit 100 --created >=2026-02-03 GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 3549847468/.github/workflows GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE obyte GOMODCACHE 64/pkg/tool/linu--jq (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 g/semverutil/semverutil.go 1/x64/bin/node GOINSECURE ntio/asm/base64 1477872/b021/sym--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile t-ha�� vaScript225097824/001/test-simple-frontmatter.md GO111MODULE 1477872/b250=> GOINSECURE b/gh-aw/pkg/actiapi GOMODCACHE /opt/hostedtoolc--jq (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 om/modelcontextprotocol/go-sdk@v1.5.0/oauthex/auth_meta.go 1/x64/bin/node GOINSECURE ntio/asm/ascii 1477872/b036/sym--git-dir ache/go/1.25.8/x64/pkg/tool/linu--auto hash�� vaScript225097824/001/test-front--detach 1477872/b036/importcfg 1477872/b140=> GOINSECURE contextprotocol/api GOMODCACHE /opt/hostedtoolc--jq (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE go env 0417-60612/test-4008924345/.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/linuupstream (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 om/modelcontextprotocol/go-sdk@v1.5.0/internal/mcpgodebug/mcpgodebug.go .cfg GOINSECURE fips140/check GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile env 0223-38163/test-4163167415/.github/workflows wDwi/8TvZlM4P0nfuVfRvwDwi 1/x64/bin/node GOINSECURE contextprotocol/rev-parse GOMODCACHE git (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 dE5S/nPvk3w7LQzW_3ywvdE5S 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile t-ha�� vaScript225097824/001/test-empty-frontmatter.md V7o_/18xeupG6XnJInX8DV7o_ (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name GO111MODULE ache/node/24.14.1/x64/bin/node GOINSECURE GOMOD GOMODCACHE go ache�� -json GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (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, -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/{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, -json GO111MODULE de GOINSECURE GOMOD GOMODCACHE go /pre�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 efaultBranchFromLsRemoteWithRealGitmaster_branch2167044787/001' .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile env 0223-38163/test-4163167415/.github/workflows GO111MODULE les.test GOINSECURE contextprotocol/rev-parse GOMODCACHE les.test (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 om/yosida95/uritemplate/v3@v3.0.2/compile.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a oYmy/n_pwg_VDfKQLamLkoYmy 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuupstream (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name GO111MODULE k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/sh GOINSECURE GOMOD GOMODCACHE go env ck '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE 1/x64/bin/node (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 edcfg 64/pkg/tool/linux_amd64/link GOINSECURE g/x/net/dns/dnsmrev-parse 1477872/b021/sym--show-toplevel 64/pkg/tool/linux_amd64/link env ts.test jfLv/0caWgwAWMGdke8fejfLv 1/x64/bin/node GOINSECURE t/internal/langu-1 GOMODCACHE J1c7b8qkFQ0vAYI106/m1mI9m8ZybBw5VAsfaec/Pi1C9UClmDRmydbNI-g3 (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 om/modelcontextprotocol/go-sdk@v1.5.0/mcp/client-test.run=^Test ceutil.test GOINSECURE ntio/encoding/asrev-parse GOMODCACHE ceutil.test 0202�� 1477872/b002/_pkg_.a GO111MODULE (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE go env ck '**/*.cjs' '**/*.ts' '**/*.json' --ignore-patremote.origin.url GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 DefaultBranchFromLsRemoteWithRealGitcustom_branch449875561/001' ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE light ache/go/1.25.8/x--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile env 1477872/b169/_pkg_.a 28ie/dWadUuI3oiBsYAOo28ie 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolc-f (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 edcfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env 1477872/b249/_pkg_.a GO111MODULE 64/pkg/tool/linux_amd64/link GOINSECURE b/gh-aw/pkg/workrev-parse GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE go env ck '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu--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 in/yaml/v3@v3.0.4/apic.go 1/x64/bin/node GOINSECURE sysrand 1477872/b012/sym--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile t-ha�� vaScript225097824/001/test-complex-frontmatter-with-tools.md REzZ/UVSmm-gThuyfG0BeREzZ 64/pkg/tool/linux_amd64/vet GOINSECURE t/language name, workflowPa--show-toplevel 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 om/modelcontextprotocol/go-sdk@v1.5.0/auth/auth.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE 1477872/b029/emprev-parse ache/go/1.25.8/x--show-toplevel ache/go/1.25.8/x64/pkg/tool/linutest-branch env Onlymin-integrity_with_repos_array_c418103020/00-p 7gve/JS7DQw3o9RuNG8R67gve 64/pkg/tool/linux_amd64/compile GOINSECURE contextprotocol/-1 GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE go env 0417-60612/test--f GO111MODULE ache/go/1.25.8/x-f GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.upstream.url (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 dkMm/LlJsX1usVuCqeA3GdkMm At,event,headBranch,headSha,displayTitle GOINSECURE fips140/bigmod GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile t-ha�� vaScript225097824/001/test-simple-frontmatter.md c9ZF/KtTFKQuDD_Pbt7zDc9ZF tutil.test GOINSECURE v3 GOMODCACHE tutil.test (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 edcfg tartedAt,updatedAt,event,headBranch,headSha,displayTitle GOINSECURE fips140/rsa ache/go/1.25.8/x--show-toplevel ortcfg env g/semverutil/semverutil.go g/semverutil/semverutil_test.go 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu-extld=gcc (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE go env 0417-60612/test-4008924345/.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/linumyorg (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path -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 run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 GOMOD GOMODCACHE Ww7VJguVlRAx env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD ic/asm.s x_amd64/compile (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 ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm env -json gimq/JO2tKXBdToMtOLMlgimq ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE 1477872/b133/ 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-build3020287457/b404/cli.test /tmp/go-build3020287457/b404/cli.test -test.testlogfile=/tmp/go-build3020287457/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true -nolocalimports -importcfg /tmp/go-build1591477872/b200/importcfg -pack env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /tmp/go-build4291130236/b404/cli.test /tmp/go-build4291130236/b404/cli.test -test.testlogfile=/tmp/go-build4291130236/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 --show-toplevel e/git /usr/bin/git --show-toplevel go /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh /home/REDACTED/worgh rev-parse om/org1/repo.git/repos/actions/github-script/git/ref/tags/v9 gh (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 --show-toplevel git /usr/bin/git ons-test15574921git go /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/gh /repos/actions/ggh --jq /usr/bin/git gh (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 -json GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE yLNKNaz/um86pbnuaZfPHtRi8CIm (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 -json GO111MODULE odules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/sh GOINSECURE GOMOD GOMODCACHE go env on' --ignore-patremote.origin.url GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (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 2806291837/.github/workflows GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env adata/main.go GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (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 d-robin' GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env json' --ignore-path ../../../.pr--ignore-path GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 n/codec.go x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env ub/workflows GO111MODULE x_amd64/vet GOINSECURE GOMOD nts.s 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/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env ub/workflows GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (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/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env /workflows GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (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/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE 64/bin/go GOINSECURE GOMOD t0_js_wasm.s go (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 iant-3867236448/--detach GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link /usr/bin/git ErrorFormatting2git -importcfg e/git git rev-�� --show-toplevel e/git /usr/bin/git /tmp/TestHashStagit -extld=gcc /usr/bin/git 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 INVALID,NEW -j DROP /home/REDACTED/worgit go /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh --show-toplevel go /usr/bin/git gh (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 -json GO111MODULE 64/pkg/tool/linux_amd64/asm GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu-buildtags estl�� -json GO111MODULE 64/pkg/tool/linu-nilfunc GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linutest@example.com (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go ode_�� ub/workflows GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (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 (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE go env 0417-60612/test-414732331/.github/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD name, workflowPa-v go (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 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 workflow list --repo owner/repo --json name,path,state 0287457/b419/vet.cfg -I /tmp/go-build159api -I /opt/hostedtoolc--jq -o runs/20260504-040223-38163/test-536061043/.github/workflows -trimpath /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link l net/http/internarev-parse -lang=go1.25 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go /pre�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build3020287457/b438/importcfg -pack /tmp/go-build3020287457/b438/_testmain.go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env orts,XTestImpor GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 0287457/b447/stringutil.test -buildtags 0287457/b447/importcfg.link -errorsas -ifaceassert -nilfunc 3Rik9SPHCtMYQ/vfWSXRyBZ2GEm4H7IUTM/LO7H8yrdtF7RvFVPrIMI/Ghy3DT33--jq conf�� runs/20260504-040223-38163/test-471476234/.github/workflows Test User r: $owner, name: $name) { hasDiscussionsEnabled } } l GO111MODULE 64/bin/go infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch -bool -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git rev-�� k/gh-aw/gh-aw/.github/workflows -tests /usr/bin/git with-tools.md GO111MODULE 64/bin/go git (http block)

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

- Replace `dedupeStringSlice` with `sliceutil.Deduplicate` in
  compiler_pre_activation_job.go and delete the local function
- Extract `handleBatchToolError` shared helper in compile_external_tools.go
  and update runBatchLockFileTool/runBatchDirectoryTool to use it
- Remove `normalizeOutputNameForEnvVar` trivial alias in
  known_needs_expressions.go, inline call sites with normalizeJobNameForEnvVar,
  and remove the now-duplicate test

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/ee8e2a6a-55cd-442b-9ed4-4f005b05426f

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor semantic function clustering analysis for duplicate utilities refactor: eliminate duplicate utilities and trivial alias functions May 4, 2026
Copilot AI requested a review from gh-aw-bot May 4, 2026 04:06
@pelikhan pelikhan marked this pull request as ready for review May 4, 2026 04:08
Copilot AI review requested due to automatic review settings May 4, 2026 04:08
@pelikhan pelikhan merged commit 2e3771c into main May 4, 2026
20 checks passed
@pelikhan pelikhan deleted the copilot/refactor-semantic-function-clustering-another-one branch May 4, 2026 04:08
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

Refactors to remove duplicated helpers and consolidate repeated error-handling logic.

Changes:

  • Replaced a local string-slice deduplication helper with the shared sliceutil.Deduplicate.
  • Extracted common strict/non-strict error handling into handleBatchToolError for external tool runners.
  • Removed a trivial alias normalization helper and its redundant unit test, inlining call sites to the underlying function.
Show a summary per file
File Description
pkg/workflow/compiler_pre_activation_job.go Uses sliceutil.Deduplicate instead of a local duplicate function for on.needs deduplication.
pkg/cli/compile_external_tools.go Centralizes strict/non-strict error handling for batch external tool execution.
pkg/workflow/known_needs_expressions.go Removes normalizeOutputNameForEnvVar alias and uses normalizeJobNameForEnvVar directly at call sites.
pkg/workflow/known_needs_expressions_test.go Removes the redundant unit test for the deleted alias function.

Copilot's findings

Tip

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

  • Files reviewed: 4/4 changed files
  • Comments generated: 2

Comment on lines 45 to +47
activatedEnvVar := fmt.Sprintf("GH_AW_NEEDS_%s_OUTPUTS_%s",
normalizeJobNameForEnvVar(string(constants.PreActivationJobName)),
normalizeOutputNameForEnvVar(constants.ActivatedOutput))
normalizeJobNameForEnvVar(constants.ActivatedOutput))
}

// handleBatchToolError applies uniform strict/non-strict error handling for batch tool results.
// In strict mode, errors are returned wrapped. In non-strict mode, errors are logged as warnings.
@github-actions github-actions Bot mentioned this pull request May 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

🧪 Test Quality Sentinel Report

Test Quality Score: N/A

i️ No new tests to analyze

This PR (refactor: eliminate duplicate utilities and trivial alias functions) modified one test file:

File Additions Deletions
pkg/workflow/known_needs_expressions_test.go 0 19

The test file had 19 lines removed and 0 lines added — the PR deleted tests for functions that were eliminated as part of the refactor. There are no new or modified test functions to analyze for quality.


Verdict

Check passed. No new tests were introduced. The deletion of 19 test lines is consistent with removing the corresponding production functions (refactoring, not net reduction in coverage).


References: §25300535553

🧪 Test quality analysis by Test Quality Sentinel · ● 777.8K ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

✅ Test Quality Sentinel: N/A. No new tests were introduced. The 19 deleted test lines are consistent with removing the corresponding production functions in this refactoring PR.

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.

[refactor] Semantic Function Clustering Analysis: Duplicate Utilities and Misplaced Helpers

4 participants