Skip to content

Fix GH_AW_STOP_TIME YAML type error causing schema validation failures#22490

Merged
pelikhan merged 2 commits intomainfrom
copilot/68242615614-fix-github-actions-workflow
Mar 23, 2026
Merged

Fix GH_AW_STOP_TIME YAML type error causing schema validation failures#22490
pelikhan merged 2 commits intomainfrom
copilot/68242615614-fix-github-actions-workflow

Conversation

Copy link
Contributor

Copilot AI commented Mar 23, 2026

Unquoted datetime strings like 2026-03-03 16:27:58 are parsed by YAML as time.Time objects, not strings. This caused ci-doctor.md and daily-team-status.md to fail GitHub Actions schema validation (invalid jsonType time.Time on env var GH_AW_STOP_TIME), breaking make recompile (175/177 workflows).

Changes

  • compiler_pre_activation_job.go: Changed %s%q when emitting GH_AW_STOP_TIME so the value is quoted in generated YAML:

    # Before — parsed as time.Time, fails schema validation
    GH_AW_STOP_TIME: 2026-03-03 16:27:58
    
    # After — parsed as string
    GH_AW_STOP_TIME: "2026-03-03 16:27:58"
  • stop_after.go: Updated legacy ExtractStopTimeFromLockFile to strip surrounding quotes from the extracted value, maintaining backward compatibility with both old (unquoted) and new (quoted) lock files.

  • stop_after_test.go: Added test case for quoted stop time format.

  • Lock files: All 177 workflow lock files recompiled; previously 2 were producing .invalid.yml instead of .lock.yml.

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 (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 372e2ff0 (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 ota=5% yHigh=170M (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 schema git /node ithub/workflows rev-parse /usr/bin/git ache/go/1.25.0/x64/pkg/tool/linu-f /pre�� se 2695614/b044/vet.cfg .cfg ithub/workflows rev-parse /usr/bin/git ache/go/1.25.0/x64/pkg/tool/linurev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name --show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/compile /usr/bin/git /tmp/go-build127git resolved$ /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git user.name Test User /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha user.email test@example.com /usr/bin/git on' --ignore-patgit -trimpath me: String!) { --show-toplevel git rev-�� --show-toplevel /opt/hostedtoolc-test.v=true /usr/bin/git ./../pkg/workflogit -buildtags x_amd64/cgo git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --show-toplevel git /usr/bin/git ithub-script/gitgit ache/go/1.25.0/xrev-parse /usr/bin/git git rev-�� --show-toplevel git (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 8219932/b439/styles.test ../../../**/*.json 0/x64/bin/node --ignore-path ../../../.prettirev-parse 64/pkg/tool/linu--show-toplevel 0/x64/bin/node -ato�� e: ${{ secrets.TOKEN }} -buildtags 8219932/b439/_pkg_.a -errorsas -ifaceassert -nilfunc git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha f/tags/v999.999.999 git /usr/bin/git --show-toplevel x_amd64/link /usr/bin/git git rev-�� ub/workflows git /usr/bin/git --show-toplevel Ow/jG6_rEyOtDiQ8rev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha k/gh-aw/gh-aw/.github/workflows config /usr/bin/infocmp remote.origin.urgh rev-parse /usr/bin/git infocmp -1 30/001/test-comp--workflow git k/gh-aw/gh-aw/no--limit /home/REDACTED/worgit config (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha /usr/bin/git /opt/hostedtoolc-trimpath /usr/bin/git le-frontmatter.mgit /tmp/go-build369rev-parse x_amd64/link git rev-�� --show-toplevel x_amd64/link /usr/bin/git '**/*.ts' '**/*.git -test.timeout=10rev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel erignore /usr/bin/git S6lBtndrk rev-parse ache/go/1.25.0/x--show-toplevel git rev-�� --show-toplevel git n-dir/node /home/REDACTED/worgit stmain.go ache/go/1.25.0/x--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 /tmp/TestHashConsistency_GoAndJavaScript1100778430/001/test-frontmatter-with-nested-objects.md ache/go/1.25.0/x/tmp/go-build1278219932/b125/vet.cfg /usr/bin/git -v origin ache/go/1.25.0/x--show-toplevel git -C /tmp/gh-aw-test-runs/20260323-192516-23702/test-2043346421 rev-parse /usr/bin/git @{u} git me: String!) { --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha /tmp/go-build1278219932/b444/_pkg_.a -trimpath /usr/bin/git -p github.com/githurev-parse -lang=go1.25 git rev-�� --show-toplevel -goversion /usr/bin/git -c=4 -nolocalimports -importcfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/link /usr/bin/git ger.test config ortcfg.link git rev-�� --show-toplevel kmIpjEVxgPIJbBLrkR/yyjxJESSHc3089fRgrZr/aHz0DOVU--jq /usr/bin/git rite '../../../*git -f g_.a 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 --noprofile git /prettier /home/REDACTED/wornode rev-parse repository(ownerun ache/go/1.25.0/xformat:pkg-json --no�� --noprofile git .cfg ithub/workflows 372e2ff0 /usr/bin/infocmp--noprofile ache/go/1.25.0/x64/pkg/tool/linu-f (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha h ../../../.pret.prettierignore 2695614/b140/vet--log-level=error .cfg ithub/workflows rev-parse /usr/bin/git ache/go/1.25.0/x64/pkg/tool/linurev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha h ../../../.prettierignore 2695614/b207/vet.cfg modules/@npmcli/run-script/lib/node-gyp-bin/node ithub/workflows config iginal ache/go/1.25.0/x64/pkg/tool/linuconfig (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 /tmp/TestHashConsistency_GoAndJavaScript1100778430/001/test-frontmatter-with-nested-objects.md ache/go/1.25.0/x-trimpath (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel sh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git e:]]*"\([^"]*\)"git /opt/hostedtoolcrev-parse /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --show-toplevel git /usr/bin/git mpiledOutput2027node git /usr/bin/systemd-tmpfiles git init�� /usr/bin/git systemd-tmpfiles /usr/bin/git .cfg git /usr/bin/git 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 test/race-image:v1.0.0 l /usr/bin/git ithub/workflows origin repository(owne--show-toplevel git comm�� -m Add workflow /usr/bin/git json' --ignore-pgit git 2695614/b250/vet--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha Onlymin-integrity_with_repos=public_1604012084/0remote.origin.url git /usr/bin/git --show-toplevel sh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel /opt/hostedtoolcrev-parse /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel git test git conf�� --get remote.origin.url /usr/bin/git --show-toplevel git /usr/bin/git 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 8219932/b432/_pkg_.a x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha --show-toplevel git /usr/lib/git-core/git --show-toplevel /home/REDACTED/worrev-parse /usr/bin/git /usr/lib/git-core/git main�� run --auto /usr/bin/git --detach /opt/hostedtoolcrev-parse /usr/bin/infocmp--show-toplevel 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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq .object.sha ithub/workflows rev-parse r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility get --local p/bin/bash copilot.original/usr/bin/gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility /home/REDACTED/worremote.origin.url rev-parse /usr/bin/git -main/dist/index/usr/bin/gh (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 runs/20260323-192516-23702/test-1810704217/.github/workflows **/*.cjs /home/REDACTED/work/gh-aw/node_modules/.bin/sh **/*.json --ignore-path ../../../.pretti--show-toplevel 8219932/b123/importcfg -c k/gh-aw/gh-aw/.github/workflows k/gh-aw/gh-aw/cmd/gh-aw/capitalization_test.go ache/node/24.14.0/x64/bin/node rror config 64/pkg/tool/linu--show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel d9209fZiei3I9/xFPodnVS6yKb0uDJLdnS/Udvcv0X-yux_L8xNZelY/T0EekWPd9209fZiei3I9 /usr/lib/git-core/git-upload-pack ry=1 /opt/hostedtoolcrev-parse che/go-build/14/--show-toplevel git-upload-pack orig�� me: String!) { --show-toplevel git 64/pkg/tool/linux_amd64/asm --git-dir /opt/hostedtoolcrev-parse /opt/hostedtoolc--show-toplevel 64/pkg/tool/linux_amd64/asm (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 runs/20260323-192516-23702/test-1810704217/.github/workflows **/*.cjs 8219932/b299/vet.cfg **/*.json --ignore-path ../../../.pretti--show-toplevel sh -c k/gh-aw/gh-aw 64/pkg/tool/linurev-parse ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet rror .cfg repository(owne--show-toplevel ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq .object.sha --show-toplevel git /usr/bin/bash user.email test@example.comrev-parse /usr/bin/git bash /tmp�� sh git 64/bin/bash -lang=go1.17 /opt/hostedtoolcrev-parse /usr/bin/git git (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 -buildtags x_amd64/link l -ifaceassert DiscussionsEnabled } } x_amd64/link -20 */*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore -tests x_amd64/link ithub/workflows rev-parse /usr/bin/infocmp--git-dir x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 git /usr/bin/git --show-toplevel ache/go/1.25.0/xrev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel node /usr/bin/git 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 -buildtags x_amd64/compile -errorsas -ifaceassert -nilfunc x_amd64/compile --no�� */*.ts' '**/*.json' --ignore-patremote.origin.url -tests de/node/bin/sh l config DiscussionsEnabl--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 git /usr/bin/git --show-toplevel tutil.test /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel node /usr/bin/git 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 -buildtags x_amd64/vet CheckStopTime|Tegit -ifaceassert -nilfunc x_amd64/vet --no�� */*.ts' '**/*.json' --ignore-patgo1.25.0 -tests 0/x64/bin/sh ithub/workflows rev-parse (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel node /usr/bin/git 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 -buildtags er: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabl/home/REDACTED/work/gh-aw/gh-aw/.github/workflows/archie.md -errorsas -ifaceassert -nilfunc make reco�� */*.ts' '**/*.json' --ignore-patremote.origin.url -tests /usr/bin/infocmp ithub/workflows config DiscussionsEnabl--show-toplevel infocmp (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 -importcfg /usr/bin/git -s -w -buildmode=exe git rev-�� 2825-29377/test-510341886/.github/workflows -extld=gcc /usr/bin/git --show-toplevel node /usr/bin/git 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 -buildtags x_amd64/compile -errorsas -ifaceassert ed } } x_amd64/compile -c */*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore -tests /usr/bin/git l rev-parse /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git rev-�� --show-toplevel -tests ache/go/1.25.0/x64/pkg/tool/linux_amd64/link --show-toplevel node /usr/bin/git ache/go/1.25.0/x64/pkg/tool/linux_amd64/link (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 -buildtags 0/x64/bin/sh -errorsas -ifaceassert -nilfunc /bin/sh -c */*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore -tests 0/x64/bin/npx /home/REDACTED/worgit config (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 -test.timeout=10m0s _.a --show-toplevel ache/go/1.25.0/xrev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel sh /usr/bin/git 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 /tmp/go-build3692695614/b321/vet.cfg x_amd64/link l git ed } } x_amd64/link .git�� */*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore /usr/bin/gh tions/setup/js/node_modules/.bin/node l -f me: String!) { --show-toplevel ef/N6GE9dzJuLpfUe9tz4e_/ThKvzodBlPIPkS6j74YO (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 git /usr/bin/git --show-toplevel ache/go/1.25.0/xconfig /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git nPathSetup_Goroogit sh /usr/bin/git 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 --noprofile git ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet ithub/workflows rev-parse repository(ownenpx prettier --write '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path ache/go/1.25.0/x64/pkg/tool/linurev-parse /pre�� se 2695614/b042/vet.cfg .cfg k/gh-aw/gh-aw/.gbash rev-parse me: String!) { --noprofile ache/go/1.25.0/x64/pkg/tool/linurev-parse (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 bash r: $owner, name:-bool ache/go/1.25.0/x-buildtags /pre�� ithub/workflows 2695614/b260/vet-ifaceassert /usr/bin/bash view @sentry/mcp-servrev-parse (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 -ifaceassert -nilfunc bash 0/x6�� k/gh-aw/gh-aw/.github/workflows -tests 0/x64/bin/node ithub/workflows -f /usr/bin/git /usr/bin/gh (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 '**/*.ts' '**/*.--detach -buildtags /usr/bin/infocmp l -ifaceassert -nilfunc 7KRlb0f/T36gUPQZXFjOiSQ6baL5 -1 ithout_min-integrity2859845719/001 -tests ode k/gh-aw/gh-aw/.ggit rev-parse DiscussionsEnabled } } infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet /usr/bin/git npx prettier --wgit x_amd64/vet /usr/local/sbin/--show-toplevel git rev-�� --show-toplevel sh /usr/bin/git "prettier" --wrigit 64/pkg/tool/linurev-parse ache/go/1.25.0/x--show-toplevel git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha ithub/workflows 2695614/b117/vet.cfg ache/go/1.25.0/x64/pkg/tool/linu-f ithub/workflows config er: String!, $na-bool ache/go/1.25.0/x-buildtags --no�� ithub/workflows /usr/bin/gh ache/go/1.25.0/x-nilfunc graphql -f r: $owner, name:--show-toplevel ache/go/1.25.0/x-tests (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel x_amd64/compile /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha se 2695614/b101/vet.cfg repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } /home/REDACTED/wor/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet rev-parse /usr/bin/git ache/go/1.25.0/x-buildtags buil�� r: $owner, name:-errorsas git repository(owne-nilfunc ithub/workflows config ed } } ache/go/1.25.0/x-tests (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha w/js/**/*.json' --ignore-path 2695614/b080/vet../../../.prettierignore repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } graphql -f me: String!) { -bool ache/go/1.25.0/x-buildtags ortc�� echo "Syncing in-errorsas stmain.go ode_modules/.bin-nilfunc ithub/workflows config ed } } ache/go/1.25.0/xrev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha w/js/**/*.json' --ignore-path 2695614/b165/vet../../../.prettierignore repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } /home/REDACTED/wor/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/compile rev-parse me: String!) { /tmp/go-build1278219932/b409/_pkg_.a ache/go/1.25.0/x-trimpath -c log.showsignatur-p log ache/go/1.25.0/x-lang=go1.25 --format=%H:%ct git ed } } /opt/hostedtoolc-dwarf=false (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 w/js/**/*.json' --ignore-path git ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet ithub/workflows rev-parse (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel bash /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git image:v1.0.0 /usr/libexec/docrev-parse /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 ithub/workflows mcp/markitdown /usr/bin/git k/gh-aw/gh-aw/.ghead config DiscussionsEnabled } } git -C k/gh-aw/gh-aw/.github/workflows config (http block)
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/# --jq .object.sha ithub/workflows latest /home/REDACTED/.lo-nilfunc k/gh-aw/gh-aw/.ggit (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 ty-test.md -buildtags At,event,headBranch,headSha,displayTitle -errorsas -ifaceassert -nilfunc git -C ut1059983914/001 config x_amd64/compile remote.origin.urgit rev-parse /usr/bin/git x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha --show-toplevel ache/go/1.25.0/x64/pkg/tool/linux_amd64/link /usr/bin/git 31 x_amd64/vet 8219932/b400/imp--show-toplevel git rev-�� --show-toplevel 1QpemnTAkmSNB/27jvvwvFWb79oV_jAgOw/jG6_rEyOtDiQ8Test User /usr/bin/gh licyBlockedUsersgit 64/pkg/tool/linurev-parse ache/go/1.25.0/x--show-toplevel gh (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 -errorsas -ifaceassert ed } } git tion�� --show-toplevel -tests /usr/bin/infocmp ithub/workflows config /usr/bin/gh infocmp (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion --show-toplevel ache/go/1.25.0/xrev-parse /usr/bin/git git rev-�� 2825-29377/test-1198858185/.github/workflows git /usr/bin/git --show-toplevel 1QpemnTAkmSNB/27rev-parse /usr/bin/gh 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 repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } ithub/workflows rev-parse /usr/bin/git ache/go/1.25.0/x64/pkg/tool/linurev-parse (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } /home/REDACTED/wornode rev-parse (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo /usr/bin/git -unreachable=falgit /tmp/go-build127rev-parse /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel node /usr/bin/cut /home/REDACTED/worgit /opt/hostedtoolcrev-parse /usr/bin/git cut (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build1278219932/b400/cli.test /tmp/go-build1278219932/b400/cli.test -test.testlogfile=/tmp/go-build1278219932/b400/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true k/gh-aw/gh-aw/.gprettier k/gh-aw/gh-aw/.g--write k/gh-aw/gh-aw/.gscripts/**/*.js ache/go/1.25.0/x--ignore-path (http block)
    • Triggering command: /tmp/go-build261484317/b376/cli.test /tmp/go-build261484317/b376/cli.test -test.testlogfile=/tmp/go-build261484317/b376/testlog.txt -test.paniconexit0 -test.timeout=10m0s rev-�� --show-toplevel git x_amd64/link add origin /usr/bin/git x_amd64/link rev-�� --show-toplevel git /usr/bin/git er: String!, $nagit ache/go/1.25.0/xrev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --noprofile /usr/bin/gh ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet k/gh-aw/gh-aw/.gsh -f r: $owner, name:npx prettier --write '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path ache/go/1.25.0/x64/pkg/tool/linurev-parse /pre�� se 2695614/b005/vet.cfg .cfg i-doctor.invalidgcc -f me: String!) { -x ache/go/1.25.0/xc (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --show-toplevel git /usr/bin/find -stringintconv -tests /usr/bin/git find /opt�� -maxdepth 4 /usr/bin/git d -name bin git (http block)

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

Original prompt

Fix the failing GitHub Actions workflow build
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 68242615614
Job URL: https://github.com/github/gh-aw/actions/runs/23455252204/job/68242615614


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

… time.Time parsing

The stop time value written to compiled workflow YAML (e.g. '2026-03-03 16:27:58')
was unquoted, causing YAML parsers to interpret it as time.Time instead of a string.
This failed the GitHub Actions JSON schema validation for env var values.

- Quote GH_AW_STOP_TIME using %q in compiler_pre_activation_job.go
- Update legacy ExtractStopTimeFromLockFile to strip surrounding quotes
- Add test case for quoted stop time format
- Regenerate all 177 workflow lock files (was 175/177 compiling)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c163050b-2cf4-424f-9c20-58956fe03d98
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow build Fix GH_AW_STOP_TIME YAML type error causing schema validation failures Mar 23, 2026
Copilot AI requested a review from pelikhan March 23, 2026 19:36
@pelikhan pelikhan marked this pull request as ready for review March 23, 2026 19:45
Copilot AI review requested due to automatic review settings March 23, 2026 19:45
@pelikhan pelikhan merged commit 151b0e1 into main Mar 23, 2026
49 of 50 checks passed
@pelikhan pelikhan deleted the copilot/68242615614-fix-github-actions-workflow branch March 23, 2026 19:45
Copy link
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

Fixes GitHub Actions workflow schema validation failures caused by unquoted GH_AW_STOP_TIME values being parsed by YAML as time.Time instead of strings.

Changes:

  • Quote GH_AW_STOP_TIME when generating pre-activation job YAML (%s%q) so it’s always emitted as a YAML string.
  • Make legacy ExtractStopTimeFromLockFile tolerant of quoted stop times by stripping surrounding " characters.
  • Add a unit test covering the new quoted stop time format and recompile affected workflow lock files.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pkg/workflow/compiler_pre_activation_job.go Emit GH_AW_STOP_TIME as a quoted YAML string to satisfy Actions schema validation.
pkg/workflow/stop_after.go Strip surrounding quotes when extracting GH_AW_STOP_TIME from legacy lock file bodies.
pkg/workflow/stop_after_test.go Add coverage for quoted GH_AW_STOP_TIME extraction behavior.
.github/workflows/daily-team-status.lock.yml Recompiled lock output now quotes GH_AW_STOP_TIME.
.github/workflows/ci-doctor.lock.yml Recompiled lock output now quotes GH_AW_STOP_TIME.

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

// Strip ANSI escape codes from stop-time value
cleanStopTime := stringutil.StripANSI(data.StopTime)
steps = append(steps, fmt.Sprintf(" GH_AW_STOP_TIME: %s\n", cleanStopTime))
steps = append(steps, fmt.Sprintf(" GH_AW_STOP_TIME: %q\n", cleanStopTime))
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

Switching GH_AW_STOP_TIME emission to %q means the compiled YAML now contains a quoted timestamp. The integration test pkg/workflow/time_delta_integration_test.go currently parses the value by trimming whitespace and then calling time.Parse("2006-01-02 15:04:05", timestamp) without stripping quotes, so it will fail when run with -tags integration. Consider updating that test (or factoring out a shared helper) to trim surrounding quotes before parsing.

Suggested change
steps = append(steps, fmt.Sprintf(" GH_AW_STOP_TIME: %q\n", cleanStopTime))
steps = append(steps, fmt.Sprintf(" GH_AW_STOP_TIME: %s\n", cleanStopTime))

Copilot uses AI. Check for mistakes.
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.

3 participants