Skip to content

Reorder workflow steps: prompt rendering after checkout, aw_info.json earlier#16192

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/update-compiler-prompt-order
Closed

Reorder workflow steps: prompt rendering after checkout, aw_info.json earlier#16192
Copilot wants to merge 3 commits intomainfrom
copilot/update-compiler-prompt-order

Conversation

Copy link
Contributor

Copilot AI commented Feb 16, 2026

Moves prompt rendering steps (create, substitute, interpolate, validate, print) to execute immediately after checkout and temp directory setup, before custom steps. Moves aw_info.json generation to run as early as possible after temp directory creation.

Changes

pkg/workflow/compiler_yaml_main_job.go

  • Relocated generateCreateAwInfo() to execute immediately after temp directory creation (previously after MCP gateway setup)
  • Relocated generatePrompt() to execute after generateCreateAwInfo() and before custom steps (previously after workflow overview and MCP setup)
  • Consolidated engine retrieval to single call, eliminating duplicate getAgenticEngine() invocations
  • Removed redundant MCP gateway setup and function calls

pkg/workflow/checkout_runtime_order_test.go

  • Updated test assertions to validate new 12-step order (previously validated 6 steps)
  • Added validation for prompt rendering steps positioned between temp directory creation and custom steps

New Step Order

1. Checkout repository
2. Create temp directory
3. Generate aw_info.json         ← moved early
4. Create prompt                  ← moved early
5. Substitute placeholders        ← moved early
6. Interpolate variables          ← moved early
7. Validate placeholders          ← moved early
8. Print prompt                   ← moved early
9. Custom steps
10. Cache/memory setup
11. Git/PR configuration
12. Engine installation
13. MCP setup
14. Workflow overview (reads aw_info.json)
15. Execute agent

This ordering ensures prompt and metadata are available early in the workflow for debugging and makes dependencies explicit (workflow overview now clearly depends on pre-existing aw_info.json).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw g/workflow/compi--norc (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 er (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha ]*:[[:space:]]*"create_pull_request" ache/go/1.25.0/x64/pkg/tool/linux_amd64/compile /usr/bin/git 117039/b001/_pkggit ache/go/1.25.0/xrev-parse 117039/b001=> git rev-�� --show-toplevel sh /usr/bin/git 44686010/001 ache/go/1.25.0/xrev-parse /opt/hostedtoolc--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha HEAD git 0/x64/bin/node --show-toplevel ache/go/1.25.0/xrev-parse /tmp/TestGetNpmB--show-toplevel git arne�� --show-toplevel go 64/bin/bash /node FUOpvBl5XgcBk/1Yrev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v2 --jq .object.sha get .cfg 64/pkg/tool/linux_amd64/vet http.https://git/usr/bin/gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v2 --jq .object.sha get .cfg 64/pkg/tool/linux_amd64/vet http.https://gitgit (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683 --jq .object.sha --get-regexp --global 64/pkg/tool/linux_amd64/vet (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 3005-14837/test-3624770503/.github/workflows ache/go/1.25.0/xdocker.io/mcp/brave-search cfg --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha --show-toplevel x_amd64/vet /usr/bin/git te '../../../**/git 64/pkg/tool/linurev-parse x_amd64/link git rev-�� --show-toplevel x_amd64/link /usr/bin/git _.a config p/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha i-inference/git/ref/tags/v1 git /usr/bin/git create_pull_requgit 64/pkg/tool/linurev-parse /usr/bin/git git rev-�� --show-toplevel (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha r/test-repo/actions/secrets /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linurev-parse /opt/hostedtoolcache/go/1.25.0/x64/bin/node -m conntrack repository(owne--show-toplevel node /opt�� ci /opt/hostedtoolcache/go/1.25.0/x-d /opt/hostedtoolcache/go/1.25.0/x168.63.129.16 h ../../../.pretgit /tmp/go-build319rev-parse /opt/hostedtoolc--show-toplevel /opt/hostedtoolcache/go/1.25.0/xowner (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 rite '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierinfocmp 64/pkg/tool/linurev-parse 64/pkg/tool/linux_amd64/vet x55To0DC_ 75913+pelikhan@uremote 64/pkg/tool/linu-v 64/pkg/tool/linux_amd64/vet -1 xterm-color 64/pkg/tool/linux_amd64/vet it ./../.prettierig/tmp/go-build372117039/b426/scripts.test om/stretchr/test-test.testlogfile=/tmp/go-build372117039/b426/testlog.txt $name) { has-test.paniconexit0 sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha /tmp/go-build372117039/b380/_pkg_.a -trimpath /usr/bin/git -p main -lang=go1.25 git rev-�� --show-toplevel -dwarf=false /usr/bin/git go1.25.0 -c=4 -nolocalimports git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha user.name Test User /usr/bin/git '**/*.ts' '**/*.git rev-parse tions/setup/node--show-toplevel git conf�� tup/sh/sanitize_path.sh' ':::/usr/bin:/usr/local/bin' && echo "$PATH" remote.origin.url /usr/bin/gh */*.json' '!../.git config kflow.test gh (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 /home/REDACTED/work/_temp/runtime-logs/command.sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --local .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha a/action_pins.js-f (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v7
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha tformat credential.helper 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha edcfg .cfg 64/pkg/tool/linux_amd64/vet (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha -stringintconv -tests 0/x64/bin/npm (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c --jq .object.sha rd .cfg r: $owner, name: $name) { hasDiscussionsEnabled } } (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha SameOutput1890669017/001/stability-test.md --others ache/go/1.25.0/x64/pkg/tool/linux_amd64/compile /tmp/go-build319git b/gh-aw/pkg/loggrev-parse 1351917/b239/vet--show-toplevel ache/go/1.25.0/x64/pkg/tool/linusecurity -c 117039/b401/_pkg_.a /opt/hostedtoolcformat:pkg-json 117039/b401=> h ../../../.pretgit b/gh-aw/pkg/parsrev-parse bin/bash 117039/b391/importcfg (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha om/github/gh-aw (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha get --global 64/pkg/tool/linux_amd64/vet Info|aw_info\.js/usr/bin/gh k/gh-aw/gh-aw/pkapi (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha g_.a --global 64/pkg/tool/linux_amd64/vet (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha --show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linurev-parse /opt/hostedtoolcache/node/24.13.0/x64/bin/node /tmp/go-build319git -trimpath 1351917/b162/vet--show-toplevel /opt/hostedtoolcache/node/24.13.security /opt�� runs/20260216-193005-14837/test-OUTPUT --force 117039/b388/vet.cfg --prefer-offlinegit --prefer-online=rev-parse run-script/lib/n--show-toplevel /opt/hostedtoolcache/go/1.25.0/xconntrack (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha --get-regexp --global 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha --verify .cfg r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
  • https://api.github.com/repos/anchore/sbom-action/git/ref/tags/v0
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha --local user.email 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha 0159032/b320/_pkg_.a user.email 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha rd .cfg r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
  • https://api.github.com/repos/docker/build-push-action/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha --local .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha --local user.name 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha rd .cfg 64/pkg/tool/linux_amd64/vet (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 0159032/b001/exeremote.origin.url .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq .object.sha rd .cfg 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/docker/metadata-action/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha --local .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha rd .cfg r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
  • https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha --local fa59eef0fccfe23a169bed29:go.mod 65d6a47f044f41dd7d7be96d5f46d177eddcfc5302d4eae9-d (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha 0159032/b001/_pkremote.origin.url .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha d/gh-aw/main.go .cfg r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 rev-parse de/node/bin/git nore (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 git x_amd64/vet --show-toplevel git 0/x64/bin/node x_amd64/vet ance�� run --auto 0/x64/bin/node --detach git 0/x64/bin/node git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 x_amd64/vet x_amd64/compile nore (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 x_amd64/vet 0/x64/bin/node --show-toplevel git 0/x64/bin/node git ance�� --show-toplevel git 0/x64/bin/node --show-toplevel git 0/x64/bin/node git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 --jq tnet/tools/sh stAwInfo|TestStegit (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 x_amd64/link 0/x64/bin/node --show-toplevel git 0/x64/bin/node git ance�� --show-toplevel V3/zLIljMFPDkglLAcSQv8F/SiyS_ES7cTD1qzfE09WI 0/x64/bin/node --show-toplevel git d73ae2a257170c7d--show-toplevel git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 -f x_amd64/vet nore owner=github -f x_amd64/vet ache�� /home/REDACTED/work/gh-aw/gh-aw/.g-c=4 rev-parse x_amd64/link get .cfg 64/pkg/tool/linu--show-toplevel x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 git x_amd64/link --show-toplevel git 0/x64/bin/node x_amd64/link ance�� initial.txt git 0/x64/bin/node --show-toplevel git 0/x64/bin/node git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 x_amd64/vet x_amd64/compile nore (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 git x_amd64/vet --show-toplevel git 0/x64/bin/node x_amd64/vet ance�� user.name Test User 0/x64/bin/node --show-toplevel git 0/x64/bin/node git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 x_amd64/vet x_amd64/link nore (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 git x_amd64/vet --show-toplevel git 0/x64/bin/node x_amd64/vet ance�� user.email test@example.com 0/x64/bin/node --show-toplevel git 0/x64/bin/node git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 -f 64/bin/git nore owner=github -f git ache�� ty-test.md rev-parse ndor/bin/sh get .cfg 64/pkg/tool/linu--git-dir erignore (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 git x_amd64/vet --show-toplevel git 0/x64/bin/node x_amd64/vet ance�� -m Initial commit 0/x64/bin/node --show-toplevel git 0/x64/bin/node 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 ithub/workflows -tests /usr/bin/git (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/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3 --jq .object.sha l && debian-sa1 1 1 (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 2025153068/.github/workflows 64/pkg/tool/linuconfig es/.bin/sh get .cfg 64/pkg/tool/linu--show-toplevel /usr/bin/gh api te '../../../**/*.json' '!../../-test.timeout=10m0s -f 64/pkg/tool/linux_amd64/vet -f owner=github -f 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel /usr/bin/gh /usr/bin/git *.json' '!../../git -f x_amd64/compile git -C /tmp/TestCollectWorkflowFiles_WithImports4030866225/001 rev-parse /usr/bin/git k/gh-aw/gh-aw/.ggit config k/gh-aw/gh-aw/ac--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha ref/tags/v1 git /usr/bin/git est" x_amd64/compile /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel /usr/bin/unpigz /usr/bin/git git (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/-
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/- --jq .object.sha (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 (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion -m Initial commit 0/x64/bin/node head -500�� 60/001/test-empty-frontmatter.md git 0/x64/bin/node --show-toplevel .com> 0/x64/bin/node 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 ode_modules/.bin/prettier "; \ echo "Thissh -ifaceassert -nilfunc git rev-�� --show-toplevel -tests /node (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo _modules/.bin/node -test.run=TestStsh (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state ache/node/24.13.0/x64/bin/sh (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 --noprofile -tests me: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabl-pack (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 ATH" git ache/node/24.13.0/x64/bin/npm git rev-�� --show-toplevel ache/node/24.13.0/x64/bin/npm /usr/bin/git nly git /usr/bin/git git (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login -bool -buildtags ode_modules/.bin/sh -errorsas -ifaceassert -nilfunc tail -50 json' --ignore-path ../../../.pr**/*.json -tests ules/.bin/node l (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login ithub/workflows -buildtags /usr/bin/gcc -errorsas -ifaceassert -nilfunc gcc -###�� json' --ignore-path ../../../.pr**/*.json c (http block)

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

Original prompt

Update the compiler to move all the prompt rendering steps after checkout and before custom steps from the front matter.

Also move generate aw_info.json as early as possible in the actions job steps.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 16, 2026 19:29
….json earlier

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan closed this Feb 16, 2026
Copilot AI changed the title [WIP] Update compiler to reorder prompt rendering and JSON generation Reorder workflow steps: prompt rendering after checkout, aw_info.json earlier Feb 16, 2026
Copilot AI requested a review from pelikhan February 16, 2026 19:37
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.

2 participants

Comments