Skip to content

perf: fix YAMLGeneration regression — eliminate duplicate domain computation and lazy line iteration#29933

Merged
pelikhan merged 3 commits intomainfrom
copilot/performance-fix-yaml-generation
May 3, 2026
Merged

perf: fix YAMLGeneration regression — eliminate duplicate domain computation and lazy line iteration#29933
pelikhan merged 3 commits intomainfrom
copilot/performance-fix-yaml-generation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 3, 2026

BenchmarkYAMLGeneration regressed 21.7% (1.48ms → 1.80ms) due to redundant allocations on every compilation. Profiling identified three hotspots: duplicate domain map+sort, a full []string allocation for YAML line scanning, and string builder reallocations in MCP gateway command construction.

Changes

  • Domain cache pre-warming (compiler_yaml_main_job.go): Call computeAllowedDomainsForSanitization before Phase 4 (agent execution) to populate WorkflowData.CachedAllowedDomainsStr once per compilation.

  • Use cache in all engine GetExecutionSteps (claude, copilot, codex, gemini, pi, crush, opencode): Each engine was unconditionally calling GetXxxAllowedDomainsWithToolsAndRuntimes — a map+sort over 60+ entries — even though computeAllowedDomainsForSanitization already computes the same value later. Now all engines check CachedAllowedDomainsComputed first:

    // Before (each engine):
    allowedDomains := GetClaudeAllowedDomainsWithToolsAndRuntimes(workflowData.NetworkPermissions, ...)
    
    // After:
    if workflowData.CachedAllowedDomainsComputed {
        allowedDomains = workflowData.CachedAllowedDomainsStr
    } else {
        allowedDomains = GetClaudeAllowedDomainsWithToolsAndRuntimes(workflowData.NetworkPermissions, ...)
    }
  • Lazy YAML line iteration (template_injection_validation.go): Replace strings.Split(yamlContent, "\n") with strings.SplitSeq in hasUnsafeExpressionInRunContent, avoiding a ~24KB []string allocation per call on 50KB YAML output.

  • Pre-sized MCP gateway command builder (mcp_setup_generator.go): Grow(2048) on buildMCPGatewayContainerCommand's strings.Builder eliminates 1–2 reallocations from ~40 env flag writes.

Results

Metric Before (regressed) After
ns/op ~1,804,146 ~1,201,167
B/op ~752 KB ~718 KB
allocs/op ~4,000 ~3,955

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 /tmp/go-build164rev-parse 3358306/b331/vet--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/infocmp -unreachable=falinfocmp /tmp/go-build164-1 /opt/hostedtoolcxterm-color infocmp (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 x_amd64/vet /usr/bin/git infocmp -1 xterm-color git (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 /repos/actions/github-script/git/ref/tags/v9 --jq (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 --show-toplevel x_amd64/vet /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 infocmp sv xterm-color git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel gh /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 infocmp sv xterm-color git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/gh 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, .object.type] | @tsv /ref/tags/v9 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel infocmp /usr/bin/git xterm-color gh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git ithub-script/gitgit git bject.type] | @t--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel gh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git ithub-script/gitgit infocmp bject.type] | @t--show-toplevel git (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, .object.type] | @tsv /ref/tags/v9 64/pkg/tool/linux_amd64/vet sv get --local ache/go/1.25.8/xd4e51c7fe832c86ce99ccc615ac6ce87fbce8e7c..HEAD git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/infocmp se 3358306/b017/vetapi .cfg infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git get --local .cfg git rev-�� ithub-script/git/ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet bject.type] | @tsv se 3358306/b022/vet-1 .cfg infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel gh /usr/bin/git /ref/tags/v9 --jq sv git rev-�� --show-toplevel gh /usr/bin/git /repos/actions/ggh --jq /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, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel (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-regexp .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, .object.type] | @tsv get --local .cfg pull.rebase (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 --show-toplevel git $name) { hasDiscussionsEnabled } } --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp --show-toplevel git /usr/bin/git infocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /home/REDACTED/work/gh-aw/gh-aw/.github/workflows erena-mcp-server:latest $name) { hasDiscussionsEnabled } } remote.origin.urgh git /usr/bin/gh git -C /home/REDACTED/work/gh-aw/gh-aw/.github/workflows rev-parse (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 xterm-color ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/git --local commit.gpgsign bash git rev-�� --show-toplevel git /usr/bin/git FETCH_HEAD^{comminfocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 git sv /ref/tags/v9 git sv git rev-�� --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 git sv ithub-script/gitgh git bject.type] | @t/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git (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 diff.go export.go x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv .0.0-20260422141-errorsas (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 /repos/actions/github-script/git/ref/tags/v9 --jq /opt/hostedtoolcache/uv/0.11.8/x86_64/bash (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 --show-toplevel (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 xterm-color (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git HEAD git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git /tmp/gh-aw/aw-magh git /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/git /repos/actions/ggit --jq (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 se 3358306/b096/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet 86_64/bash get .cfg 64/pkg/tool/linu-m git rev-�� ithub-script/git/ref/tags/v9 64/pkg/tool/linux_amd64/vet bject.type] | @tsv get --local ache/go/1.25.8/x--noprofile git (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv --get-regexp .cfg 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, .object.type] | @tsv YAMLGeneration --local .cfg core.hooksPath (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 --local user.email .cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel /opt/hostedtoolcrev-parse /home/REDACTED/wor--show-toplevel git rev-�� ithub-script/git/ref/tags/v9 bash bject.type] | @tsv ithub-script/gitgit /opt/hostedtoolcrev-parse bject.type] | @t--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel infocmp /usr/bin/git git (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv status git /usr/bin/infocmp --show-toplevel gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv ithub-script/gitremote.origin.url --jq r: $owner, name: $name) { hasDiscussionsEnabled } } xterm-color git /usr/bin/gh git rev-�� k/gh-aw/gh-aw/.github/workflows gh (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 --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git get .cfg 64/pkg/tool/linux_amd64/vet git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git 3358306/b355/_pkbash .cfg ache/go/1.25.8/x--noprofile git (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 --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git get --local .cfg git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/gh se 3358306/b028/vetapi .cfg gh (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 --show-toplevel infocmp /usr/bin/git xterm-color git /usr/bin/infocmp--show-toplevel git rev-�� --show-toplevel infocmp /usr/bin/git xterm-color git /usr/bin/git git (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 --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git om/stretchr/testtr om/stretchr/test[:upper:] ache/go/1.25.8/x[:lower:] git rev-�� /ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet sv se 3358306/b011/vetrev-parse .cfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel infocmp /usr/bin/git xterm-color git /usr/bin/infocmp--show-toplevel git rev-�� /ref/tags/v9 infocmp sv xterm-color git /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel head /usr/bin/git */*.ts' '**/*.jsgit git p/bin/bash git rev-�� --show-toplevel iptables /usr/bin/git -t security 64/pkg/tool/linuxterm-color git (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 --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git om/github/gh-aw --local .cfg git rev-�� ithub-script/git/ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet bject.type] | @tsv se 3358306/b012/vetapi .cfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 bash bject.type] | @tsv */*.ts' '**/*.jsgit git ode git rev-�� /ref/tags/v9 iptables sv -t security 64/pkg/tool/linuxterm-color git (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 ithub-script/gitremote.origin.url git bject.type] | @tsv ithub-script/git/usr/bin/gh git bject.type] | @tgraphql git rev-�� def6316056a12d49-f git /usr/bin/git ithub-script/gitgit git bject.type] | @t/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv xterm-color infocmp /usr/bin/git /ref/tags/v9 git sv git rev-�� /ref/tags/v9 | tr '\n' ':')$PATH"; [ -n "$GOROOT" ] && expo r: $owner, name: $name) { hasDiscussionsEnabled } } --show-toplevel git /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ithub/workflows --jq /usr/bin/gh l --jq /usr/bin/git gh api k/gh-aw/gh-aw/.g-f --jq me: String!) { -f --show-toplevel git /usr/bin/gh git (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 /ref/tags/v9 --jq sv /repos/actions/ggit --jq /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git ithub-script/gitgit git bject.type] | @t/home/REDACTED/work/gh-aw/gh-aw git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 --jq sv /repos/actions/ggit --jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 -f sv -f owner=github DiscussionsEnabl/home/REDACTED/work/gh-aw/gh-aw /usr/bin/gh api def6316056a12d4907a9d4d84ff7a3b -f bject.type] | @tsv -f owner=github ed } } git (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch ithub/workflows git /usr/bin/git --show-toplevel bash /usr/bin/infocmp/home/REDACTED/work/gh-aw/gh-aw git rev-�� ithub-script/git/ref/tags/v9 infocmp r: $owner, name: $name) { hasDiscussionsEnabled } } xterm-color git /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch ithub/workflows show /usr/bin/gh l git /usr/bin/infocmp/home/REDACTED/work/gh-aw/gh-aw gh api ithub-script/git/ref/tags/v9 --jq r: $owner, name: $name) { hasDiscussionsEnabled } } xterm-color infocmp ock.yml gh (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv --show-toplevel (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git 64/pkg/tool/linugh git /usr/bin/gh git rev-�� --show-toplevel gh /usr/bin/infocmp /repos/actions/ginfocmp --jq /usr/bin/infocmpxterm-color infocmp (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git ithub-script/gitgh infocmp bject.type] | @t/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel gh /usr/bin/infocmp /repos/actions/ginfocmp --jq /usr/bin/gh infocmp (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 se 3358306/b034/vet.cfg .cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel /opt/hostedtoolcrev-parse /usr/bin/infocmp--show-toplevel git rev-�� ithub-script/git/ref/tags/v9 infocmp bject.type] | @tsv xterm-color git /usr/bin/infocmp--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git /ref/tags/v9 git sv git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv se 3358306/b035/vet.cfg .cfg (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 heckout/git/ref/tags/v5 git bject.type] | @tsv /ref/tags/v9 /opt/hostedtoolcrev-parse sv git rev-�� --show-toplevel infocmp (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 heckout/git/ref/tags/v5 git bject.type] | @tsv --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created >=2026-04-26 node /usr/bin/gh git rev-�� --show-toplevel gh x_amd64/compile /repos/actions/ggit --jq /usr/bin/git x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created >=2026-04-03 node bject.type] | @t--get git rev-�� ithub-script/git/ref/tags/v9 bin 2>/dev/null | tr '\n' ':')$PATH"; [ -n "$GOROOT" ] && expo ache/node/24.14.1/x64/bin/node xterm-color git /usr/bin/git 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 --limit 100 --created >=2026-02-02 node /usr/bin/infocmpuser.name git itcu�� --show-toplevel H" || true && ec-c=4 x_amd64/compile xterm-color git /usr/bin/git x_amd64/compile (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 git ache/node/24.14.1/x64/bin/node --show-toplevel git /usr/bin/gh infocmp _lab�� 2595/001/stabili--limit gh /usr/bin/gh /repos/actions/g/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet --jq (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 gh 64/pkg/tool/linux_amd64/compile tags/v4 --jq sv 64/pkg/tool/linux_amd64/compile _lab�� 1275655068 gh .cfg /repos/actions/ggit --jq /usr/bin/runc git (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 git 64/pkg/tool/linux_amd64/vet --show-toplevel gh /usr/bin/infocmp 64/pkg/tool/linux_amd64/vet _inc�� 2595/001/stability-test.md infocmp k/_temp/uv-python-dir/bash /ref/tags/v9.0.0git gh sv gh (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 git ache/node/24.14.1/x64/bin/node --show-toplevel /usr/bin/gh /usr/bin/git infocmp _inc�� 3961084952 git rgo/bin/bash /ref/tags/v9 gh sv git (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, --show-toplevel infocmp /usr/bin/gh xterm-color 64/pkg/tool/linu-atomic /usr/bin/git gh s /repos/actions/g-errorsas --jq /usr/bin/git --show-toplevel git /usr/bin/git git (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 git 64/pkg/tool/linux_amd64/link ithub-script/gitgit infocmp bject.type] | @t--show-toplevel 64/pkg/tool/linux_amd64/link estl�� eutil.test git ortcfg.link --show-toplevel infocmp /usr/bin/git odp3IL84tZKq5R-8Dk/Exs2fuW_hbdM5nZZzdgr/Win8VWOQconfig (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 git 64/pkg/tool/linux_amd64/link /ref/tags/v9 infocmp sv 64/pkg/tool/linux_amd64/link _inc�� 2595/001/stability-test.md --jq x_amd64/compile --show-toplevel git /usr/bin/git x_amd64/compile (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 git x_amd64/link --show-toplevel git /usr/bin/infocmpxterm-color x_amd64/link _lab�� 1627-73832/test-source-field-variant-3319311702/.github/workflows infocmp /usr/bin/infocmp xterm-color git /usr/bin/git Fr/vLW-tx2f42dcm-MlvCPy/t6M8s7Cmremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 git ger.test /ref/tags/v9 git sv ger.test 2099�� --show-toplevel git .cfg /ref/tags/v9 git sv infocmp (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 git x_amd64/compile --show-toplevel git /usr/bin/gh x_amd64/compile _lab�� 1627-73832/test-source-field-variant-3319311702/.github/workflows gh e/git /repos/actions/ggit --jq /usr/bin/git e/git (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 --jq 64/pkg/tool/linux_amd64/link xterm-color git /usr/bin/infocmp--show-toplevel 64/pkg/tool/linux_amd64/link _lab�� 1275655068 infocmp x_amd64/vet xterm-color infocmp (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 git x_amd64/vet f/tags/v4 git sv x_amd64/vet _lab�� 1627-73832/test-source-field-variant-3319311702/.github/workflows --jq e/git /ref/tags/v9 git sv e/git (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 .cfg .cfg --show-toplevel infocmp /usr/bin/gh infocmp _lab�� 2595/001/stability-test.md gh 9156436/b001/workflow.test /repos/actions/ggit --jq /usr/bin/git 9156436/b001/workflow.test (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 git ache/node/24.14.1/x64/bin/node /ref/tags/v9 gh sv git _lab�� 2595/001/stabili--limit infocmp ck xterm-color git (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 gh ache/node/24.14.1/x64/bin/node /repos/actions/ggit --jq (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --show-toplevel infocmp /usr/bin/gh /ref/tags/v9 git sv gh s ithub-script/git-errorsas --jq (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 infocmp (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 git bject.type] | @tadd infocmp _inc�� xterm-color gh ache/node/24.14.1/x64/bin/node /ref/tags/v9 --jq sv infocmp (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build3209963637/b404/cli.test /tmp/go-build3209963637/b404/cli.test -test.testlogfile=/tmp/go-build3209963637/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true --show-toplevel git (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 /ref/tags/v9 64/pkg/tool/linux_amd64/vet sv get --local ache/go/1.25.8/x--noprofile git rev-�� /ref/tags/v9 ache/go/1.25.8/x64/pkg/tool/linu--jq sv /ref/tags/v9 3358306/b134/vetapi sv git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv /ref/tags/v9 git sv gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel bash /usr/bin/git --noprofile git 64/bin/go git rev-�� /ref/tags/v9 git sv --exclude-standagh e\|TestCopilot\|api cal/bin/node 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, .object.type] | @tsv (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 /ref/tags/v9 git sv --show-toplevel x_amd64/vet /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp --show-toplevel x_amd64/vet /usr/bin/git 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 --show-toplevel gh /usr/bin/git /ref/tags/v9 --jq sv git rev-�� ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel infocmp /usr/bin/git 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, .object.type] | @tsv 1982924492/.github/workflows git x_amd64/cgo --show-toplevel gh /usr/bin/git x_amd64/cgo rev-�� --show-toplevel git x_amd64/vet /ref/tags/v9 node sv x_amd64/vet (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 1982924492 git x_amd64/vet ithub-script/gitnode git bject.type] | @t/tmp/TestHashConsistency_GoAndJavaScript562739776/001/test-simple-frontmatter.md x_amd64/vet ance�� --show-toplevel git x_amd64/compile --show-toplevel node /usr/bin/infocmp/tmp/gh-aw-test-runs/20260503-151627-73832/test-1275655068 x_amd64/compile (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 /ref/tags/v9 git 1/x64/bin/node --show-toplevel infocmp $name) { has/tmp/TestGuardPolicyMinIntegrityOnlyrepos_only_without_min-integrity2181843936/001 gh ance�� ub/workflows --jq 1/x64/bin/node --show-toplevel node (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 /ref/tags/v9 git 1/x64/bin/node ithub-script/gitnode gh bject.type] | @t/tmp/TestHashConsistency_GoAndJavaScript562739776/001/test-complex-frontmatter-with-tools.md gh estl�� ithub-script/git/ref/tags/v9 --jq x_amd64/vet --show-toplevel node /usr/bin/git x_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv --show-toplevel git 1/x64/bin/node --show-toplevel gh /usr/bin/git gh ance�� ub/workflows --jq x_amd64/vet /ref/tags/v9 node sv x_amd64/vet (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 --show-toplevel 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 gh bject.type] | @tsv /ref/tags/v9 --jq sv git rev-�� --show-toplevel gh /usr/bin/git /ref/tags/v9 --jq sv git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel bash /usr/bin/git */*.ts' '**/*.jsgit git tions/setup/node--show-toplevel git rev-�� --show-toplevel iptables /usr/bin/git -t security 64/pkg/tool/linu--show-toplevel git (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel x_amd64/vet /usr/bin/git git rev-�� /ref/tags/v9 git sv --show-toplevel x_amd64/vet /usr/bin/git sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� /ref/tags/v9 git sv --show-toplevel gh /usr/bin/git git (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 xterm-color git /usr/bin/gh git _out�� 6/001/inlined-a.md gh ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm /repos/actions/ggit 908c187b39af1da6rev-parse (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 (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo /usr/bin/gh /ref/tags/v9 64/pkg/tool/linu-o sv gh s ithub-script/git-p --jq (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state k /repos/actions/ggit --jq /usr/bin/git ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet sRem�� --show-toplevel git 64/pkg/tool/linux_amd64/link --show-toplevel infocmp (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 xterm-color git /usr/bin/git --show-toplevel git /usr/bin/infocmp-bool git s --show-toplevel infocmp /usr/bin/git xterm-color git /usr/bin/git git (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 1627-73832/test-add-source-path-1982924492/.github/workflows --jq .cfg --show-toplevel git /usr/bin/infocmp--show-toplevel node js/f�� /usr/bin/infocmp/repos/actions/github-script/git/ref/tags/v9 infocmp ceutil.test ithub-script/git/usr/lib/git-core/git infocmp (http block)

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

Copilot AI and others added 2 commits May 3, 2026 15:23
… and lazy line iteration

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/91a4256b-b44a-46a8-af4a-09f33bf3c05b

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/91a4256b-b44a-46a8-af4a-09f33bf3c05b

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix performance regression in YAML generation perf: fix YAMLGeneration regression — eliminate duplicate domain computation and lazy line iteration May 3, 2026
Copilot AI requested a review from gh-aw-bot May 3, 2026 15:25
@pelikhan pelikhan marked this pull request as ready for review May 3, 2026 15:34
Copilot AI review requested due to automatic review settings May 3, 2026 15:34
@github-actions github-actions Bot mentioned this pull request May 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Performance-focused fix for a YAML generation regression by removing repeated allowed-domain computations, avoiding large intermediate allocations during YAML scanning, and reducing string builder reallocations during MCP gateway command construction.

Changes:

  • Pre-warm and reuse WorkflowData’s allowed-domains cache across engine GetExecutionSteps to avoid repeated map+sort work.
  • Switch template-injection “run:” scanning to lazy line iteration via strings.SplitSeq.
  • Pre-size the MCP gateway strings.Builder to reduce reallocations when writing many -e flags.
Show a summary per file
File Description
pkg/workflow/compiler_yaml_main_job.go Pre-warms allowed-domains cache before generating agent execution steps.
pkg/workflow/claude_engine.go Reuses cached allowed domains when firewall is enabled.
pkg/workflow/codex_engine.go Reuses cached allowed domains when firewall is enabled.
pkg/workflow/gemini_engine.go Reuses cached allowed domains when firewall is enabled.
pkg/workflow/pi_engine.go Reuses cached allowed domains when firewall is enabled.
pkg/workflow/opencode_engine.go Reuses cached allowed domains for model-based allowlisting when available.
pkg/workflow/crush_engine.go Reuses cached allowed domains for model-based allowlisting when available.
pkg/workflow/copilot_engine_execution.go Uses cached allowed domains for non-detection runs.
pkg/workflow/template_injection_validation.go Avoids allocating []string by lazily iterating YAML lines.
pkg/workflow/mcp_setup_generator.go Grows the MCP gateway command builder up-front to reduce reallocations.

Copilot's findings

Tip

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

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

Comment on lines +36 to +38
// operation inside each engine's domain helper. The result is stored on WorkflowData
// and is also used later by generateOutputCollectionStep.
_, _ = c.computeAllowedDomainsForSanitization(data)
Comment on lines 217 to 226
var allowedDomains string
if workflowData.IsDetectionRun {
allowedDomains = GetThreatDetectionAllowedDomains(workflowData.NetworkPermissions)
} else if workflowData.CachedAllowedDomainsComputed {
// Use the pre-warmed cache (populated before GetExecutionSteps is called)
// to avoid re-running the expensive map+sort operation.
allowedDomains = workflowData.CachedAllowedDomainsStr
} else {
allowedDomains = GetCopilotAllowedDomainsWithToolsAndRuntimes(workflowData.NetworkPermissions, workflowData.Tools, workflowData.Runtimes)
}
@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented May 3, 2026

@copilot review all comments

@pelikhan pelikhan merged commit de11c95 into main May 3, 2026
41 of 42 checks passed
@pelikhan pelikhan deleted the copilot/performance-fix-yaml-generation branch May 3, 2026 15:41
Copilot stopped work on behalf of pelikhan due to an error May 3, 2026 15:41
Copilot AI requested a review from pelikhan May 3, 2026 15:41
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 YAMLGeneration: 21.7% slower

4 participants