Skip to content

[testify-expert] Standardize pkg/stringutil tests on testify assertions#32468

Merged
pelikhan merged 2 commits into
mainfrom
copilot/testify-expert-improve-test-quality-another-one
May 15, 2026
Merged

[testify-expert] Standardize pkg/stringutil tests on testify assertions#32468
pelikhan merged 2 commits into
mainfrom
copilot/testify-expert-improve-test-quality-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

pkg/stringutil/stringutil_test.go covered the exported API well but still used plain t.Error* patterns. This PR aligns the file with repository testing standards by moving to testify assertions and consolidating redundant truncate edge-case tests.

  • Assertion style migration

    • Replaced all t.Errorf / t.Error checks with assert.Equal and assert.Contains.
    • Added github.com/stretchr/testify/assert import.
    • Updated assertion messages to include intent and input context.
  • Truncate test consolidation

    • Folded TestTruncate_Zero, TestTruncate_ExactlyThreeChars, and TestTruncate_FourChars into the main table-driven TestTruncate.
    • Removed now-redundant standalone test functions.
  • Content-preservation checks

    • Updated TestNormalizeWhitespace_PreservesContent to use assert.Contains directly instead of strings.Contains + manual failure logic.

Example of the new assertion pattern:

result := NormalizeWhitespace(content)
assert.Contains(t, result, "middle  spaces", "NormalizeWhitespace should preserve non-trailing spaces inside lines")
assert.Contains(t, result, "middle\t\ttabs", "NormalizeWhitespace should preserve non-trailing tabs inside lines")

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 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 repo view --json owner,name --jq .owner.login + "/" + .name 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin (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/linu/home/REDACTED/work/gh-aw/gh-aw/pkg/stats/spec_test.go (http block)
  • https://api.github.com/orgs/owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/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/owner/actions/secrets --jq .secrets[].name ithub-script/git/ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet bject.type] | @tsv -json GO111MODULE 64/pkg/tool/linu--noprofile infocmp -1 js/**/*.json' --ignore-path ../../../.prettierignore c3a82dc0f7bcc1eb1ca779b2..HEAD sv se 6956422/b396/vetapi 64/pkg/tool/linu/repos/actions/github-script/git/ref/tags/v9 infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name /ref/tags/v9 infocmp sv efaultBranchFrom/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile efaultBranchFrom-o 1/x64/bin/node gh /pre�� json' --ignore-p-p --jq sv ithub/workflows/git on ache/go/1.25.8/x/tmp/gh-aw-test-runs/20260515-204748-46010/test-source-field-variant-3183768612/.github/workflows infocmp (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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1646956422/b509/importcfg -pack 2jT6uYL2fba8 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 nore --log-level--ignore-path bg9oPhCYT65zxsAe../../../.prettierignore bject.type] | @tsv ace-editor.md t.go 1/x64/bin/node infocmp -1 js/**/*.json' --ignore-path ../../../.prettierignore ache/go/1.25.8/x64/pkg/tool/linuother x_amd64/link vaScript33262628git 6956422/b415/vetconfig (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name ithub-script/git/ref/tags/v9 --jq (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/artifacts-summary.md /tmp/go-build1646956422/b369/vet.cfg ache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go 6956422/b516/importcfg t-10�� sistency_GoAndJavaScript3326262860/001/test-inlined-imports-enabled-with-body-content.md k/gh-aw/gh-aw/pkg/repoutil/repoutil_test.go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -p main -lang=go1.25 /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv mplied scripts/**/*.js ache/node/24.14.1/x64/bin/node .prettierignore set bject.type] | @txterm-color bash t-29�� k/gh-aw/gh-aw/.github/workflows/architecture-guardian.md git /usr/bin/infocmp ithub-script/gitinfocmp test@example.com-1 bject.type] | @txterm-color infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv FieldEnforcement548031046/001 '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmaster_branch-ifaceassert (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 4357-26359/test-1724215475/.gith.github/workflows/test.md GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet -ato�� g/semverutil/semverutil.go g/semverutil/semverutil_test.go e/git url -ifaceassert -nilfunc e/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq ache/node/24.14.1/x64/bin/bash --get r /usr/bin/git sh -c 4614-36382/test-1677341732/.gith.github/workflows/test.md git /home/REDACTED/work/gh-aw/gh-aw/actions/setup/node_modules/.bin/no-nilfunc kflowFiles_WithSgh test@example.comrepo /opt/hostedtoolcview node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --noprofile git 1/x64/bin/node ./../.prettierigsh l erignore sh t-ha�� ithub/workflows/artifacts-summary.md git (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 -json GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE bl/es83SkSH2yExAconfig env -json GO111MODULE 6956422/b070/gh-aw.test GOINSECURE GOMOD GOMODCACHE 6956422/b070/gh-aw.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv /tmp/go-build1646956422/b482/_pkg_.a -trimpath o.git -p main -lang=go1.25 go list�� -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFilefetch /usr/bin/git go1.25.8 -c=4 -nolocalimports git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9.0.0go1.25.8 --jq /usr/bin/git -json GO111MODULE x_amd64/vet git init�� GOMODCACHE resolved$ /usr/bin/git -json GO111MODULE x_amd64/vet 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 eutil.go eutil_test.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu--all (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv se 6956422/b254/vet.cfg 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuowner/host-repo (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE ache/go/1.25.8/x64/pkg/tool/linu-nolocalimports GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xtest-owner/test-repo-26359 -uns�� -unreachable=false /tmp/go-build1646956422/b044/vet.cfg 1/x64/bin/node GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xremote.origin.url (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 ithub-script/git/ref/tags/v9.0.0go1.25.8 -trimpath bject.type] | @tsv -p main -lang=go1.25 gh work�� list --json /usr/bin/git --repo owner/repo -importcfg git (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 go 6956422/b546/vet.cfg -json GO111MODULE 64/bin/go git -C s/test.md remote /opt/hostedtoolcache/node/24.14.1/x64/bin/node -json GO111MODULE x_amd64/vet node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 -buildtags sv -errorsas -ifaceassert -nilfunc git ls-r�� --symref origin (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 -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 /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -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)
  • 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 a944yTcHBncs 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 QMlkECJ4SArB 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 /ref/tags/v9 '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmain_branch3.owner.login + "/" + .name sv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 4614-36382/test-1409939818 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 4748-46010/test-2908159174 git e/git /ref/tags/v4 origin 1/x64/bin/node e/git -c mplied ker/docker-init 8905779/b525/vet.cfg ignore-path ../.gh set /usr/bin/git node (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 6956422/b458/embedcfg GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x-test.v=true -o CompiledOutput12-test.timeout=10m0s -trimpath es.test -p github.com/githu-1 -lang=go1.25 es.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv t0 /tmp/go-build1646956422/b216/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv runs/20260515-204357-26359/test-3978852236 -buildtags /usr/bin/git l -ifaceassert -nilfunc 6956422/b522/importcfg clon�� -aw/git/ref/tags/v2.0.0 k/gh-aw/gh-aw/pkg/sliceutil/sliceutil_test.go ache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go ache/node/24.14.1/x64/bin/node (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 se 6956422/b219/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xowner/repo (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv se 6956422/b289/vet.cfg 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xowner/test-repo t-ha�� vaScript3326262860/001/test-simple-frontmatter.md /tmp/go-build1646956422/b036/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/x64/pkg/tool/linu-trimpath (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ai-moderator.md 6956422/b301/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xowner/test-repo (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 GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xowner/test-repo t-ha�� vaScript3326262860/001/test-simple-frontmatter.m-errorsas /tmp/go-build1646956422/b010/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 1070817806/.github/workflows ache/node/24.14.1/x64/bin/node k/gh-aw/node_modules/.bin/sh /ref/tags/v9 remote.upstream.run sv erignore -1 DefaultBranchFro--workflow DefaultBranchFrononexistent-workflow-test-12345 ache/go/1.25.8/x--limit s-in-body.md epo}/actions/runREDACTED sv ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv xterm-color /opt/hostedtoolcache/node/24.14.--jq k rkflow/js/**/*.jgh infocmp erignore bash sRem�� --noprofile gh .cfg ./../.prettieriginfocmp --jq sv erignore (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/20260515-204357-26359/test-1966484276 show o.git url GO111MODULE 64/bin/go git 6956�� -aw/git/ref/tags/v3.0.0 6956422/b526/_testmain.go ache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go ache/node/24.14./tmp/gh-aw/aw-master.patch (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 -test.paniconexit0 url /usr/bin/git -test.timeout=10node -test.run=^Test -test.short=trueinstall git comm�� -m initial commit /opt/hostedtoolcache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go node (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 ue.number 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 /tmp/gh-aw-test-runs/20260515-204357-26359/test-source-field-variant-901812136 show .git -json GO111MODULE 64/bin/go git t-22�� k/gh-aw/gh-aw/.github/workflows/ai-moderator.md origin e/git -json GO111MODULE 64/bin/go e/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv licyTrustedUsersRequiresMinIntegrity2142840845/001 gh /opt/hostedtoolcache/node/24.14.1/x64/bin/node url owner/repo bject.type] | @t-t node /tmp�� runs/20260515-20-nxv infocmp /usr/bin/infocmp ithub-script/git/usr/lib/git-core/git 64/pkg/tool/linumaintenance cal/bin/node infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv licyBlockedUsersApprovalLabelsCompiledOutput1238181688/001 -trimpath ache/node/24.14.1/x64/bin/node -p main -lang=go1.25 ache/node/24.14.--package-lock-only 4318�� 'value' || secrets.TOKEN -goversion repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -c=4 -nolocalimports -importcfg /usr/bin/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 /home/REDACTED/work/gh-aw/gh-aw show (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv licyTrustedUsersExpressionCompiledOutput3920243511/001 gh /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet ithub-script/gitiptables owner/test-repo (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv licyBlockedUsersApprovalLabelsCompiledOutput1238181688/001 -trimpath /opt/hostedtoolcache/node/24.14.1/x64/bin/node url main -lang=go1.25 node /tmp�� 4748-46010/test-slug-upstream-paremote.upstream.url -goversion /usr/bin/infocmp l -nolocalimports -importcfg infocmp (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 ry=1 /tmp/go-build1646956422/b233/vetnonexistent-workflow-test-12345 r: $owner, name: $name) { hasDiscussionsEnabled } } /tmp/go-build187infocmp -trimpath 64/bin/go /opt/hostedtoolcache/go/1.25.8/xremote.origin.url t-ha�� ithub/workflows/archie.md -buildtags ache/node/24.14.1/x64/bin/node l -ifaceassert -nilfunc /opt/hostedtoolc--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 /ref/tags/v9 git sv /ref/tags/v9 remote2 sv -aw" fi echo "$GH_AW_DOCKER_HOST--jq estP�� "prettier" --write 'scripts/**/*.js' --ignore-path .prettierignore --log-level=error tname) 8651965/b515/vet.cfg tierignore ^remote\..*\.gh--1 bject.type] | @txterm-color node (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 /ref/tags/v9 git sv image:v1.0.0 upstream /usr/bin/git e/git estP�� npx prettier --check '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.pr**/*.json tname) 8905779/b512/vet.cfg ignore-path ../.gh x_amd64/vet /usr/bin/infocmp/repos/actions/github-script/git/ref/tags/v9 sh (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 -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuupstream t-ha�� vaScript3326262860/001/test-frontmatter-with-env-p -buildtags 6956422/b312/vet.cfg -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/xremote.origin.url (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 te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore --jq tartedAt,updatedAt,event,headBranch,headSha,displayTitle --get remote.upstream.api /opt/hostedtoolc--paginate gh ache�� /repos/actions/g.artifacts[].name --jq .cfg rkflow/js/**/*.jgit x_amd64/vet erignore bash (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 vaScript264019475/001/test-complex-frontmatter-with-tools.md gh 1/x64/bin/node /repos/actions/ggh --jq (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 -json GO111MODULE 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 GOMOD GOMODCACHE ache/go/1.25.8/xconfig (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 4614-36382/test-add-source-path-642554769/.github/workflows infocmp e_modules/.bin/node /ref/tags/v9 l sv infocmp ache�� xterm-color git 1/x64/bin/node rkflow/js/**/*.jgh config erignore 1/x64/bin/node (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 4748-46010/test-source-field-variant-3183768612/.github/workflows git 1/x64/bin/node /tmp/gh-aw-test-gh config /usr/bin/git ortcfg -has�� ring3761137292/001/test1.md git ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /ref/tags/v9 l sv ache/go/1.25.8/x--json (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-08 GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url env -json .cfg 64/pkg/tool/linu-nolocalimports GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu/tmp/go-build1646956422/b544/_testmain.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 --limit 100 --created >=2026-04-15 GOMOD GOMODCACHE eI/k0z20A-7DqmK2PJKxnoz/iIle3WUJRWaUg3ONXCNd env -json .cfg 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-14 GOMOD GOMODCACHE 64/pkg/tool/linutest@example.com env 24195876/.github/workflows itmain_branch3962906723/002/work 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet (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 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env 4111253541/.github/workflows GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuTest User (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE Oq/lR17yz83lXghDremote.origin.url estl�� se .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 --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name --jq p/bin/bash son remote bject.type] | @tget-url gh api edOutput3920243511/001 --jq 64/pkg/tool/linux_amd64/vet /tmp/TestHashStagit l /usr/bin/git 64/pkg/tool/linutest@example.com (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 itmain_branch3962906723/002/work 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env -json GO111MODULE .test GOINSECURE GOMOD GOMODCACHE .test (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 mLsRemoteWithRealGitmain_branch3.owner.login + "/" + .name 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env -json 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/12345/artifacts --jq .artifacts[].name --jq 1/x64/bin/bash k/gh-aw/gh-aw/.ggit 6956422/b529/_teremote /usr/bin/infocmpadd gh api ithout_min-integrity2428596478/001 --jq 1/x64/bin/node W_DOCKER_HOST_PAgit x_amd64/vet mple.com/org/repuser.email gh (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, -c=4 -nolocalimports -importcfg /tmp/go-build4092366119/b001/importcfg -pack /tmp/testenv-2381471888/main.go 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, re --log-level=error nly /node DefaultBranchFro/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/asm DefaultBranchFro-V=full ache/go/1.25.8/x64/pkg/tool/linuecho "Syncing install-gh-aw.sh to actions/setup-cli/install.sh..." infocmp /pre�� /ref/tags/v9 ache/go/1.25.8/xconfig sv ATH="$(find "/tmgit stmain.go ache/go/1.25.8/x/tmp/gh-aw-add-gitattributes-test1156779176/.github/workflows infocmp (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, ath ../../../.pr**/*.json --jq (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 LsRemoteWithRealGitmain_branch3962906723/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin env -json GO111MODULE sole.test GOINSECURE GOMOD GOMODCACHE sole.test (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 .cfg 64/pkg/tool/linu-importcfg GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuAdd workflow 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 gh 64/bin/bash k/gh-aw/gh-aw/.ggit --jq /opt/hostedtoolcache/go/1.25.8/xxterm-color infocmp -1 ithout_min-integrity2428596478/001 /opt/hostedtoolcache/go/1.25.8/x--jq k/gh-aw/gh-aw/actions/node_modules/.bin/sh nore -trimpath /usr/bin/git infocmp (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 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linustatus env 4111253541/.gith.github/workflows/test.md GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE b/gh-aw/tmp GOMODCACHE 64/pkg/tool/linutest@example.com (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.upstream.url estl�� se 6956422/b021/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xTest User (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name --jq rgo/bin/bash son config bject.type] | @tsv gh api 71243007/001 --jq 1/x64/bin/node nore 6956422/b554/_teremote /opt/hostedtoolcadd gh (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 LsRemoteWithRealGitmain_branch3962906723/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linurev-parse env 4111253541/.gith@{u} l_test.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.upstream.url (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name 7D8RXanEmFBss/sXtest@example.com nfig/composer/vendor/bin/bash son config 6956422/b554/_pkxterm-color infocmp -1 xterm-color /opt/hostedtoolcache/go/1.25.8/x--jq h -bool -buildtags om/myorg/repo.giuser.name infocmp (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 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linu.github/workflows/test.md env 2260392143/.github/workflows .cfg x_amd64/compile GOINSECURE b/gh-aw/actions/config GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 LsRemoteWithRealGitcustom_branch256061743/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuother (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name ache/node/24.14.1/x64/bin/node ndor/bin/bash son --jq /usr/bin/gh infocmp -1 edOutput3920243511/001 gh 1/x64/bin/node /repos/actions/ggit --jq /usr/bin/git infocmp (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 .cfg 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 5 --dir test-logs/run-5 LsRemoteWithRealGitmaster_branch1074743679/001' 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet estl�� se .cfg 64/pkg/tool/linux_amd64/link GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name --jq bash son go /opt/hostedtoolcget-url gh api edOutput3920243511/001 --jq 64/pkg/tool/linux_amd64/vet -bool (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 (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 lGitbranch_with_remote.origin.url lGitbranch_with_hyphen408795557/001' 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 6 GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env 1394528184/.github/workflows GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build1646956422/b468/cli.test /tmp/go-build1646956422/b468/cli.test -test.testlogfile=/tmp/go-build1646956422/b468/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)
    • Triggering command: /tmp/go-build3468651965/b468/cli.test /tmp/go-build3468651965/b468/cli.test -test.testlogfile=/tmp/go-build3468651965/b468/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true b/workflows 6956422/b050/vet-c 64/pkg/tool/linu"prettier" --write 'scripts/**/*.js' --ignore-path .prettierignore --log-level=error gh api h ../../../.prettierignore --jq sv {DOCKER_HOST:-}"node 6956422/b227/vet/home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/prettier ache/go/1.25.8/x--write gh (http block)
    • Triggering command: /tmp/go-build1478905779/b468/cli.test /tmp/go-build1478905779/b468/cli.test -test.testlogfile=/tmp/go-build1478905779/b468/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true remote.origin.ursh gh 1/x64/bin/node docker info�� js/**/*.json' --ignore-path ../../../.prettierignore infocmp (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 -e l ache/node/24.14.1/x64/bin/node -- unsafe 64/bin/go gh t-17�� k/gh-aw/gh-aw/.github/workflows/approach-validat-f --jq /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu-f -json 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 runs/20260515-204614-36382/test-1914666589 show t url 64/pkg/tool/linu-1 /usr/bin/infocmpxterm-color git-upload-pack /tmp�� ortcfg.link resolved$ /usr/bin/git ted-objects.md 5DUPa23zhUa2KQB5-1 bject.type] | @txterm-color git (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 -bool -buildtags /usr/lib/git-core/git -errorsas -ifaceassert -nilfunc /usr/lib/git-core/git pack�� ithub-script/git/ref/tags/v9 --revs bject.type] | @tsv --thin --delta-base-off-1 -q infocmp (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 60/001/test-frontmatter-with-nested-objects.md GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuorigin env /001/noflag-a.md GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x^remote\..*\.gh-resolved$ (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 /ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linumyorg sv Onlymin-integritgh GOPROXY ache/go/1.25.8/x/repos/actions/github-script/git/ref/tags/v9 infocmp -1 /ref/tags/v9 ache/go/1.25.8/x--jq sv 4357-26359/test-gh /tmp/go-build164api 1/x64/bin/node node (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 /ref/tags/v9 (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 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/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv 642554769 64/pkg/tool/linu--jq sv g_.a /tmp/go-build164api /opt/hostedtoolc/repos/actions/github-script/git/ref/tags/v9 infocmp -1 /ref/tags/v9 /opt/hostedtoolc--jq sv 70 /tmp/go-build164-C /usr/bin/git infocmp (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 ../pkg/workflow/js/**/*.json' --**/*.ts 1/x64/bin/node 64/bin/gofmt '/tmp/TestParseD/tmp/go-build1478905779/b551/workflow.test '/tmp/TestParseD-test.testlogfile=/tmp/go-build1478905779/b551/testlog.txt ache/node/24.14.-test.paniconexit0 64/bin/gofmt -c on' --ignore-pat-test.timeout=10m0s atted/golang/pkg-test.run=^Test 8d519d9/node_mod-test.short=true (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 GO111MODULE 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 tmatter-with-arrays.md 64/pkg/tool/linu--jq sv ipts.test /tmp/go-build164/tmp/js-hash-test-882200519/test-hash.js ortcfg.link git conf�� /ref/tags/v9 test@example.com ndor/bin/bash runs/20260515-20git -buildtags g_.a infocmp (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 ned-imports-enabled-with-env-template-expressions-in-body.md /opt/hostedtoolc--jq es/.bin/sh /ref/tags/v9 /tmp/go-build164config sv /usr/lib/git-corremote.origin.url main�� ../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore --auto (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 o GO111MODULE 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/v3.0.0 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 e/git sv -unreachable=falinfocmp tname) 1/x64/bin/node /usr/lib/git-core/git main�� /ref/tags/v9 --auto sv --detach -buildtags ache/node/24.14.1/x64/bin/node infocmp (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 /ref/tags/v9 e/git x86_64/node 4614-36382/aw-magit --write 8651965/b480/vet/tmp/TestGuardPolicyMinIntegrityOnlymin-integrity_only_defaults_repo3312153796/001 cut ode_�� --log-level=erroremote.origin.url sh n-dir/sh runs/20260515-20git docker-buildx /opt/hostedtoolc/tmp/gh-aw-test-runs/20260515-204748-46010/test-772509606/.github/workflows infocmp (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 env -json GO111MODULE x_amd64/asm GOINSECURE GOMOD GOMODCACHE x_amd64/asm 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 gh ache�� re --log-level=error nly sv -json GO111MODULE ache/go/1.25.8/x--noprofile gh /pre�� /repos/actions/github-script/git/ref/tags/v9 --jq _modules/.bin/sh Onlymin-integritnode /tmp/go-build164/tmp/js-hash-test-4290837899/test-hash.js 64/pkg/tool/linu/tmp/TestHashConsistency_GoAndJavaScript1983653760/001/test-inlined-imports-enabled-with-env-template-expressions-in-body.md gh (http block)
    • Triggering command: /usr/bin/gh gh api repos/github/gh-aw/issues/17 infocmp -1 ath ../../../.pr**/*.json infocmp sv xterm-color git 1/x64/bin/node infocmp -1 re git sv ithub/workflows/git git (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 bility_SameInputSameOutput2059210350/001/stability-test.md show 6956422/b523/_pkg_.a -json GO111MODULE 64/bin/go git-receive-pack--package-lock-only /tmp�� /ref/tags/v9.0.0 go sv -json GO111MODULE 64/bin/go node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv licyTrustedUsersCompiledOutput3371243007/001 gh /opt/hostedtoolcache/node/24.14.1/x64/bin/node ignore-path ../.iptables test-owner/test--w (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv licyMinIntegrityOnlyrepos_only_without_min-integrity2459931632/001 -trimpath /opt/hostedtoolcache/node/24.14.1/x64/bin/node -p main -lang=go1.25 node /tmp�� /tmp/TestHashConsistency_GoAndJabase (original) url (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 edOutput32673231remote.upstream.url GO111MODULE $name) { hasDiscussionsEnabled } } GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/asm env subD/bQPlEoOrI_1GPH9ysubD GO111MODULE .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xremote.upstream.url (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv her-one --jq (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' --ignore-p-p --jq me: String!) { -lang=go1.25 --exclude-standagit on repository(owneuser.email infocmp -1 th .prettierigno-c=4 1/x64/bin/node _modules/.bin/no-importcfg run format:cjs /opt/hostedtoolc/tmp/TestHashConsistency_WithImports1127794509/001/main.md bash (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/linuupstream estl�� -json .cfg .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion /ref/tags/v9 go sv gh ache�� 4614-36382/test-source-field-variant-645578475 --jq ow.lock.yml /tmp/TestHashCongh x_amd64/vet /usr/bin/git erignore (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion github.repositorgit gh /usr/bin/infocmpuser.email gh ache�� 4748-46010/test-source-field-variant-3982349453/--detach --jq 1/x64/bin/node rkflow/js/**/*.jinfocmp l erignore bash (http block)
  • https://api.github.com/repos/org/repo/pulls/1
    • Triggering command: /usr/bin/gh gh api repos/org/repo/pulls/1 go env -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 repos/org/repo/pulls/1 gh ache�� re --log-level=error nly sv api-consumption-bash sRemoteWithRealG--norc .cfg gh /pre�� /repos/actions/github-script/git/ref/tags/v9 --jq (http block)
    • Triggering command: /usr/bin/gh gh api repos/org/repo/pulls/1 gh api /repos/actions/g--ignore-path --jq node /repos/actions/ggo --jq .cfg gh api re --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 CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImpor 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 /repos/owner/repo/actions/secrets --jq .secrets[].name /ref/tags/v9 --jq sv se 6956422/b276/vet--norc ache/go/1.25.8/x--noprofile gh api js/**/*.json' --ignore-path ../../../.prettierignore --jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name /repos/actions/github-script/git/ref/tags/v9 --jq de te 'scripts/**/*/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile --jq .cfg gh /pre�� json' --ignore-p-p (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 x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo -importcfg /tmp/go-build2976462669/b001/importcfg -pack /tmp/testenv-1107129203/main.go go 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 64/pkg/tool/linuInitial commit env 3665249810/.github/workflows l_test.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_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 -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 /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name /ref/tags/v9 --jq sv verutil.test 6956422/b214/vet--norc ser.test gh api js/**/*.json' --ignore-path ../../../.prettierignore --jq x_amd64/compile se stmain.go g_.a x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name 47747395/001' 47747395/001' sv SameOutput213301/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile git e_modules/.bin/n/tmp/go-build2549670596/b489/_pkg_.a gh /pre�� json' --ignore-p-p --jq sv 4614-36382/test-node on ache/go/1.25.8/x/tmp/TestHashConsistency_GoAndJavaScript264019475/001/test-complex-frontmatter-with-tools.md infocmp (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch mpiledOutput1641774798/001 .cfg .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-extld=gcc env 01/test1.md GO111MODULE sv GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xsh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore --jq ache/node/24.14.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node/repos/actions/github-script/git/ref/tags/v9 xterm-color x_amd64/vet /usr/bin/git gh ache�� /repos/actions/github-script/git/ref/tags/v9 --jq kflow.test rkflow/js/**/*.jdocker resolved$ erignore kflow.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch epository _helpers_test.go sv --get remote.upstream.-1 /usr/bin/git /opt/hostedtoolcache/go/1.25.8/x--jq k/gh�� -w pkg/workflow/safe_outputs_max_validation_test.go ache/go/1.25.8/x64/bin/go pkg/workflow/safgh pkg/workflow/safapi erignore sh (http block)

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

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/8a364baf-6389-417d-a138-83f3e9d74f5f

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve test quality in stringutil_test.go [testify-expert] Standardize pkg/stringutil tests on testify assertions May 15, 2026
Copilot AI requested a review from gh-aw-bot May 15, 2026 20:50
@pelikhan pelikhan marked this pull request as ready for review May 15, 2026 21:38
Copilot AI review requested due to automatic review settings May 15, 2026 21:38
@pelikhan pelikhan merged commit dfffce3 into main May 15, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/testify-expert-improve-test-quality-another-one branch May 15, 2026 21:38
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 pkg/stringutil/stringutil_test.go on testify/assert by replacing manual t.Error* assertions with assert.Equal / assert.Contains, and consolidating several Truncate edge-case tests into the main table-driven test.

Changes:

  • Migrated existing test assertions from t.Errorf / t.Error to testify/assert.
  • Consolidated standalone Truncate edge-case tests into TestTruncate’s table cases.
  • Simplified content-preservation checks in TestNormalizeWhitespace_PreservesContent using assert.Contains.
Show a summary per file
File Description
pkg/stringutil/stringutil_test.go Migrates tests to testify/assert and consolidates Truncate edge-case coverage into the table-driven test.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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.

[testify-expert] Improve Test Quality: pkg/stringutil/stringutil_test.go

4 participants