Skip to content

Apply console.Format helpers to high-traffic CLI stderr output paths#31068

Merged
pelikhan merged 6 commits intomainfrom
copilot/deep-report-apply-console-format-helpers
May 8, 2026
Merged

Apply console.Format helpers to high-traffic CLI stderr output paths#31068
pelikhan merged 6 commits intomainfrom
copilot/deep-report-apply-console-format-helpers

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

This PR scopes the output-consistency cleanup to the three highest-traffic bare stderr call sites identified in pkg/cli. These paths were emitting plain text while adjacent CLI output already used the standard console.Format* layer.

  • Compile error output

    • compileSingleFile now routes per-file compilation failures through console.FormatErrorMessage(...) instead of printing raw error text.
    • This aligns compile failures with the rest of the CLI’s styled error presentation.
  • Watch-mode status output

    • The watch loop’s Watching for file changes line now uses console.FormatProgressMessage(...).
    • This makes the persistent watch status consistent with other in-progress CLI messaging.
  • Interactive engine override output

    • The --engine fast path in add_interactive_engine.go now uses console.FormatInfoMessage(...).
    • This removes the inconsistency where the override path printed plain text while nearby engine-selection messaging was already formatted.
  • Focused regression coverage

    • Added targeted stderr-capture tests for:
      • formatted compile error output
      • formatted watch-mode status output
      • formatted engine-override info output

Example of the change pattern:

// before
fmt.Fprintln(os.Stderr, err.Error())
fmt.Fprintln(os.Stderr, "Watching for file changes")
fmt.Fprintf(os.Stderr, "Using coding agent: %s\n", c.EngineOverride)

// after
fmt.Fprintln(os.Stderr, console.FormatErrorMessage(err.Error()))
fmt.Fprintln(os.Stderr, console.FormatProgressMessage("Watching for file changes"))
fmt.Fprintln(os.Stderr, console.FormatInfoMessage(fmt.Sprintf("Using coding agent: %s", c.EngineOverride)))

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 ache/node/24.14.1/x64/bin/sh -c=4 -nolocalimports -importcfg /opt/hostedtoolcTest User -uns�� efaultBranchFromLsRemoteWithRealGitcustom_branch122913819/001' efaultBranchFromLsRemoteWithRealGitcustom_branch122913819/001' k/gh-aw/node_modules/.bin/node ../pkg/workflow/git (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 (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 -ifaceassert -nilfunc ortcfg ache�� 2252915028/001 -buildtags ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -errorsas -ifaceassert -nilfunc ache/go/1.25.8/xrepos/{owner}/{repo}/actions/runs/12346/artifacts (http block)
  • https://api.github.com/orgs/owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name js/**/*.json' --ignore-path ../../../.prettierignore t-Logs-Url: REDACTED 64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name .js' --ignore-path .prettierigno-errorsas on a329e1dfc9569dee-d /../../.prettier/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile erignore /rg x_amd64/vet tion�� js/**/*.json' ---p /rg 64/pkg/tool/linu-lang=go1.25 ignore (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name --show-toplevel git (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 rd (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name /ref/tags/v9 git sv --show-toplevel 1265648/b478/scr/home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/pre�� /usr/bin/git git rev-�� w/js/**/*.json' --ignore-path git /usr/bin/git --show-toplevel git /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name h ../../../.prettierignore infocmp modules/@npmcli/run-script/lib/node-gyp-bin/sh xterm-color git /usr/bin/git git rev-�� w/js/**/*.json' --ignore-path git (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 --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linutest@example.com /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv --show-toplevel sh /usr/bin/git npx prettier --wgit git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git tructions-test-2gh gh /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv --show-toplevel (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 /ref/tags/v9 x_amd64/vet sv */*.ts' '**/*.jsgh **/*.cjs n-dir/sh git conf�� --get remote.origin.url /usr/bin/git */*.json' '!../.git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv waysRecompiles3445586433/001 myorg /usr/bin/git 2/001 git tnet/tools/git git rev-�� --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 add remote1 (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 "prettier" --write '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore git 1265648/b410/vet.cfg */*.json' '!../.git --get ode_modules/.bin--show-toplevel node /opt�� /v1.2.3 --write 1/x64/bin/node !../../../pkg/woinfocmp --ignore-path ../../../.prettixterm-color 1/x64/bin/node (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/git --show-toplevel l ache/node/24.14.--show-toplevel git rev-�� --show-toplevel ache/node/24.14.1/x64/bin/node /usr/bin/git ub.actor }} -importcfg /usr/bin/git git (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/gh --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git gh api /repos/actions/setup-go/git/ref/tags/v4 --jq /usr/bin/infocmp --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/gh infocmp (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 runs/20260508-175209-16422/test-699485875 test@example.com ache/node/24.14.1/x64/bin/node -c=4 -nolocalimports -importcfg git t-10�� k/gh-aw/gh-aw/.github/workflows/api-consumption-report.md remote.origin.url /opt/hostedtoolcache/node/24.14.1/x64/bin/node ort-apply-consolgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv image:v1.0.0 --jq /tmp/go-build2911265648/b462/timeutil.test mplied (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv waysRecompiles2994589622/001 show /usr/bin/git on' --ignore-patgit .cfg 64/pkg/tool/linu--show-toplevel git remo�� add origin /usr/bin/git ./../pkg/workflogit chore: outline crev-parse x_amd64/link 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 xterm-color git /usr/bin/git /tmp/file-trackegh 64/pkg/tool/linuapi /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git /usr/bin/git git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git (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 js/**/*.json' --ignore-path ../../../.prettierignore (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv '**/*.ts' '**/*.-p ame es/.bin/sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv '**/*.ts' '**/*.json' --ignore-path ../../../.pr**/*.json ame odules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/sh (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 ub/workflows pull.rebase x_amd64/vet (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 te 'scripts/**/*.js' --ignore-pa-errorsas atted/golang/pkg/flatted/flatted-ifaceassert x_amd64/vet (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 tions-lock.json pkg/actionpins/data/action_pins.json; \ cp .github/aw/actions-lock.json pkg/wornode gpg.program 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 --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/link /usr/bin/gh 1265648/b444/seminfocmp stmain.go 1265648/b444/impxterm-color gh api /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git ry=1 1265648/b419/_terev-parse 1/x64/bin/node git (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 ache/go/1.25.8/x64/pkg/tool/linumyorg /usr/bin/git RequiresMinInteggh remote /opt/hostedtoolc/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel node /usr/bin/git prettier --write 1891921/b408/vet--show-toplevel git (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 ache/go/1.25.8/x64/pkg/tool/linuremote2 /usr/bin/gh ithub/workflows/gh config /home/REDACTED/wor/repos/actions/github-script/git/ref/tags/v9 gh api /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git '/tmp/TestParseDgit '/tmp/TestParseDrev-parse 8295487/b418/vet--show-toplevel git (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 env.NODE_VERSION aWTPZmVH_ghz /usr/bin/git ub/workflows .cfg .cfg git -C /tmp/gh-aw-test-runs/20260508-175209-16422/test-3642286674 rev-parse (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 sh /usr/bin/git 0-Pl/Ml6ErEVootUgh git (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 ache/node/24.14.1/x64/bin/node bject.type] | @tsv hub.actor 64/pkg/tool/linurev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/gh-aw-test-infocmp config me: String!) { xterm-color 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 --show-toplevel -goversion o.git -c=4 -nolocalimports -importcfg infocmp -1 xterm-color -pack (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ue.number -test.v=true e/git -test.timeout=10git -test.run=^Test -test.short=true--show-toplevel e/git -o /tmp/go-build2911265648/b465/_pkg_.a -trimpath /usr/bin/git -p main -lang=go1.25 git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 /tmp/go-build2911265648/b113/vet.cfg sv on' --ignore-patgit (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 /home/REDACTED/work/gh-aw/gh-aw/.github/workflows/artifacts-summary.md (http block)
    • 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/asm /usr/bin/git --show-toplevel gh ndor/bin/git git rev-�� --show-toplevel git /usr/bin/git ned-imports-enabgit infocmp n-dir/bash git (http block)
    • 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 e-format-helpersgit git 64/bin/git git init�� /usr/bin/git infocmp /usr/bin/git ithub-script/gitgit git bject.type] | @t--show-toplevel git (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 git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/git /repos/actions/ggh --jq om/owner/repo.gistatus 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 /opt/hostedtoolcache/go/1.25.8/x/tmp/go-build2911265648/b475/_testmain.go /usr/bin/git /tmp/go-build291gh -importcfg /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp --show-toplevel -extld=gcc /usr/bin/git infocmp (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 git /usr/bin/git /tmp/gh-aw-test-git rev-parse /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcache/node/24.14.1/x64/bin/node /usr/bin/git github.actor gh om/owner/repo.gistatus git (http block)
  • https://api.github.com/repos/azure/login/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git k/gh-aw/gh-aw/pkgit rev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh ansitiveImports1infocmp config om/org2/repo2.gixterm-color gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel node /usr/bin/git /home/REDACTED/worgit git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh --show-toplevel git om/other/repo.gixterm-color gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git /tmp/gh-aw-test-git rev-parse /usr/bin/infocmp--show-toplevel git rev-�� --show-toplevel infocmp /usr/bin/gh xterm-color git om/other/repo.gixterm-color gh (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 --show-toplevel ache/node/24.14.1/x64/bin/node /usr/bin/git ub.actor }} -importcfg /usr/bin/git git rev-�� /ref/tags/v9 git sv --show-toplevel -extld=gcc /usr/bin/git gh (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 git /usr/bin/git /tmp/gh-aw-test-git remote /opt/hostedtoolc--show-toplevel git rev-�� /ref/tags/v9 /opt/hostedtoolcache/go/1.25.8/x--jq sv -bool -buildtags /usr/bin/git gh (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 git /usr/bin/git ithub-script/gitgit remote bject.type] | @t--show-toplevel git rev-�� /ref/tags/v9 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu--jq sv -bool -buildtags /usr/bin/git gh (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 --show-toplevel 64/pkg/tool/linutest@example.com /usr/bin/gh g_.a git (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/infocmp bject.type] | @tinfocmp on rkflow/js/**/*.jxterm-color infocmp -1 xterm-color sh (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 --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /usr/bin/infocmp OnlyCompiledOutpinfocmp gh /home/REDACTED/.coxterm-color infocmp -1 xterm-color 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 --get remote.origin.url /usr/bin/unpigz te '../../../**/git -v x_amd64/vet /usr/bin/unpigz -d -c x_amd64/vet /usr/bin/git se 5415064/b041/vetrev-parse 1/x64/lib/node_m--show-toplevel 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 xterm-color developer-action-main/dist/gh-gp**/*.cjs /usr/bin/git json' --ignore-pgit git x86_64/git git conf�� /ref/tags/v9 test@example.com sv th .prettierignogit infocmp rgo/bin/bash 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 xterm-color git /usr/bin/git json' --ignore-pgit git layTitle git conf�� user.name Test User /usr/bin/git th .prettierignogit 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 /ref/tags/v9 (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 -tests /usr/bin/git y-frontmatter.mdgit err messages

Agrev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git ty-test.md infocmp _modules/.bin/no--show-toplevel 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 -tests /usr/bin/infocmp y-frontmatter.mdgit gh bject.type] | @t--show-toplevel infocmp -1 xterm-color infocmp /usr/bin/git th .prettierignogit gh es/.bin/node 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-05-01 --ignore-path ../../../.prettiuser.name ache/go/1.25.8/xTest User -c */*.json' '!../../../pkg/workfloremote.origin.url (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-08 --ignore-path ../../../.pretti--get ache/go/1.25.8/xremote.origin.url -c c_test.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-02-07 --ignore-path run-script/lib/ngithub.actor ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -c */*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path (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 /tmp/go-build3585415064/b176/vet.cfg ortcfg.link nore (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 /tmp/go-build3585415064/b111/vet.cfg nfig/composer/vendor/bin/sh nore ole github.com /opt/hostedtoolcache/go/1.25.8/xrev-parse -ato�� Mz4KX2SHS -buildtags e_modules/.bin/node -errorsas -ifaceassert -nilfunc ortcfg (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name git 1/x64/bin/node --show-toplevel git -linux-x86_64 git t-ha�� vaScript1814613669/001/test-frontmatter-with-arrays.md HEAD 1/x64/bin/node --oneline -10 erignore git (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 /tmp/go-build3585415064/b060/vet.cfg ache/uv/0.11.11/x86_64/node l tdrain ules/.bin/prettier /opt/hostedtoolcache/go/1.25.8/x-importcfg ache�� hub/workflows -buildtags ache/go/1.25.8/x64/bin/node -errorsas -ifaceassert -nilfunc ortcfg (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 /tmp/go-build3585415064/b093/vet.cfg x_amd64/link nore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name git kflow.lock.yml nore git sv bash --no�� te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore sed k/gh-aw/gh-aw/node_modules/.bin/node /usr/lib/git-corgit git /usr/bin/gh git (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, re --log-level=e!../../../pkg/workflow/js/**/*.json (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, h918969801/001' h918969801/001' /node ithub-script/git/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/cgo git bject.type] | @tsv git rev-�� /compile_file_operations.go git 1/x64/bin/git ithub-script/gitgit gh bject.type] | @t/tmp/gh-aw-add-gitattributes-test3256415142/.github/workflows git (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, h ../../../.prettierignore git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git (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 /tmp/go-build3585415064/b043/vet-nolocalimports cal/bin/node re onpins ules/.bin/node /opt/hostedtoolcache/go/1.25.8/x/home/REDACTED/work/gh-aw/gh-aw/pkg/sliceutil/sliceutil_test.go ache�� hub/workflows -buildtags ache/node/24.14.1/x64/bin/node -errorsas -ifaceassert -nilfunc ortcfg (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 /tmp/go-build3585415064/b103/vet.cfg x_amd64/compile nore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name git cal/bin/sh nore git (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 /tmp/go-build3585415064/b164/vet.cfg k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin-nilfunc nore (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 /tmp/go-build3585415064/b004/vet.cfg rgo/bin/sh nore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name -v k/gh-aw/node_modules/.bin/node --show-toplevel git /usr/bin/tr git k/gh�� --name-only HEAD es/.bin/sh [:lower:] git erignore /home/REDACTED/work/_temp/copilot-developer-action-main/autofind/atest@example.com (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 -buildtags k/gh-aw/gh-aw/node_modules/.bin/sh nore -ifaceassert -nilfunc N_/MhA652aEkSuR8--json -ato�� te '**/*.cjs' '*--limit -buildtags .cfg -errorsas -ifaceassert -nilfunc /opt/hostedtoolctest@example.com (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name git k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/node /ref/tags/v9 git sv git k/gh�� --name-only HEAD 1/x64/bin/node "warnings":[]}] git erignore git (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 -buildtags k/gh-aw/gh-aw/actions/node_modules/.bin/sh nore -ifaceassert -nilfunc /opt/hostedtoolc^remote\..*\.gh-resolved$ -ato�� te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore -buildtags .cfg -errorsas -ifaceassert -nilfunc /opt/hostedtoolcTest User (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 /tmp/go-build3585415064/b050/vet.cfg p/bin/sh nore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name rsion=a3ebe56-dirty k/gh-aw/gh-aw/actions/setup/node_modules/.bin/node --show-toplevel git /usr/bin/grep git k/gh�� sRemoteWithRealGitbranch_with_hyphen1562247916/001 sRemoteWithRealGitbranch_with_hyphen1562247916/002/work k/gh-aw/node_modules/.bin/sh "type"[[:space:]git git erignore git (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 -buildtags k/gh-aw/node_modules/.bin/sh nore -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuorigin -uns�� 354477761 /tmp/go-build3585415064/b202/vet.cfg .cfg ath ../../../.prgit (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 /tmp/go-build3585415064/b037/vet.cfg ortcfg.link nore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name --ignore-submodules k/gh-aw/gh-aw/actions/node_modules/.bin/node --show-toplevel git /usr/bin/sed git k/gh�� OKEN }} efaultBranchFromLsRemoteWithRealGitbranch_with_hyphen1562247916/001' k/node_modules/.bin/sh s/.*"branch"[[:sgit git erignore git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path -c=4 -nolocalimports -importcfg /tmp/go-build2911265648/b443/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/semverutil/semverutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/semverutil/semverutil_test.go /opt�� js/**/*.json' ---errorsas --write 64/pkg/tool/linu-nilfunc **/*.ts **/*.json --ignore-path 64/pkg/tool/linurev-parse (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 ../../../.pretti-1 (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 (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build2911265648/b405/cli.test /tmp/go-build2911265648/b405/cli.test -test.testlogfile=/tmp/go-build2911265648/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
    • Triggering command: /tmp/go-build3451891921/b405/cli.test /tmp/go-build3451891921/b405/cli.test -test.testlogfile=/tmp/go-build3451891921/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true /repos/actions/gsh --jq /usr/bin/git infocmp -1 ." git /usr/bin/git /ref/tags/v9 gh sv git (http block)
    • Triggering command: /tmp/go-build1998295487/b405/cli.test /tmp/go-build1998295487/b405/cli.test -test.testlogfile=/tmp/go-build1998295487/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true /repos/actions/gsh --jq /usr/bin/git git rev-�� (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 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuowner/repo /usr/bin/git /tmp/go-build291du -trimpath /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/git /repos/github/ghgit --jq /usr/bin/git 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 --show-toplevel e/git /usr/bin/git /tmp/compile-insdu rev-parse /usr/bin/git git rev-�� /ref/tags/v9 git sv --show-toplevel s/1/artifacts /usr/bin/git 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 --show-toplevel git /usr/bin/git --get remote.origin.ur-k (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 DefaultBranchFromLsRemoteWithRealGitbranch_with_hyphen3017217184/001' DefaultBranchFromLsRemoteWithRealGitbranch_with_hyphen3017217184/001' ache/go/1.25.8/x64/bin/go -errorsas r -nilfunc git -C 5209-16422/test-1906836118/.github/workflows config (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 b/workflows git x_amd64/vet --show-toplevel git /usr/bin/gh x_amd64/vet rev-�� /ref/tags/v9 gh h /repos/actions/ggit --jq /usr/bin/git gh (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 ub/workflows H" || true && echo "chain-contin--jq tnet/tools/git xterm-color sh /usr/bin/git git rev-�� source-field-variant-4079883264/.github/workflows git ules/.bin/node --show-toplevel infocmp /usr/bin/infocmp--get git (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 : .head_branch, .cfg 64/pkg/tool/linux_amd64/vet ignore-path ../.git (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 json' --ignore-path ../../../.pr**/*.json git aa0daf88328f1b45-d --show-toplevel git /usr/bin/infocmp-bool .1/x64/codeql/to-buildtags eRFG�� th .prettierigno-errorsas infocmp node .1/x64/codeql/togit git sv git (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 json' --ignore-p--exclude-hidden=receive git /usr/bin/git --show-toplevel git /usr/bin/gh git rev-�� th .prettierignoremote.origin.url gh /usr/bin/git /repos/actions/g/opt/hostedtoolcache/node/24.14.1/x64/bin/node 05451c9c..HEAD /usr/bin/git git (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 -c=4 -nolocalimports -importcfg /tmp/go-build2911265648/b471/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/typeutil/convert.go /home/REDACTED/work/gh-aw/gh-aw/pkg/typeutil/convert_test.go -F ../pkg/workflow/js/**/*.json' ---s -S x86_64/node ./../.prettieriggit 1 /var/log/sysstat--show-toplevel ache/go/1.25.8/x64/pkg/tool/linu-extld=gcc (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 th .prettierignore --log-level=error .cfg es/.bin/node ignore-path ../.git (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 th .prettierignore --log-level=error .cfg 64/pkg/tool/linux_amd64/link ignore-path ../.git (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 th .prettierignore --log-level=e!../../../pkg/workflow/js/**/*.json .cfg ode_modules/.bin/prettier ignore-path ../.git (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 json' --ignore-path ../../../.pr**/*.json git de/node/bin/git --show-toplevel git /usr/bin/infocmp/tmp/gh-aw-test-runs/20260508-175600-29620/test-3818860933/.github/workflows git ules�� b4d59521:pkg/cliremote.origin.url infocmp 64/bin/go xterm-color git /usr/bin/git git (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 json' --ignore-path ../../../.pr**/*.json infocmp bject.type] | @tsv ithub-script/gitnode git bject.type] | @t/home/REDACTED/work/gh-aw/gh-aw/.github/workflows/agent-performance-analyzer.md git ules�� b4d59521:pkg/cli/add_interactive_engine.go gh 64/pkg/tool/linux_amd64/cgo /repos/actions/ggit --jq /usr/bin/infocmp/tmp/gh-aw-test-runs/20260508-175840-42277/test-2428903012 64/pkg/tool/linuremote (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 1265648/b480/importcfg /usr/bin/git k/gh-aw/gh-aw/scgit k/gh-aw/gh-aw/screv-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse /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 --show-toplevel git /usr/bin/git ons-test21799264git config /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/gh-aw-test-git config /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 --show-toplevel git /usr/bin/git ons-test28304281git config /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --get remote.origin.urrev-parse /usr/bin/git git (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 EyqIaASD9 /tmp/go-build3585415064/b284/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm re --log-level=egh r 1/x64/lib/node_mlist ortcfg rev-�� 5209-16422/test---workflow g/repoutil/repounonexistent-workflow-test-12345 ache/go/1.25.8/x--limit js/**/*.json' --git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv ub/workflows gh git /ref/tags/v9 --jq sv git rev-�� ort-apply-console-format-helpers infocmp /usr/bin/git xterm-color infocmp /opt/hostedtoolc--get git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv ../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore gh bject.type] | @tsv /repos/actions/ggit --jq /usr/bin/infocmp--show-toplevel 9BLPCHJ/0dgaOJ1rATzd-aw4hJbk rev-�� ormat:cjs --silent >/dev/null 2>&1 infocmp 5cb2e0f4c81bfe98aa0daf88328f1b45-d /ref/tags/v9 git sv git (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 l_workflow_validgit paign_trigger_teconfig ckout_config_paruser.email ckout_disabled_ttest@example.com ache�� ckout_manager.go ckout_manager_test.go cal/bin/sh ckout_persist_crgit ckout_runtime_orrev-parse r _require_validation_test.go (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion /tmp/gh-aw/aw-mainfocmp /github/gh-aw/se-1 /usr/bin/git git ache�� 5600-29620/test-404755031/.githu--detach git 1/x64/bin/node rkflow/js/**/*.jinfocmp gh erignore 1/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion /ref/tags/v9 git ode-gyp-bin/sh git ache�� (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 js/**/*.json' --ignore-path ../../../.prettierignore t-Logs-Url: REDACTED x_amd64/asm ation_test.go st.go ser.go x_amd64/asm 1/x6�� (http block)
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name h ../../../.prettierignore on x_amd64/vet /../../.prettier/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet erignore (http block)
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name ithub-script/git/ref/tags/v9 --jq bject.type] | @tsv --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo x_amd64/vet ./../.prettierig/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state 64/pkg/tool/linux_amd64/compile s/artifacts-summgit s/audit-workflowinit s/auto-triage-issues.lock.yml 64/pkg/tool/linux_amd64/compile s/bl�� g_.a g/envutil/envutil_test.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -errorsas -ifaceassert -nilfunc ache/go/1.25.8/x64/pkg/tool/linuTest User (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo /usr/bin/git /ref/tags/v9 git sv git rev-�� w/js/**/*.json' --ignore-path git sv --show-toplevel git /usr/bin/git git (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 rd (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name /ref/tags/v9 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --show-toplevel git /usr/bin/git --show-toplevel git 1/x64/bin/npm git rev-�� w/js/**/*.json' --ignore-path 1/x64/bin/npm sv --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch efaultBranchFromLsRemoteWithRealGitmaster_branch-s efaultBranchFromLsRemoteWithRealGitmaster_branch-w $name) { hasDiscussionsEnabled } } h ../../../.pretgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch "prettier" --write '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore infocmp /opt/hostedtoolcache/node/24.14.1/x64/bin/npx xterm-color git /usr/bin/git npx pret�� --write ../../../**/*.json /usr/bin/git --ignore-path ../../../.prettirev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch || 'round-robin'diagnostic noise should not be returned =master /usr/local/sbin/sh s --jq (http block)

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

Copilot AI and others added 4 commits May 8, 2026 17:48
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Apply console.Format* helpers to stderr calls in pkg/cli Apply console.Format helpers to high-traffic CLI stderr output paths May 8, 2026
Copilot AI requested a review from gh-aw-bot May 8, 2026 18:01
@pelikhan pelikhan marked this pull request as ready for review May 8, 2026 18:11
Copilot AI review requested due to automatic review settings May 8, 2026 18:11
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 several high-traffic CLI stderr output paths in pkg/cli by routing them through console.Format* helpers and adds targeted stderr-capture regression tests to validate the updated formatting.

Changes:

  • Format per-file compilation failures using console.FormatErrorMessage(...) in compileSingleFile.
  • Format the watch-mode “Watching for file changes” status line using console.FormatProgressMessage(...).
  • Format the interactive --engine override message using console.FormatInfoMessage(...), with new tests covering these paths.
Show a summary per file
File Description
pkg/cli/compile_file_operations.go Updates compile/watch stderr output to use console.Format* helpers.
pkg/cli/commands_file_watching_test.go Adds stderr-capture tests for compile error and watch-mode status formatting.
pkg/cli/add_interactive_engine.go Formats engine override fast-path message via console.FormatInfoMessage.
pkg/cli/add_interactive_secrets_test.go Adds stderr-capture test for the engine override info message.

Copilot's findings

Tip

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

Comments suppressed due to low confidence (2)

pkg/cli/commands_file_watching_test.go:476

  • This subtest asserts the compile error output contains a leading , which couples the test to FormatErrorMessage prefixing. Compiler errors are already formatted as file:line:col: error: (via console.FormatError) to stay IDE-parseable; adding before the file path makes that harder to consume. If the intent is to preserve IDE-parseable compiler diagnostics, update the assertion to check for the location/error prefix rather than the marker (or ensure any marker comes after the file:line:col: prefix).
		assert.True(t, result, "Expected compilation to be attempted")
		assert.Contains(t, strippedOutput, "✗", "Expected compile errors to include the formatted error marker")
		assert.Contains(t, strippedOutput, "invalid.md", "Expected stderr output to identify the failing workflow")
		assert.Contains(t, strippedOutput, "unexpected ':'", "Expected stderr output to include the compiler error details")

pkg/cli/commands_file_watching_test.go:582

  • Same stderr-capture pattern here: the pipe reader (r) is never closed, which can leak file descriptors. Consider using testutil.CaptureStderr or explicitly closing r after io.Copy.
	oldStderr := os.Stderr
	r, w, err := os.Pipe()
	require.NoError(t, err, "Failed to create stderr pipe")
	os.Stderr = w
	t.Cleanup(func() { os.Stderr = oldStderr })

	compileModifiedFilesWithDependencies(compiler, depGraph, []string{filePath}, false)

	w.Close()

	var buf bytes.Buffer
	_, err = io.Copy(&buf, r)
	require.NoError(t, err, "Failed to read stderr output")
  • Files reviewed: 4/4 changed files
  • Comments generated: 3

Comment on lines +72 to +73
// Always show compilation errors on a new line using standard CLI error styling.
fmt.Fprintln(os.Stderr, console.FormatErrorMessage(err.Error()))
Comment on lines +457 to +469
oldStderr := os.Stderr
r, w, err := os.Pipe()
require.NoError(t, err, "Failed to create stderr pipe")
os.Stderr = w
t.Cleanup(func() { os.Stderr = oldStderr })

result := compileSingleFile(compiler, filePath, stats, false, false)

w.Close()

var buf bytes.Buffer
_, err = io.Copy(&buf, r)
require.NoError(t, err, "Failed to read stderr output")
Comment on lines +184 to +196
oldStderr := os.Stderr
r, w, err := os.Pipe()
require.NoError(t, err, "Failed to create stderr pipe")
os.Stderr = w
t.Cleanup(func() { os.Stderr = oldStderr })

err = config.selectAIEngineAndKey()

w.Close()

var buf bytes.Buffer
_, copyErr := io.Copy(&buf, r)
require.NoError(t, copyErr, "Failed to read stderr output")
@pelikhan pelikhan merged commit c5538f4 into main May 8, 2026
18 checks passed
@pelikhan pelikhan deleted the copilot/deep-report-apply-console-format-helpers branch May 8, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Apply console.Format* helpers to top high-traffic bare stderr calls in pkg/cli

4 participants