Skip to content

Skip non-frontmatter Markdown files during compile-all workflow discovery#27387

Merged
pelikhan merged 8 commits intomainfrom
copilot/deep-report-filter-non-gh-aw-md-docs
Apr 20, 2026
Merged

Skip non-frontmatter Markdown files during compile-all workflow discovery#27387
pelikhan merged 8 commits intomainfrom
copilot/deep-report-filter-non-gh-aw-md-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

Some repositories place documentation .md files in .github/workflows/, and compile-all currently attempts to parse them as gh-aw workflows, producing noisy no frontmatter found errors. This change narrows compile-time discovery to Markdown files that actually look like gh-aw workflows.

  • Problem scope

    • Compile-all paths were treating all *.md files (except README.md) as workflow sources.
    • Non-workflow docs in .github/workflows/ triggered false parser errors and inflated compatibility failures.
  • Discovery/filtering changes

    • Added filterMarkdownFilesWithFrontmatter(...) in pkg/cli/workflows.go.
    • Filter keeps only Markdown files whose first line is exactly --- (gh-aw frontmatter opener).
    • Empty files and docs/notes Markdown are silently skipped.
  • Where behavior changed

    • Applied the frontmatter filter in compile-all flows:
      • pkg/cli/compile_pipeline.go
      • pkg/cli/compile_file_operations.go
    • Kept generic Markdown listing behavior intact for non-compile callers.
  • Coverage updates

    • Added focused compile-all test for mixed workflow/docs Markdown inputs.
    • Expanded filter tests for edge cases:
      • empty file
      • leading whitespace before ---
      • delimiter appearing later in the file
func filterMarkdownFilesWithFrontmatter(mdFiles []string) ([]string, error) {
    // ...
    if len(content) == 0 { continue }
    firstLine := bytes.SplitN(content, []byte("\n"), 2)[0]
    if !bytes.Equal(firstLine, []byte("---")) { continue }
    // keep as workflow candidate
}

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/pkg/tool/linux_amd64/compile GOINSECURE fips140/nistec/frev-parse ache/go/1.25.8/x--show-toplevel 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh repo view owner/repo env 72/001/test-simple-frontmatter.m-errorsas wDwi/8TvZlM4P0nfuVfRvwDwi .cfg GOINSECURE contextprotocol/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-tests cat-�� t3885555441/.github/workflows blob x_amd64/link GOSUMDB GOWORK 64/bin/go x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh repo view owner/repo env 4642741/b233/_pkg_.a pRaw/gwkwek_UF5vdtNyzpRaw ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE a95/uritemplate/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name -json GO111MODULE x_amd64/asm GOINSECURE GOMOD GOMODCACHE x_amd64/asm env -json g/catmsg.go x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name 5968e2f9a77387f5GOINSECURE GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name on' --ignore-patGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/actions/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 download 12345 /usr/bin/infocmp test-logs/run-12git rg/x/text@v0.36.rev-parse 64/pkg/tool/linu--show-toplevel infocmp -1 xterm-color 64/pkg/tool/linux_amd64/vet /usr/bin/git 4642741/b214/_pk/opt/hostedtoolcache/node/24.14.1/x64/bin/npm GO111MODULE 64/pkg/tool/linu--package-lock-only 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 x_amd64/vet 2616494/b403/cli.test ck 'scripts/**/*git GO111MODULE 64/bin/go 2616494/b403/cli.test ditT�� --show-toplevel go /usr/bin/git 4388/001/stabili/opt/hostedtoolcache/node/24.14.1/x64/bin/npm GO111MODULE ache/go/1.25.8/x--package-lock-only 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 go /usr/bin/git itcustom_branch2git itcustom_branch2rev-parse 64/bin/go git conf�� user.email test@example.com ps -json GO111MODULE 64/pkg/tool/linu--package-lock-only ps (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel x_amd64/compile /usr/bin/git -json GO111MODULE x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /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/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv /tmp/TestHashStability_SameInputSameOutput3598364388/001/stability-test.md go /usr/bin/git template-expressgit GO111MODULE 64/bin/go git rev-�� --show-toplevel go /usr/bin/git -json GO111MODULE de_modules/.bin/--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv /tmp/gh-aw-test-runs/20260420-163229-93366/test-1042768159/.github/workflows config /opt/hostedtoolcache/node/24.14.1/x64/bin/node remote.origin.urgit GO111MODULE 64/bin/go node /tmp�� runs/20260420-163229-93366/test-877846717 go /opt/hostedtoolcache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go /opt/hostedtoolcache/node/24.14.--json (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 4642741/b208/importcfg -trimpath ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -p hash -lang=go1.25 ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url -o 940848067/.github/workflows -trimpath 8378770/b416/envutil.test -p vendor/golang.orrev-parse -lang=go1.25 8378770/b416/envutil.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel x_amd64/link /usr/bin/git se 8378770/b244/vetrev-parse .cfg git rev-�� --show-toplevel hz/8-8vmLiYCmHH9^remote\..*\.gh-resolved$ /usr/bin/git 4642741/b216/impgit -trimpath ache/go/1.25.8/x--show-toplevel 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 iptables 86_64/node k/gh-aw/gh-aw/.ggit security /usr/lib/git-cor--show-toplevel git 1/x6�� --show-toplevel 8378770/b439/importcfg /usr/bin/git k/gh-aw/gh-aw/pkgit l /opt/hostedtoolc--show-toplevel git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv --show-toplevel -goversion .test -c=4 -nolocalimports -importcfg .test lope�� --show-toplevel l /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linunew (upstream) 01 GO111MODULE x_amd64/vet /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu/tmp/gh-aw-merge-1041633099/new.md (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv GOPATH l ache/node/24.14.1/x64/bin/node GOSUMDB GOWORK 64/bin/go ache/node/24.14.1/x64/bin/node -159�� /tmp/gh-aw-test-runs/20260420-162738-62162/test-3183046813/.github/workflows rev-parse /usr/bin/git yphen3211364163/git yphen3211364163/rev-parse 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv --show-toplevel l /opt/hostedtoolcache/node/24.14.1/x64/bin/node GOSUMDB GOWORK ode_modules/.bin--show-toplevel node /tmp�� /tmp/TestHashConsistency_GoAndJavaScript751003695/001/test-inlined-imports-enabled-with-body-congit go /usr/bin/git on' --ignore-patgit GO111MODULE 64/bin/go 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 --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/git ai-moderator.md 8378770/b264/vetrev-parse ache/go/1.25.8/xHEAD git rev-�� tags/v3 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet sv /tmp/go-build393git -trimpath /opt/hostedtoolc--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv --get-regexp ^remote\..*\.gh-resolved$ /usr/bin/git --porcelain sh .cfg git rev-�� WorkflowFiles_WithImports1580717368/001 go /usr/bin/git -json GO111MODULE ache/go/1.25.8/x--show-toplevel git (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 sh /usr/bin/git vaScript75100369git sh ache/go/1.25.8/xHEAD git rev-�� --show-toplevel t.wasm && \ mv gh-aw.opt.wasm gh-aw.wasm; \ AFTER=$(wc -c < g (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 x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -json r/common.go x_amd64/compile GOINSECURE GOMOD bytealg/compare_/tmp/go-build3938378770/b418/_pkg_.a x_amd64/compile 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 01 GO111MODULE 64/bin/go GOINSECURE GOMOD ic/asm.s go env echo "Running wasm-opt -Oz (size-s 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 --show-toplevel x_amd64/compile /usr/bin/git -json .cfg 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/infocmp ortcfg .cfg 64/pkg/tool/linu--show-toplevel infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv user.email test@example.com /usr/bin/git 1blXV5nft GO111MODULE 64/bin/go git rev-�� --show-toplevel ortcfg /usr/bin/git 5776e845b0a83521git GO111MODULE 64/bin/go 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 go /usr/bin/git -json GO111MODULE 64/bin/go git rev-�� --show-toplevel go /usr/bin/git -json GO111MODULE 64/bin/go 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 --git-dir x_amd64/vet /usr/bin/git m/workflows .cfg 64/pkg/tool/linu--show-toplevel git init�� GOMODCACHE 64/pkg/tool/linu/home/REDACTED/work/gh-aw/gh-aw/pkg/styles/theme.go /usr/bin/git ortcfg GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv GOMODCACHE go /usr/bin/git Td2z19WGZ GO111MODULE 64/bin/go git rev-�� --show-toplevel ortcfg /usr/bin/git 6145564f8b6704c2git GO111MODULE 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel go /usr/bin/git e-analyzer.md GO111MODULE 64/bin/go git rev-�� --show-toplevel l /usr/bin/git -json GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw/pkg/stats/statvar.go k/gh-aw/gh-aw/pkg/stats/spec_test.go /usr/bin/git -json GO111MODULE x_amd64/compile git conf�� user.email test@example.com /usr/bin/git -json o x_amd64/compile git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv -bool -buildtags /bin/sh -errorsas -ifaceassert -nilfunc /bin/sh -c v1.0.0 git-upload-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitbranch_with_hyphen3211364163/rev-parse /usr/bin/git e2fcff8e52300fa5/usr/bin/git GO111MODULE x_amd64/compile git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw/.github/workflows/ai-moderator.md GOPROXY /usr/lib/git-core/git GOSUMDB GOWORK 64/bin/go /usr/lib/git-core/git --gi�� tags/v5 --format=%(objectname) sv json' --ignore-pgit GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv 89edfcef..HEAD st/suppress-warnings.cjs $name) { hasDiscussionsEnabled } } node --conditions development st/dist/workers/forks.js rev-�� HEAD 89edfcef..HEAD 64/bin/node -m Token option new-C tions/setup/js/n/home/REDACTED/work/gh-aw/gh-aw/.github/workflows XsradmH/BLBquN7Gconfig (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv 89edfcef..HEAD git git token-test.txt git nfig/composer/ve. git show�� --verify 89edfcef..HEAD bin/node -m Token option newapi es/.bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv a01e610debda6e659935097674ccc9f7c5cccd78..full-mode-branch st/suppress-warnings.cjs $name) { hasDiscussionsEnabled } } -b token-option-tes-c it st/dist/workers/forks.js rev-�� HEAD 1347f4a4 p/bin/git token-test2.txt git /git 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 --show-toplevel 64/pkg/tool/linu-importcfg /usr/bin/git ned-imports-enabgit .cfg 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linuconfig /usr/lib/git-core/git 4642741/b148/_pkgit GO111MODULE 64/pkg/tool/linu--show-toplevel /usr/lib/git-core/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 user.name Test User /usr/bin/git JllQ_Ob6- GO111MODULE x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /usr/bin/git ility-kit.md GO111MODULE 64/bin/go 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 --show-toplevel go /usr/bin/git -json GO111MODULE 64/bin/go git rev-�� --show-toplevel (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 /tmp/go-build3938378770/b430/parser.test l /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link -s -w -buildmode=exe /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link -o runs/20260420-162158-34330/test-1578742366 -importcfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link s/test.md -w -buildmode=exe /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv --show-toplevel GOPROXY /usr/bin/infocmp GOSUMDB GOWORK 64/bin/go infocmp -1 xterm-color go /usr/bin/git 5661758/001' 5661758/001' 64/bin/go 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 -x c /bin/sh - GOWORK 64/bin/go /bin/sh -c git-receive-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch279556279/001' git-receive-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch279556279/001' /usr/bin/git json' --ignore-p/tmp/go-build1558457498/b403/cli.test GO111MODULE odules/npm/node_GOMODCACHE 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 xterm-color (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 -bool -buildtags /usr/bin/gh -errorsas -ifaceassert -nilfunc gh work�� list --json /usr/bin/git --repo owner/repo 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv GOPATH GOPROXY /usr/bin/git GOSUMDB GOWORK 64/bin/go git push�� origin develop /usr/bin/git json' --ignore-psh GO111MODULE 64/bin/go git (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 g/x/net/dns/dnsmrev-parse 4642741/b015/sym--show-toplevel 64/pkg/tool/linux_amd64/vet env 2699115510 jfLv/0caWgwAWMGdke8fejfLv x_amd64/vet GOINSECURE v3 GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE ntio/asm/cpu GOMODCACHE 64/pkg/tool/linux_amd64/vet env 4642741/b249/_pkg_.a GO111MODULE ck GOINSECURE b/gh-aw/pkg/workrev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-trimpath (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name scripts/**/*.js .cfg -d x_amd64/compile 64/bin/go go env 3227982755 GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/link (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env edcfg .cfg .cfg GOINSECURE contextprotocol/config GOMODCACHE ache/go/1.25.8/xtest@example.com (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 rg/x/text@v0.36.0/internal/langu-test.run=^Test 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD 4642741/b013/sym--show-toplevel 64/pkg/tool/linux_amd64/vet env 4642741/b214/_pkg_.a GO111MODULE 64/pkg/tool/linux_amd64/link GOINSECURE g/x/net/http/httremote GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name **/*.cjs ache/go/1.25.8/x64/bin/go **/*.json --ignore-path ../../../.pretti--show-toplevel go env 2738-62162/test-3966427777/.github/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name om/modelcontextprotocol/go-sdk@v1.5.0/internal/m-ifaceassert 64/pkg/tool/linux_amd64/vet GOINSECURE fips140/check GOMODCACHE 64/pkg/tool/linux_amd64/vet env 72/001/test-simple-frontmatter.m-errorsas wDwi/8TvZlM4P0nfuVfRvwDwi .cfg GOINSECURE contextprotocol/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-tests (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE hlite 4642741/b013/sym--show-toplevel 64/pkg/tool/linux_amd64/vet env 407625772 _zAe/m6K4S-499xrKjIdi_zAe eutil.test GOINSECURE g/x/net/http/httrev-parse GOMODCACHE eutil.test (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name **/*.cjs ache/go/1.25.8/x64/bin/go **/*.json --ignore-path ../../../.pretti--show-toplevel go env 2738-62162/test-3966427777/.github/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 fips140/bigmod 4642741/b012/sym--show-toplevel 64/pkg/tool/linux_amd64/vet env 4642741/b254/_pkg_.a c9ZF/KtTFKQuDD_Pbt7zDc9ZF x_amd64/compile GOINSECURE b/gh-aw/pkg/filerev-parse GOMODCACHE x_amd64/compile (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/linux_amd64/vet env 4642741/b131/_pkg_.a GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE contextprotocol/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-buildtags (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name efaultBranchFromLsRemoteWithRealGitbranch_with_hyphen3211364163/001' .cfg -d x_amd64/asm 64/bin/go go env -json GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env 2699115510 zBGz/yhMlvprrXT_DfcRFzBGz 64/pkg/tool/linux_amd64/compile GOINSECURE b/gh-aw/pkg/acticonfig GOMODCACHE 64/pkg/tool/linuTest User (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet estl�� 4642741/b225/_pkg_.a Kv-X/SrddFjc3EqPBzwz7Kv-X ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE ce GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name scripts/**/*.js ache/go/1.25.8/x64/bin/go -d git 64/bin/go ortcfg env CommaSeparatedCompiledOutput2096513029/001 GO111MODULE .cfg -in-body.md GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/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 light GOMODCACHE 64/pkg/tool/linux_amd64/vet env til.go til_test.go x_amd64/vet GOINSECURE t/language GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE ntio/asm/cpu/x86rev-parse ache/go/1.25.8/x--show-toplevel 64/pkg/tool/linux_amd64/vet env 4642741/b140/_pkg_.a GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE contextprotocol/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name scripts/**/*.js fde23bbc19a715d37dad977b0f92fc17ce18ae3037ff482c8f8ac58dceae9d66-d -d x_amd64/asm 64/bin/go go env 3227982755 GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/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 ntio/asm/base64 4642741/b012/sym--show-toplevel 64/pkg/tool/linux_amd64/vet ache�� 2699115510 GO111MODULE 64/pkg/tool/linux_amd64/vet GOINSECURE t/internal/languconfig GOMODCACHE 64/pkg/tool/linutest@example.com (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 .cfg 64/pkg/tool/linux_amd64/vet GOINSECURE ntio/asm/cpu/armrev-parse GOMODCACHE 64/pkg/tool/linux_amd64/vet env 72/001/test-frontmatter-with-nested-objects.md GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE contextprotocol/rev-parse GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name scripts/**/*.js 1/x64/bin/node -d git 64/bin/go ortcfg t-ha�� SameOutput3598364388/001/stability-test.md GO111MODULE .cfg -in-body.md GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url (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-build3938378770/b418/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/fileutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/tar.go env -json nal.go x_amd64/compile GOINSECURE GOMOD bytealg/equal_wa--show-toplevel x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 GOMOD GOMODCACHE x_amd64/vet env g_.a GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 fips140deps/goderemote GOMODCACHE x_amd64/compile env rdian.md V4ci/NWzImF-917Hk3aRqV4ci ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE g/x/text/transfo/tmp/test-process-2562436496.js GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build3938378770/b403/cli.test /tmp/go-build3938378770/b403/cli.test -test.testlogfile=/tmp/go-build3938378770/b403/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /tmp/go-build4212616494/b403/cli.test /tmp/go-build4212616494/b403/cli.test -test.testlogfile=/tmp/go-build4212616494/b403/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOINSECURE GOMOD GOMODCACHE go env on' --ignore-patGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /tmp/go-build1558457498/b403/cli.test /tmp/go-build1558457498/b403/cli.test -test.testlogfile=/tmp/go-build1558457498/b403/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true GOINSECURE GOMOD GOMODCACHE go env on' --ignore-patGOINSECURE GO111MODULE x_amd64/cgo GOINSECURE GOMOD GOMODCACHE x_amd64/cgo (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 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/git M13-3kSPc 8378770/b097/vetrev-parse ache/go/1.25.8/x--show-toplevel git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linumyorg /usr/bin/git CompiledOutput16ls stmain.go tartedAt,updated/tmp/gh-aw/aw-feature-branch.patch 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 5616802/b424/importcfg /usr/bin/git che/go-build/57/git GOPROXY 1/x64/bin/node git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.8/x.github/workflows/test.md /usr/bin/git vaScript13445663ls -trimpath 1/x64/bin/node 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 node /usr/bin/git prettier --check ache/go/1.25.8/x--show-toplevel git rev-�� --show-toplevel go /usr/bin/git -mod=readonly -f ache/go/1.25.8/x/tmp/gh-aw/aw-feature-branch.patch 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 2894297896/.github/workflows 8378770/b011/vet.cfg .cfg GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-dwarf=false ranc�� se 8378770/b155/vet.cfg .cfg -I /tmp/go-build257rev-parse -I ache/go/1.25.8/x64/pkg/tool/linuorigin (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 gh-aw.wasm ./cmd/gh-aw-wasm GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go ache�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 .js' --ignore-path .prettierignoGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
  • https://api.github.com/repos/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 g_.a GO111MODULE x_amd64/vet json; \ echo "�node 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 s/data/action_pins.json..." GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go tion�� Gitmaster_branch3844599454/001' Gitmaster_branch3844599454/001' 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 GO111MODULE tions/node_modules/.bin/node GOINSECURE GOMOD GOMODCACHE go tion�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json o x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env g_.a 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 -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE QqQx3T_/AukKNLXaremote 2823�� -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 -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE -317-G1/UeenSB9hconfig om_b�� -json GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/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/v3.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE bin/node GOINSECURE GOMOD GOMODCACHE go 8445�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE ache/go/1.25.8/x-nilfunc GOINSECURE GOMOD GOMODCACHE go tion�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 se 8378770/b014/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -o 4642741/b135/importcfg -trimpath .cfg -p log/internal -lang=go1.25 ache/go/1.25.8/x12345 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv heck '**/*.cjs' '**/*.ts' '**/*.json' --ignore-pGOINSECURE GO111MODULE x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet env ck 'scripts/**/*.js' --ignore-path .prettierignoGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv ed-imports-enabled-with-body-content.md GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE h-aw.wasm; \ AFTER=$(wc -c < g env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (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 ntio/encoding/asrev-parse GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu--jq env ithub/workflows GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x^remote\..*\.gh-resolved$ (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE /tmp/go-build1558457498/b070/gh-aw.test -tes�� k/gh-aw/gh-aw -test.v=true /usr/lib/git-core/git -test.timeout=10git -test.run=^Test -test.short=true--show-toplevel /usr/lib/git-core/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/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state 64/pkg/tool/linux_amd64/link GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/link stat�� util.test EgAi/JW5fl0E13YyEocudEgAi ortcfg.link GOSUMDB GOWORK 64/bin/go QBat1TqtOugs5kA4--json (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • 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 x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json age.go x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name b0590b788f16d300GOINSECURE GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name bebdc3b874dcb38eGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 4642741/b194/_pkg_.a 3NxN/fOrMapTM_SttVIFB3NxN ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -p efaultBranchFromLsRemoteWithRealGitmain_branch2609126169/001' efaultBranchFromLsRemoteWithRealGitmain_branch2609126169/001' .cfg -I /tmp/go-build257remote -I ache/go/1.25.8/x64/pkg/tool/linu--auto (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch /tmp/shared-actions-test2902446865 show /usr/bin/git -json GO111MODULE 64/bin/go git remo�� remove myorg /usr/bin/git -json GO111MODULE 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch /home/REDACTED/work/gh-aw/gh-aw/pkg/cli (http block)
  • invalid.example.invalid
    • Triggering command: /usr/lib/git-core/git-remote-https /usr/lib/git-core/git-remote-https origin https://invalid.example.invalid/nonexistent-repo.git git conf�� user.name lure tions/setup/js/node_modules/.bin/git -M main /usr/sbin/git git init�� --bare --initial-branch=main k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/git '/tmp/bare-incregit '/tmp/bare-increadd cal/bin/git git (dns block)
    • Triggering command: /usr/lib/git-core/git-remote-https /usr/lib/git-core/git-remote-https origin https://invalid.example.invalid/nonexistent-repo.git git conf�� user.email lure tions/setup/js/node_modules/.bin/git --bare the new one tions/node_modul-b git init�� --bare --initial-branch=main k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/git ranch main n-dir/git git (dns block)

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

Copilot AI changed the title [WIP] Fix workflow parser to filter non-gh-aw .md docs Skip non-frontmatter Markdown files during compile-all workflow discovery Apr 20, 2026
Copilot AI requested a review from pelikhan April 20, 2026 17:01
@pelikhan pelikhan marked this pull request as ready for review April 20, 2026 17:02
Copilot AI review requested due to automatic review settings April 20, 2026 17:02
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

Narrows compile-all Markdown workflow discovery to avoid parsing non-workflow docs (e.g., .md files in .github/workflows/) and reduce noisy “no frontmatter found” failures.

Changes:

  • Added filterMarkdownFilesWithFrontmatter(...) to keep only Markdown files that appear to start with gh-aw frontmatter.
  • Applied the filter to compile-all discovery in both pipeline and file-ops compile paths.
  • Added/expanded tests covering mixed workflow/docs Markdown inputs and filter edge cases.
Show a summary per file
File Description
pkg/cli/workflows.go Adds frontmatter-based Markdown filtering helper used by compile-all.
pkg/cli/compile_pipeline.go Applies new filter during directory compile-all discovery.
pkg/cli/compile_file_operations.go Applies new filter during compile-all helper discovery.
pkg/cli/workflows_test.go Adds unit test coverage for the new frontmatter filter behavior.
pkg/cli/commands_file_watching_test.go Adds compile-all test ensuring docs Markdown is skipped.

Copilot's findings

Tip

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

Comments suppressed due to low confidence (1)

pkg/cli/compile_file_operations.go:136

  • Same as compile_pipeline.go: after applying the new frontmatter filter, this branch can execute even when markdown files exist but were skipped. Consider adjusting the log/user-facing message to indicate that no frontmatter-based workflow markdown files were found (vs. no markdown files at all).
	mdFiles, err = filterMarkdownFilesWithFrontmatter(mdFiles)
	if err != nil {
		return stats, fmt.Errorf("failed to filter markdown files: %w", err)
	}
	if len(mdFiles) == 0 {
		compileHelpersLog.Printf("No markdown files found in %s", workflowsDir)
		if verbose {
			fmt.Fprintln(os.Stderr, console.FormatInfoMessage("No markdown files found in "+workflowsDir))
		}
  • Files reviewed: 5/5 changed files
  • Comments generated: 4

Comment thread pkg/cli/workflows.go Outdated
Comment on lines +306 to +307

if !bytes.Equal(firstLine, []byte("---")) {
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

Frontmatter detection here is stricter than the rest of the codebase: it requires the first line bytes to be exactly "---". This will incorrectly skip valid workflows with CRLF line endings (first line becomes "---\r") and also differs from parser.ExtractFrontmatterFromContent which uses strings.TrimSpace(firstLine) == "---" (pkg/parser/frontmatter_content.go:35). Consider normalizing the first line (trim trailing \r / whitespace) and/or reusing the parser’s fast-path semantics so compile-all discovery matches what the compiler can actually parse.

Suggested change
if !bytes.Equal(firstLine, []byte("---")) {
normalizedFirstLine := bytes.TrimSpace(firstLine)
if !bytes.Equal(normalizedFirstLine, []byte("---")) {

Copilot uses AI. Check for mistakes.
Comment thread pkg/cli/workflows.go Outdated
Comment on lines +295 to +306
for _, file := range mdFiles {
content, err := os.ReadFile(file)
if err != nil {
return nil, fmt.Errorf("failed to read workflow file %s: %w", file, err)
}
if len(content) == 0 {
workflowsLog.Printf("Skipping empty markdown file: %s", file)
continue
}

firstLine := bytes.SplitN(content, []byte("\n"), 2)[0]

Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This reads the entire file into memory just to inspect the first line. For large docs placed in .github/workflows, this can add unnecessary IO and allocations during compile-all scanning. Consider using a buffered reader to read only the first line (or first few bytes) instead of os.ReadFile.

Copilot uses AI. Check for mistakes.
Comment thread pkg/cli/compile_pipeline.go Outdated
}

if len(mdFiles) == 0 {
return nil, fmt.Errorf("no markdown files found in %s", workflowsDir)
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

After filtering out non-frontmatter markdown files, this error message can be misleading: the directory may contain markdown files, but none that are valid gh-aw workflow sources. Consider updating the message to clarify that no workflow markdown files (frontmatter opener on first line) were found, so users don’t interpret this as a glob/discovery failure.

Suggested change
return nil, fmt.Errorf("no markdown files found in %s", workflowsDir)
return nil, fmt.Errorf("no workflow markdown files found in %s (workflow files must start with a frontmatter opener on the first line)", workflowsDir)

Copilot uses AI. Check for mistakes.
Comment thread pkg/cli/workflows_test.go Outdated
Comment on lines +270 to +271
assert.Len(t, filtered, 1)
assert.Equal(t, filepath.Join(workflowsDir, "workflow1.md"), filtered[0])
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This test encodes the new rule that leading whitespace before the opening "---" should be treated as not-frontmatter. However, the current frontmatter parser treats strings.TrimSpace(firstLine) == "---" as frontmatter (pkg/parser/frontmatter_content.go:35), so compile-all discovery would diverge from actual parsing semantics. Either align filterMarkdownFilesWithFrontmatter to the parser (and update this expectation), or update the parser semantics as well so the rule is consistent across the tool.

Suggested change
assert.Len(t, filtered, 1)
assert.Equal(t, filepath.Join(workflowsDir, "workflow1.md"), filtered[0])
assert.Len(t, filtered, 2)
assert.Contains(t, filtered, filepath.Join(workflowsDir, "workflow1.md"))
assert.Contains(t, filtered, filepath.Join(workflowsDir, "leading-whitespace.md"))

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown
Contributor

🧪 Test Quality Sentinel Report

Test Quality Score: 100/100

Excellent test quality

Metric Value
New/modified tests analyzed 2
✅ Design tests (behavioral contracts) 2 (100%)
⚠️ Implementation tests (low value) 0 (0%)
Tests with error/edge cases 2 (100%)
Duplicate test clusters 0
Test inflation detected No (total ratio: 68 test lines / 35 prod lines = 1.94:1)
🚨 Coding-guideline violations 0 (no mock libraries, build tags present)

Test Classification Details

Test File Classification Issues Detected
TestCompileAllWorkflowFiles/"compile all skips markdown files without frontmatter" pkg/cli/commands_file_watching_test.go:194 ✅ Design Minor: one assertion uses t.Fatalf for error check instead of require.NoError (cosmetic)
TestFilterMarkdownFilesWithFrontmatter pkg/cli/workflows_test.go:240 ✅ Design Minor: 2 assertions missing descriptive messages (see below)

Minor Style Notes

No tests are flagged as blocking, but two assertions in TestFilterMarkdownFilesWithFrontmatter are missing descriptive message arguments per project guidelines:

⚠️ TestFilterMarkdownFilesWithFrontmatter (pkg/cli/workflows_test.go:270–271)

Issue: Two bare assertions without descriptive messages.

// Current (missing messages):
assert.Len(t, filtered, 1)
assert.Equal(t, filepath.Join(workflowsDir, "workflow1.md"), filtered[0])

// Suggested:
assert.Len(t, filtered, 1, "only workflow1.md has valid frontmatter")
assert.Equal(t, filepath.Join(workflowsDir, "workflow1.md"), filtered[0], "workflow1.md should be the sole passing file")

Severity: Non-blocking style note — the test is otherwise high quality.


Why These Tests Score Well

Both new tests directly verify the behavioral contract of the PR: "markdown files without YAML frontmatter must be silently skipped during compile-all workflow discovery."

  • TestCompileAllWorkflowFiles/compile all skips...: End-to-end integration using real filesystem + real compiler. Asserts observable outputs: stats.Total = 1, no lock file for the docs file. If this test were deleted, a regression that compiles documentation .md files would go undetected.
  • TestFilterMarkdownFilesWithFrontmatter: Unit test for the filter function itself, covering 5 distinct cases: valid frontmatter, no frontmatter, empty file, leading whitespace before ---, and --- delimiter not on first line. Strong edge-case coverage with a particularly good check for the whitespace/position variants.

Language Support

Tests analyzed:

  • 🐹 Go (*_test.go): 2 tests — unit (//go:build !integration) ✅

Verdict

Check passed. 0% of new tests are implementation tests (threshold: 30%). Both tests enforce the core behavioral contract of the PR with solid edge-case coverage.


📖 Understanding Test Classifications

Design Tests (High Value) verify what the system does:

  • Assert on observable outputs, return values, or state changes
  • Cover error paths and boundary conditions
  • Would catch a behavioral regression if deleted
  • Remain valid even after internal refactoring

Implementation Tests (Low Value) verify how the system does it:

  • Assert on internal function calls (mocking internals)
  • Only test the happy path with typical inputs
  • Break during legitimate refactoring even when behavior is correct
  • Give false assurance: they pass even when the system is wrong

Goal: Shift toward tests that describe the system's behavioral contract — the promises it makes to its users and collaborators.

References: §24679557411

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

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

✅ Test Quality Sentinel: 100/100. Test quality is excellent — 0% of new tests are implementation tests (threshold: 30%). Both new tests enforce the behavioral contract of the PR with strong edge-case coverage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Commit pushed: 981dd52

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions
Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic in pkg/ (103 new lines) but does not have a linked Architecture Decision Record (ADR).

AI has analyzed the PR diff and generated a draft ADR to help you get started:

📄 Draft ADR: docs/adr/27387-filter-non-frontmatter-markdown-during-compile-all.md

The draft captures the core design decision — using first-line frontmatter detection (---) as the criterion for distinguishing gh-aw workflow Markdown from documentation Markdown during compile-all discovery — along with three alternatives considered and a normative RFC 2119 specification.

What to do next

  1. Review the draft ADR committed to your branch — it was generated from the PR diff
  2. Complete any missing sections — add context the AI couldn't infer, refine the decision rationale, and confirm the alternatives listed are the ones you actually considered
  3. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-27387: Filter Non-Frontmatter Markdown Files During compile-all Discovery

Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision.

Why ADRs Matter

"AI made me procrastinate on key design decisions. Because refactoring was cheap, I could always say 'I'll deal with this later.' Deferring decisions corroded my ability to think clearly."

ADRs create a searchable, permanent record of why the codebase looks the way it does. Future contributors (and your future self) will thank you.


📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context — What is the problem? What forces are at play?
  • Decision — What did you decide? Why?
  • Alternatives Considered — What else could have been done?
  • Consequences — What are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/ as Markdown files numbered by PR number (e.g., 27387-filter-non-frontmatter-markdown-during-compile-all.md for PR #27387).

🔒 This PR cannot merge until an ADR is linked in the PR body.

References: §24679557357

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · ● 172.3K ·

@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot review all comments

@github-actions
Copy link
Copy Markdown
Contributor

Hey @Copilot 👋 — great work on this fix! Narrowing compile-all discovery to only Markdown files that actually begin with YAML frontmatter is a clean, well-scoped solution to the noisy no frontmatter found errors. The ADR is thorough, the implementation is surgical (leaving getMarkdownWorkflowFiles untouched), and the test coverage covers both the unit filter logic and the end-to-end compile pipeline path.

This PR looks ready for maintainer review. 🎉

Generated by Contribution Check · ● 1.7M ·

@github-actions github-actions Bot added the lgtm label Apr 20, 2026
@pelikhan pelikhan merged commit e717787 into main Apr 20, 2026
@pelikhan pelikhan deleted the copilot/deep-report-filter-non-gh-aw-md-docs branch April 20, 2026 17:26
Copilot stopped work on behalf of pelikhan due to an error April 20, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Filter non-gh-aw .md docs from workflow parser to fix "no frontmatter found" compat errors

3 participants