Skip to content

Fix auto-triage noop compliance and unbloat-docs pre-flight skip logic#31266

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-failures-fix-documentation-unbloat
May 9, 2026
Merged

Fix auto-triage noop compliance and unbloat-docs pre-flight skip logic#31266
pelikhan merged 2 commits into
mainfrom
copilot/aw-failures-fix-documentation-unbloat

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 9, 2026

Two workflow failure clusters: auto-triage-issues skips the required noop call when no issues need labeling; unbloat-docs exits with code 7 (report_incomplete, 0 turns) when the pre-flight check finds nothing to process, because server startup runs unconditionally even when pass: false.

auto-triage-issues — P2: missing noop on no-op runs

  • Add noop explicitly to safe-outputs frontmatter (was implicitly enabled; now surfaces in the agent's tool list)
  • Add explicit noop branch to the workflow_dispatch path (was the only trigger path with no "nothing to do" exit)
  • Add Mandatory Completion Rule section at end of agent prompt — catch-all requiring noop if neither add_labels nor create_discussion was called

unbloat-docs — P1: wasted server startup on pre-flight failure

Pre-agent steps always ran even when preflight.json had pass: false, burning ~2.5 min before the agent could call noop — and sometimes the agent called report_incomplete instead.

Guard all three post-preflight pre-agent steps with an early exit:

# Added to: Start server, Wait for readiness, Write Playwright base URL
if [ "$(jq -r '.pass' /tmp/gh-aw/agent/preflight.json 2>/dev/null)" != "true" ]; then
  echo "Pre-flight check failed, skipping ..."
  exit 0
fi

Also tighten the agent's pre-flight instruction to make the noop call immediate and mandatory when pass: false.

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 8d519d9/node_modules/.bin/prettier (http block)
    • Triggering command: /usr/bin/gh gh repo view --json owner,name --jq .owner.login + "/" + .name 64/pkg/tool/linu-importcfg lization_test.gogit d_groups_test.goadd _list_test.go 64/pkg/tool/linux_amd64/vet ache�� ntry_test.go elp_text_test.go 64/pkg/tool/linux_amd64/vet n_test.go ctions-build/maiconfig r 64/pkg/tool/linutest@example.com (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)
  • https://api.github.com/orgs/owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name '**/*.ts' '**/*.-c=4 main _modules/.bin/sh-importcfg (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 on' --ignore-path ../../../.prettierignore main /home/REDACTED/.config/composer/vendor/bin/bash hub/aw/actions-l/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 g_.a /tmp/go-build3464778143/b289/vet.cfg e/git js/**/*.json' --gh (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 se 4778143/b056/vet.cfg .cfg ignore-path ../.infocmp (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 427990248/.github/workflows om/stretchr/testify@v1.11.1/asse-ifaceassert 64/pkg/tool/linux_amd64/link rkflow/js/**/*.j/usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv 632534660/001 g/stringutil/identifiers.go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet ath ../../../.prinfocmp --local ode_modules/.binxterm-color 4778143/b421/importcfg -ato�� licyMinIntegrityOnlymin-integrity_only_defaults_repo3223463292/001 k/gh-aw/gh-aw/pkg/fileutil/tar.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv /tmp/gh-aw-test-runs/20260509-191543-15380/test-1042806557/.github/workflows remote /usr/bin/infocmp -c=4 -nolocalimports ed } } infocmp -1 /ref/tags/v9 /home/REDACTED/work/gh-aw/gh-aw/pkg/semverutil/semverutil_test.go sv */*.json' '!../.infocmp security x_amd64/vet 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 "prettier" --wri--workflow on ache/go/1.25.8/x--limit /../../.prettiergit erignore n-dir/git ache/go/1.25.8/xremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv 1252/001/stability-test.md on x_amd64/vet /../../.prettierinfocmp erignore de/node/bin/git x_amd64/vet -c outil.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv 4778143/b481/_pk.artifacts[].name (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 t0 -buildtags .test m0s -ifaceassert (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv ../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore committer.name ode_modules/.bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv --local committer.email ode_modules/.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 ../pkg/workflow/-p pull.rebase /usr/local/bin/g-lang=go1.25 (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 ../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore committer.name 64/bin/node (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 --local committer.email /usr/bin/git (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 Onlyrepos_only_without_min-integrity592662615/001 (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 --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv les.test pkg/mod/github.com/aymanbagabas/go-udiff@v0.4.1/-ifaceassert r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -unreachable=false /tmp/go-build3464778143/b232/vetowner=github ache/node/24.14.1/x64/bin/node h ../../../.pretinfocmp /" + .name ules/.bin/prettixterm-color /opt/hostedtoolcache/go/1.25.8/x--jq t-18�� bility_SameInputSameOutput1082301252/001/stabili--workflow /tmp/go-build3464778143/b369/vet.cfg /usr/bin/git w/js/**/*.json' ls --local sh 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 "prettier" --write '../../../**/-s on x_amd64/vet /../../.prettiergit erignore it x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ormatted success--workflow pkg/agentdrain/anonexistent-workflow-ci-test-67890 ache/go/1.25.8/x--limit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ithub/workflows (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 se .cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 1524573666 /tmp/go-build3464778143/b246/vetowner=github (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv runs/20260509-191543-15380/test-1034318715/.github/workflows /tmp/go-build3464778143/b264/vet.cfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet l --local modules/@npmcli/install /opt/hostedtoolc--package-lock-only -uns�� ithub-script/git/ref/tags/v9.0.0 /tmp/go-build3464778143/b075/vet.cfg ache/node/24.14.1/x64/bin/node --local credential.usernbranch ndor/bin/bash /tmp/go-build3464778143/b433/log--jq (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 runs/20260509-191543-15380/test-3102203813/.github/workflows /tmp/go-build3464778143/b249/vet.cfg .cfg l --local de /opt/hostedtoolc--package-lock-only -ato�� -bool -buildtags (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 g/cli /tmp/go-build3464778143/b255/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile h ../../../.pretnode --local ation-unbloat ache/go/1.25.8/x--package-lock-only -ato�� 4778143/b464/_pkg_.a -buildtags ache/node/24.14.1/x64/bin/node /golden.go b/gh-aw/pkg/timeadd -nilfunc git (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv g/gitutil/gitutil.go g/gitutil/gitutil_test.go 64/pkg/tool/linux_amd64/vet rror (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 g_.a 4778143/b021/vet.cfg .cfg ./../.prettieriginfocmp ../../../.pretti-1 ****** ache/go/1.25.8/x64/pkg/tool/linu--jq -c sRemoteWithRealGitmain_branch4028870548/001 sRemoteWithRealGitmain_branch4028870548/002/work 64/pkg/tool/linux_amd64/vet (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 2618358377 4778143/b022/vet.cfg 64/pkg/tool/linux_amd64/link ./../.prettieriginfocmp ../../../.pretti-1 ****** 64/pkg/tool/linux_amd64/link -c verutil.test (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-02 (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-09 (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-08 (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 nore erignore _TOKEN"; }; f 64/pkg/tool/linux_amd64/vet -c te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 .cfg 64/pkg/tool/linu-importcfg nore (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 /home/REDACTED/work/gh-aw/gh-aw/.github/workflows/unbloat-docs.lock.yml 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 .cfg At,event,headBranch,headSha,displayTitle /../../.prettier/opt/hostedtoolcache/node/24.14.1/x64/bin/node erignore _TOKEN"; }; f 64/pkg/tool/linux_amd64/vet ache�� npx prettier --write '**/*.cjs' '**/*.ts' '**/*.-errorsas (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, on' --ignore-path ../../../.pret.prettierignore (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 .cfg x_amd64/compile erignore (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 nore erignore _TOKEN"; }; f 64/pkg/tool/linuremote -c te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 (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 .cfg x_amd64/compile nore erignore _TOKEN"; }; f x_amd64/compile -c te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-pat-errorsas .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 .cfg 64/pkg/tool/linux_amd64/vet nore (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 x_amd64/link nore erignore _TOKEN"; }; f x_amd64/link -c te '**/*.cjs' '**/*.ts' '**/*.js-c=4 (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 .cfg 64/pkg/tool/linux_amd64/vet nore (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 nore erignore _TOKEN"; }; f 64/pkg/tool/linux_amd64/vet -c te '**/*.cjs' '**/*.ts' '**/*.js-c=4 (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 .cfg 64/pkg/tool/linu-importcfg nore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path on' --ignore-pat-errorsas main sh (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 (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-build3464778143/b405/cli.test /tmp/go-build3464778143/b405/cli.test -test.testlogfile=/tmp/go-build3464778143/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv -unreachable=false 4778143/b405/_testmain.go /opt/hostedtoolcache/go/1.25.8/x-nolocalimports re --log-level=etr --local /node /opt/hostedtoolcache/go/1.25.8/x--jq -o runs/20260509-191543-15380/test-3551187866 -importcfg kflows/test-expires.lock.yml plate-expressioninfocmp -w -buildmode=exe git (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 LsRemoteWithRealGitcustom_branch400033842/001' LsRemoteWithRealGitcustom_branch400033842/001' 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv --noprofile (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 (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 --noprofile owner x_amd64/vet 0 -j ACCEPT 3Zv3h0y/xUkVQIloremote ache�� lGitmaster_branch2960121312/001' lGitmaster_branch2960121312/001' 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 --noprofile conntrack x_amd64/vet INVALID,NEW -j DROP 2KNE0oq/fctXhQsoconfig ache�� */*.ts' '**/*.jsremote.origin.url (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 --noprofile 53 x_amd64/vet ACCEPT (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 1524573666 l ache/go/1.25.8/x64/pkg/tool/linu-f -c=4 -nolocalimports -importcfg ache/go/1.25.8/x--package-lock-only -uns�� 4778143/b460/_pkg_.a /tmp/go-build3464778143/b376/vet.cfg ache/node/24.14.1/x64/bin/node w/js/**/*.json' head b/gh-aw/pkg/test-500 /opt/hostedtoolc/tmp/gh-aw/aw-master.patch /opt/hostedtoolcache/go/1.25.8/x--jq (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 "prettier" --wri--detach .cfg 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion ./../.prettieriggit (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 '**/*.ts' '**/*.-errorsas main x86_64/sh (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 tnet/tools/bash (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo -importcfg /tmp/go-build3464778143/b440/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/repoutil/repoutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/repoutil/repoutil_test.go --no�� ./../pkg/workflo-errorsas (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state 64/pkg/tool/linux_amd64/vet (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 on' --ignore-path ../../../.prettierignore main sh (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch te '**/*.cjs' '*remote.origin.url .cfg x_amd64/vet **/*.ts **/*.json --ignore-path x_amd64/vet /hom�� /x/exp/golden@v0.0.0-20260503005-p on x_amd64/compile .prettierignore erignore (http block)

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

P2: Add explicit noop to auto-triage-issues safe-outputs, add noop case
for workflow_dispatch with no unlabeled issues, add Mandatory Completion
Rule section requiring noop when no other safe-output was called.

P1: Guard server startup/readiness/Playwright pre-agent steps with
preflight.json check so they are skipped when pass!=true, avoiding
~2.5min of wasted setup before the agent can call noop. Strengthen
the pre-flight noop instruction to be explicit and mandatory."

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/02b642d1-7a26-4040-9b18-8a3ff04bdddd

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix agent crash in Documentation Unbloat for exit code 7 Fix auto-triage noop compliance and unbloat-docs pre-flight skip logic May 9, 2026
Copilot AI requested a review from gh-aw-bot May 9, 2026 19:22
@pelikhan pelikhan marked this pull request as ready for review May 9, 2026 20:10
Copilot AI review requested due to automatic review settings May 9, 2026 20:10
@pelikhan pelikhan merged commit dc23159 into main May 9, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/aw-failures-fix-documentation-unbloat branch May 9, 2026 20: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

Addresses two workflow failure modes where runs that had “nothing to do” could fail safe-output compliance or waste time on unnecessary setup, by making noop behavior explicit and by skipping docs server startup when pre-flight fails.

Changes:

  • auto-triage-issues: explicitly adds noop to safe-outputs and documents a required noop path for manual backfill runs with no unlabeled issues.
  • auto-triage-issues: adds a “Mandatory Completion Rule” intended to ensure every run ends with a safe-output call.
  • unbloat-docs: gates docs server startup/readiness/base-url setup behind preflight.json pass == true, and strengthens the prompt’s “pre-flight fail => noop immediately” instruction.
Show a summary per file
File Description
.github/workflows/unbloat-docs.md Skips docs dev server-related pre-agent steps when pre-flight fails; tightens prompt to require immediate noop on pre-flight failure.
.github/workflows/unbloat-docs.lock.yml Compiled workflow updates reflecting the new pre-flight guards and regenerated prompt/config blocks.
.github/workflows/auto-triage-issues.md Adds noop to safe-outputs and updates agent instructions to noop on manual no-op runs plus a completion rule.
.github/workflows/auto-triage-issues.lock.yml Compiled workflow updates reflecting new safe-output tool exposure and regenerated prompt/config blocks.

Copilot's findings

Tip

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

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


## Mandatory Completion Rule

**Before finishing, check whether you called any safe-output tool in this run.** If you did NOT call `add_labels` or `create_discussion`, you MUST call `noop`. Every run MUST end with at least one safe-output call — failing to do so causes the workflow to fail with a safe-output compliance error.
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.

[aw-failures] Failure Report 2026-05-07 (6h window ~13:18–19:18 UTC): Documentation Unbloat Exit-Code-7 + Auto-Triage No-Safe-Output

4 participants