Skip to content

Reduce ParseWorkflow regression by optimizing frontmatter delimiter parsing#31583

Merged
pelikhan merged 8 commits into
mainfrom
copilot/fix-parse-workflow-performance
May 11, 2026
Merged

Reduce ParseWorkflow regression by optimizing frontmatter delimiter parsing#31583
pelikhan merged 8 commits into
mainfrom
copilot/fix-parse-workflow-performance

Conversation

Copilot AI commented May 11, 2026

Copy link
Copy Markdown
Contributor

✨ Enhancement

ParseWorkflow regressed by ~20.6% versus historical baseline (309µs vs 256µs). This change focuses on the frontmatter parsing hot path where delimiter detection and content string handling introduced avoidable overhead.

  • What does this improve?

    • Lowers overhead in ParseWorkflow by reducing work in frontmatter delimiter checks and repeated byte→string conversions.
    • Preserves frontmatter parsing behavior, including whitespace-tolerant delimiter handling.
  • Why is this valuable?

    • ParseWorkflow is on the critical path for compilation; small per-parse overhead compounds across workflows and CI runs.
    • Targets the identified regression area without broad refactors.
  • Implementation approach:

    • Hot-path delimiter optimization
      • Added isFrontmatterDelimiterLine(line string) in pkg/parser/frontmatter_content.go.
      • Replaced repeated strings.TrimSpace(...) == "---" calls in delimiter detection with a fast-path implementation (exact match + ASCII whitespace trim) and Unicode-safe fallback.
    • Avoid repeated string conversions
      • In pkg/workflow/compiler_orchestrator_frontmatter.go, convert file content to string once (contentString) and reuse across parsing, error formatting, and schedule preprocessing.
    • Behavioral guardrail
      • Added focused extraction coverage in pkg/parser/frontmatter_extraction_test.go for delimiters with surrounding whitespace and CRLF.
func isFrontmatterDelimiterLine(line string) bool {
	if line == "---" || line == "---\r" {
		return true
	}
	// fast ASCII trim + exact delimiter check, with TrimSpace fallback
	return strings.TrimSpace(line) == "---"
}

Copilot AI and others added 3 commits May 11, 2026 21:05
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix regression in ParseWorkflow performance by 20.6% Reduce ParseWorkflow regression by optimizing frontmatter delimiter parsing May 11, 2026
Copilot AI requested a review from pelikhan May 11, 2026 21:16
@pelikhan pelikhan marked this pull request as ready for review May 11, 2026 22:09
Copilot AI review requested due to automatic review settings May 11, 2026 22:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Optimizes the ParseWorkflow hot path by reducing work in frontmatter delimiter detection and avoiding repeated []bytestring conversions, while adding a regression-focused test for whitespace/CRLF delimiter handling.

Changes:

  • Added a fast-path isFrontmatterDelimiterLine helper to reduce overhead in frontmatter delimiter checks.
  • Reused a single contentString in the compiler’s frontmatter parsing flow to avoid repeated conversions.
  • Added a focused extraction test for delimiters with surrounding whitespace and CRLF line endings.
  • Updated action pin metadata and regenerated a locked workflow file.
Show a summary per file
File Description
pkg/parser/frontmatter_content.go Replaces TrimSpace(...) == "---" delimiter checks with an optimized helper plus Unicode-safe fallback.
pkg/workflow/compiler_orchestrator_frontmatter.go Converts workflow file bytes to a string once and reuses it across parsing/error/reporting paths.
pkg/parser/frontmatter_extraction_test.go Adds coverage for whitespace-tolerant frontmatter delimiters and CRLF input.
pkg/workflow/data/action_pins.json Adds a new pinned action entry for github/gh-aw-actions/setup@v0.71.5.
pkg/actionpins/data/action_pins.json Mirrors the same new pinned action entry for setup.
.github/workflows/issue-arborist.lock.yml Regenerates lock content and updates Codex invocation argument formatting.

Copilot's findings

Tip

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

  • Files reviewed: 6/6 changed files
  • Comments generated: 2

Comment on lines +161 to +165
"github/gh-aw-actions/setup@v0.71.5": {
"repo": "github/gh-aw-actions/setup",
"version": "v0.71.5",
"sha": "b8068426813005612b960b5ab0b8bd2c27142323"
},
Comment on lines +161 to +165
"github/gh-aw-actions/setup@v0.71.5": {
"repo": "github/gh-aw-actions/setup",
"version": "v0.71.5",
"sha": "b8068426813005612b960b5ab0b8bd2c27142323"
},
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot merge main, review all comments, recompile

Copilot AI and others added 3 commits May 11, 2026 22:38
…kflow-performance

# Conflicts:
#	.github/workflows/issue-arborist.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/355f4283-dea2-411d-a18d-579513ada771

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/355f4283-dea2-411d-a18d-579513ada771

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

@copilot merge main, review all comments, recompile

Merged origin/main, resolved conflicts, reviewed the prior reviewer notes, and recompiled workflows in 81a930e (plus cleanup commit fc59a1f).

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 -pack /home/REDACTED/work/gh-aw/gh-aw/cmd/gh-aw/main.go (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 ,short (http block)
  • https://api.github.com/orgs/owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name ithub/workflows (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/owner/actions/secrets --jq .secrets[].name ath ../../../.pr**/*.json --jq inPathSetup_Goro../../../.prettierignore .js&#39; --ignore-pash -f tions/node_modul&#34;prettier&#34; --write &#39;../../../**/*.json&#39; &#39;!../../../pkg/workflow/js/**/*.json&#39; ---errorsas gh er /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/gh xterm-color (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 npx prettier --write &#39;**/*.cjs&#39; remote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name ath ../../../.pr.prettierignore x_amd64/vet (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9.0.0 on Name,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle /../../.prettiergh erignore r: $owner, name:/repos/actions/github-script/git/ref/tags/v9 node t-ha�� 499/001/workflow.md =main (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv te &#39;../../../**/*.json&#39; &#39;!../../../pkg/workflow/js/**/*.json&#39; --ignore-path ../../../.prettieriggh git ache/go/1.25.8/x64/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, .object.type] | @tsv *.json&#39; &#39;!../../-f --local ache/go/1.25.8/x-f core.hooksPath (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv view -- k/gh-aw/gh-aw/node_modules/.bin/sh name (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq 1/x64/bin/node ignore l /usr/bin/gh gh t-ha�� vaScript3109331241/001/test-complex-frontmatter-with-tools.md --jq tartedAt,updatedAt,event,headBranch,headSha,displayTitle repos/{owner}/{rgh s/test.md ode-gyp-bin/nodeview gh (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 1526049109/.github/workflows (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv itattributes-test2027269802/.github/workflows --write repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } **/*.ts **/*.json --ignore-path 9497389/b437/par--jq e=/t�� t0 git 64/pkg/tool/linux_amd64/vet m0s .lock.yml (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv s/test.md sh /opt/hostedtoolcache/node/24.14.1/x64/bin/node ithub/workflows (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv get e-workflow-performance ules/.bin/sh credential.userngit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv y_with_repos=public_3507787677/001 show 64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/actions/download-artifact/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv mkcert --CAROOT (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 -ignore_readdir_race -lname /opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/n/tmp/gh-aw/aw-master.patch -exec touch -c sh -c -instructions-test-2254745349/.github/workflows docker-compose /usr/bin/git --exclude-standahead --others /home/REDACTED/.lo/tmp/gh-aw/aw-feature-branch.patch git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv &#34;prettier&#34; --write &#39;../../../**/*.json&#39; &#39;!../../../pkg/workflow/js/**/*.json&#39; ---errorsas erignore /usr/bin/git --exclude-standabash --others r: $owner, name: $name) { has/repos/actions/github-script/git/ref/tags/v9 git -C /tmp/gh-aw-test-runs/20260511-223929-11434/test-source-field-variant-1383955547/.github/workflowgh config /usr/bin/git remote.origin.urinfocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv 3 infocmp ache/node/24.14.1/x64/bin/node ithub-script/git/usr/libexec/docker/cli-plugins/docker-compose -348430175/new.mdocker-cli-plugin-metadata bject.type] | @tsv node t-22�� k/gh-aw/gh-aw/.github/workflows/architecture-guardian.md --write (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv ithub/workflows on tnet/tools/bash /../../.prettiersed erignore (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv ithub/workflows (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9.0.0
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv -t on me: String!) { repository(owne-f /../../.prettier/usr/bin/php8.3 erignore (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv ithub/workflows (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv --noprofile (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 vaScript666392253/001/test-simple-frontmatter.md config /home/REDACTED/.local/bin/bash remote.origin.urgh r r: $owner, name:/repos/actions/github-script/git/ref/tags/v9 bash --no�� 3929-11434/test-2086226650/.github/workflows s e/git /../../.prettiergh --local $name) { has/repos/actions/github-script/git/ref/tags/v9 e/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv te &#39;scripts/**/*.js&#39; --ignore-path .prettierignore --log-level=e!../../../pkg/workflow/js/**/*.jgh elp_text_test.go p/bin/sh n_test.go ctions-build/mai-1 enerate-action-mxterm-color ctionpins.go ctio�� /ref/tags/v9 nomaly.go sv om/github/gh-aw.infocmp remote.origin.ur-1 /usr/bin/git /opt/hostedtoolcache/go/1.25.8/x64/bin/gofmt (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 8391/001/stability-test.md (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 config sv remote.origin.urgh r $name) { has/repos/actions/github-script/git/ref/tags/v9 bash k/gh�� --noprofile on e/git /../../.prettiergh erignore k/_temp/ghcca-no/repos/actions/github-script/git/ref/tags/v9 e/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 1999625994 &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch1271671180/001&#39; 9497389/b125/vet.cfg **/*.json --ignore-path ../../../.prettixterm-color sh -c licyMinIntegrityOnlymin-integrity_with_explicit_repo2275194/001 64/pkg/tool/linuconfig /tmp/go-build1669497389/b070/gh-aw.test rite &#39;scripts/**ls copilot/fix-pars-lh repository(owne/tmp/gh-aw/aw-master.patch /tmp/go-build1669497389/b070/gh-aw.test (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv get e-workflow-performance $name) { hasDiscussionsEnabled } } user.name (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv 3/001/test-frontmatter-with-arrays.md show 64/pkg/tool/linux_amd64/compile (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 mpiledOutput4129070592/001 -f 64/pkg/tool/linux_amd64/vet son owner=github -f 64/pkg/tool/linu--jq api (http block)
    • Triggering command: `/usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @TSV 1036563275/.github/workflows node nfig/composer/vendor/bin/git ithub-script/gitgh ../../../**/*.jsapi bject.type] | @t/repos/actions/github-script/git/ref/tags/v9 infocmp tion�� 645764704 n and recompile workflows

Agent-Logs-Url: REDACTED 1/x64/bin/node ignore` (http block)

  • https://api.github.com/repos/aws-actions/configure-aws-credentials/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv 1999625994 **/*.cjs /home/REDACTED/.config/composer/vendor/bin/sh =receive --ignore-path ../../../.prettixterm-color (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --write **/*.cjs /home/REDACTED/work/_temp/uv-python-dir/node =receive --ignore-path ../../../.prettiinstall (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv npx prettier --write &#39;**/*.cjs&#39; &#39;**/*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.pr--ignore-path git ache/node/24.14.1/x64/bin/node ithub-script/gitinfocmp remote.origin.ur-1 bject.type] | @txterm-color node t-42�� 789/001 scripts/**/*.js /opt/hostedtoolcache/go/1.25.8/xnew (upstream) .prettierignore --log-level=erro-c sv /opt/hostedtoolc/tmp/gh-aw/aw-master.patch (http block)
  • https://api.github.com/repos/azure/login/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --write **/*.cjs 9497389/b403/vet.cfg s --ignore-path ../../../.prettiinstall node /opt�� licyBlockedUsersExpressionCompiledOutput3494895649/001 --write ache/node/24.14.1/x64/bin/node l --ignore-path ../../../.prettirun /opt/hostedtoolc--auto (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv prettier --write 0373235/b399/vet.cfg **/*.ts **/*.json --ignore-path node /opt�� runs/20260511-224117-20437/test-remote.origin.url format:pkg-json /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet 001&#39; 001&#39; bject.type] | @trun /opt/hostedtoolc--auto (http block)
  • https://api.github.com/repos/docker/login-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitbranch_with_h-errorsas &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitbranch_with_h-ifaceassert 1/x64/bin/node **/*.json --ignore-path ../../../.prettiinstall 1/x64/bin/node 9497�� licyBlockedUsersApprovalLabelsCompiledOutput1415533026/001 9497389/b405/_testmain.go ache/node/24.14.1/x64/bin/node !../../../pkg/wogit --ignore-path ../../../.pretti. /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv prettier --write ache/node/24.14.1/x64/bin/node **/*.ts **/*.json --ignore-path node t-37�� 279049716/001 format:pkg-json ache/node/24.14.1/x64/bin/node tierignore ^remote\..*\.gh-add run-script/lib/n. ache/node/24.14.1/x64/bin/node (http block)
  • https://api.github.com/repos/docker/metadata-action/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch .js&#39; --ignore-path .prettierignore --log-level=error --local bin/node user.email (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 3929-11434/test-4288646693/.github/workflows config es/.bin/node remote.origin.urinfocmp --get it bash k/gh�� 3929-11434/test-2285603598 on rkflow/js/**/*.json /../../.prettiergh erignore ock.yml node (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 SameOutput1501988932/001/stabili@{u} --jq e_modules/.bin/sh --get remote.origin.ur-1 erignore sh -c RequiresMinIntegrity2670804283/001 9497389/b405/cli.test ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet lcache /home/rungh node ode-gyp-bin/node/repos/actions/github-script/git/ref/tags/v9 ache/go/1.25.8/x--jq (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 8391/001/stability-test.md -f 64/pkg/tool/linux_amd64/vet -f owner=github (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 1201720465/.github/workflows /opt/hostedtoolcache/go/1.25.8/x--jq util.test /tmp/go-build166/usr/bin/git s/5/artifacts (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 b/workflows -f /usr/bin/gh -f owner=github DiscussionsEnablview /usr/bin/gh api /ref/tags/v9.0.0 -f sv -f owner=github -f 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 2596954217/.github/workflows --jq 64/pkg/tool/linux_amd64/vet ithub-script/git/usr/bin/git head bject.type] | @t-v 64/pkg/tool/linux_amd64/vet api 3691989042 --jq cal/bin/node nore origin /opt/hostedtoolcREDACTED gh (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-05-04 &#34;$k=&#34;.$v[&#34;localrun -main/dist/gh-gplist infocmp -1 ../pkg/workflow/--workflow (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-04-11 --format=format:init DiscussionsEnabled } } git -C ../pkg/workflow/js/**/*.json&#39; ---s erena-mcp-server:latest 1/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-02-10 (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 show x_amd64/vet re --log-level=einfocmp (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 config (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name --jq 64/bin/sh 1999625994 &#39;/tmp/TestParseadd 9497389/b125/vettest.txt gh eWit�� */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.prettierignore --jq ules/.bin/node licyMinIntegritygh 64/pkg/tool/linuapi /tmp/go-build166/repos/actions/github-script/git/ref/tags/v9 gh (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 -f x_amd64/compile l owner=github -f x_amd64/compile -C k/gh-aw/gh-aw/.github/workflows show de_modules/.bin/node l (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 show x_amd64/link -c=4 -nolocalimports -importcfg x_amd64/link -1 xterm-color -pack n-dir/node (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name sh x_amd64/link 81 git ion.lock.yml x_amd64/link -1 */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.prettierignore node b5a226d9daee2794ddd0ad0c8a92615848742946d1e4d41a-d sistency_GoAndJa/usr/bin/git format:pkg-json (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1234567890
    • Triggering command: /usr/bin/gh gh api repos/{owner}/{repo}/actions/runs/1234567890 --jq {databaseId: .id, number: .run_number, url: .html_url, status: .status, conclusion: .conclusion, workflowName: .name, workflowPath: .path, createdAt: .created_at, startedAt: .run_started_at, updatedAt: .updated_at, event: .event, headBranch: .head_branch, h ../../../.pret.prettierignore --write me: String!) { repository(owner: $owner, name:-f **/*.ts **/*.json --ignore-path node er run format:pkg-json k.yml tierignore (http block)
    • Triggering command: /usr/bin/gh gh api repos/{owner}/{repo}/actions/runs/1234567890 --jq {databaseId: .id, number: .run_number, url: .html_url, status: .status, conclusion: .conclusion, workflowName: .name, workflowPath: .path, createdAt: .created_at, startedAt: .run_started_at, updatedAt: .updated_at, event: .event, headBranch: .head_branch, h ../../../.prettierignore git sv /home/REDACTED/wornode show 64/pkg/tool/linu--write e/git -1 w/js/**/*.json&#39; --ignore-path 64/pkg/tool/linu../../../.prettierignore sv 1151059825/custogit (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 show x_amd64/compile re --log-level=egit (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 -f 64/pkg/tool/linux_amd64/asm l owner=github -f 64/pkg/tool/linu--jq -C plorer.md config x86_64/node l (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name --jq h &#39;/tmp/TestParsegit &#39;/tmp/TestParseconfig /opt/hostedtoolcuser.email gh api */*.ts&#39; &#39;**/*.json&#39; --ignore-patremote.origin.url --jq 1/x64/bin/sh runs/20260511-22gh format:pkg-json (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 config 64/bin/gofmt l (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 est 1/x64/lib/node_modules/npm/node_-nilfunc (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 config 4c48c371ce6edb83d6b648df6f652c2e-d remote.origin.urgit (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name --jq de/node/bin/sh mplied **/*.cjs /opt/pipx_bin/shrun gh api */*.ts&#39; &#39;**/*.js--detach --jq ode licyMinIntegritygit 64/pkg/tool/linuconfig clusion,workflowuser.email gh (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 -f 64/bin/gofmt -f owner=github ed } } 64/bin/gofmt -C source-field-variant-338214539/.github/workflows atted/golang/pkg/flatted/flatted.go o (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 -f 64/bin/sh -f owner=github DiscussionsEnabl-m git -C &#39;**/*.ts&#39; &#39;**/*.json&#39; --ignore-pgo1.25.8 show x86_64/node (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name --jq (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 go x_amd64/vet re --log-level=einfocmp (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name e/git bject.type] | @tsv 3 **/*.cjs 1/x64/bin/node infocmp -1 LsRemoteWithRealGitcustom_branch1335649958/001&#39; LsRemoteWithRealGitcustom_branch1335649958/001&#39; bject.type] | @tsv sistency_GoAndJagit 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 npx prettier --write &#39;**/*.cjs&#39; -f (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build1669497389/b405/cli.test /tmp/go-build1669497389/b405/cli.test -test.testlogfile=/tmp/go-build1669497389/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true erignore --property=CPUQu/home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/pre�� --property=Memor--write e/git-remote-htt**/*.cjs /opt�� ath ../../../.pr**/*.json format:cjs ml (http block)
    • Triggering command: /tmp/go-build1490373235/b405/cli.test /tmp/go-build1490373235/b405/cli.test -test.testlogfile=/tmp/go-build1490373235/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true base (original) -L new (upstream) infocmp -1 /ref/tags/v9 /tmp/gh-aw-merge-878420222/new.md sv /\1/p show 1/x64/lib/node_m--write infocmp (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 scripts/**/*.js --ignore-path ache/node/24.14.1/x64/bin/node --log-level=erroinfocmp origin /snap/bin/sh node t-35�� sistency_KeyOrdering1898968513/001/test2.md ../../../**/*.json ache/node/24.14.1/x64/bin/node --ignore-path ../../../.pretti-1 (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 99123432/001 **/*.cjs /home/REDACTED/work/gh-aw/gh-aw/actions/setup/node_modules/.bin/sh **/*.json --ignore-path ../../../.pretti: sh -c licyTrustedUsersCompiledOutput2606997583/001 infocmp /usr/bin/git rror 9497389/b475/_te-c (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 graphql -f $name) { hasDiscussionsEnabled } } -f owner=github -f /usr/bin/gh api .js&#39; --ignore-path .prettierignore --log-level=error -f tions/node_modules/.bin/node -f owner=github -f infocmp (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 re --log-level=error --jq /usr/bin/gh *.json&#39; &#39;!../../git github.com&gt; h gh /pre�� /repos/actions/gremote.origin.url -Logs-Url: REDACTED /usr/bin/gh rite &#39;**/*.cjs&#39; git-upload-pack config in/sh gh (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 js/**/*.json&#39; ---errorsas (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 ithub-script/git/ref/tags/v9 --jq bject.type] | @tsv te &#39;**/*.cjs&#39; &#39;*gh config 64/pkg/tool/linulist infocmp -1 ithub-script/git--repo 64/pkg/tool/linuowner/repo n-dir/bash /home/REDACTED/worgit show ache/node/24.14.user.name infocmp (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 js/**/*.json&#39; ---test.timeout=10m0s pkg/agentdrain/a-test.run=^Test n-detector.lock.-test.short=true l (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 js/**/*.json&#39; ---errorsas (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 js/**/*.json&#39; ---errorsas ../../../**/*.js-ifaceassert me: String!) { -nilfunc l ../../../.pretti-c ed } } /usr/lib/git-corgit-receive-pack &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitbranch_with_hyphen2912128424/001&#39; main�� json&#39; --ignore-path ../../../.pr**/*.json --auto sh l (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 js/**/*.json&#39; ---errorsas (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 /ref/tags/v9 --jq _modules/.bin/sh M-teKS7lY show k/_temp/uv-pytho--get gh api on&#39; --ignore-path ../../../.prettierignore --jq ndor/bin/bash 3929-11434/test-gh ghcr.io/github/sapi ache/go/1.25.8/x/repos/actions/github-script/git/ref/tags/v9 git (http block)
  • https://api.github.com/repos/githubnext/repo-mind-light-aw/git/ref/tags/-
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/repo-mind-light-aw/git/ref/tags/- --jq [.object.sha, .object.type] | @tsv ./../pkg/workfloremote.origin.url (http block)
  • https://api.github.com/repos/google-github-actions/auth/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch1271671180/001&#39; &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitcustom_branch1271671180/001&#39; /usr/local/bin/sh **/*.json --ignore-path ../../../.prettiinstall sh -c licyMinIntegrityOnlyCompiledOutput4207434421/001 git ache/node/24.14.1/x64/bin/node l (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv 3 **/*.cjs /bin/sh s --ignore-path ../../../.prettiinstall /bin/sh -c ithub-script/git/ref/tags/v9 /usr/bin/git repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } tierignore ^remote\..*\.gh--500 sv /opt/hostedtoolcache/go/1.25.8/x--jq (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv report.md config 1/x64/bin/sh remote.origin.urgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/gh xterm-color (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 remote.origin.urgit (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion ithub-script/gitgit git bject.type] | @t--get gh api ab-testing-advisor.md --jq rgo/bin/git runs/20260511-22infocmp ../../../**/*.js-1 /usr/bin/infocmpxterm-color gh (http block)
  • https://api.github.com/repos/owner/repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name npx prettier --wcmd/gh-aw/version_test.go conntrack me: String!) { internal/tools/generate-action-metadata/main.go INVALID,NEW -j DROP sh -c re --log-level=error (http block)
    • Triggering command: /usr/bin/gh gh api /repos/owner/repo/actions/secrets --jq .secrets[].name ath ../../../.pr**/*.json --jq (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 /home/node_modules/.bin/node (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo ti-device-docs-tester.lock.yml (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state /usr/bin/git l (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 npx prettier --w-r :latest (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name led-with-body-content.md git (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch &#39;**/*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.pr**/*.json show kflows/repository-quality-improver.lock.yml (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 2596954217/.gith--limit /opt/hostedtoolc100 64/pkg/tool/linu--created (http block)

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

@pelikhan pelikhan merged commit 69344b8 into main May 11, 2026
22 of 23 checks passed
@pelikhan pelikhan deleted the copilot/fix-parse-workflow-performance branch May 11, 2026 22:58
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.

[performance] Regression in ParseWorkflow: 20.6% slower

3 participants