Skip to content

fix: propagate context in MCPRegistryClient HTTP requests#30953

Merged
pelikhan merged 4 commits intomainfrom
copilot/fix-http-new-request-context
May 8, 2026
Merged

fix: propagate context in MCPRegistryClient HTTP requests#30953
pelikhan merged 4 commits intomainfrom
copilot/fix-http-new-request-context

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

MCPRegistryClient used http.NewRequest (no context), making HTTP calls to the MCP registry non-cancellable — ignoring Ctrl+C and any upstream deadline from cobra command handlers.

Changes

  • mcp_registry.go: createRegistryRequest now accepts context.Context and uses http.NewRequestWithContext; SearchServers signature updated to SearchServers(ctx, query)
  • mcp_registry_list.go: listAvailableServers accepts and forwards ctx
  • mcp_add.go: AddMCPTool accepts and forwards ctx; NewMCPAddSubcommand passes cmd.Context() to both callers
  • Tests: All call sites updated to pass context.Background()
// Before
func (c *MCPRegistryClient) createRegistryRequest(method, url string) (*http.Request, error) {
    req, err := http.NewRequest(method, url, nil)

// After
func (c *MCPRegistryClient) createRegistryRequest(ctx context.Context, method, url string) (*http.Request, error) {
    req, err := http.NewRequestWithContext(ctx, method, url, nil)

Follows the existing pattern in deps_security.go and compile_update_check.go.

Warning

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

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

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh repo view --json owner,name --jq .owner.login + "/" + .name in/node (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 paign_trigger_teconfig ckout_config_paruser.name x_amd64/compile ache�� ckout_manager.go ckout_manager_test.go p/bin/sh ckout_persist_crgit ckout_runtime_orrev-parse r _require_validation_test.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 -ifaceassert -nilfunc /opt/hostedtoolcTest User -ato�� ab-testing-advisor.md -buildtags k/gh-aw/gh-aw/node_modules/.bin/-importcfg -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/xtest@example.com (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 */*.ts' '**/*.json' --ignore-path ../../../.pret.prettierignore credential.username e2119f42d60e2e20-d (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 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linurev-parse /usr/bin/infocmp (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 --json sv --limit 100 --created git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linu--jq /usr/bin/git LsRemoteWithRealgit LsRemoteWithRealrev-parse ache/go/1.25.8/x--show-toplevel /usr/bin/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 9H7r/iPk9g7t8YBOK2PL-9H7r -tests 1/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git git rev-�� --show-toplevel git /opt/hostedtoolcache/node/24.14.1/x64/bin/node --show-toplevel node /usr/bin/gh node (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 /repos/actions/github-script/git/ref/tags/v9.0.0 --jq (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv uts.version x_amd64/vet /usr/bin/infocmp w/js/**/*.json' git committer.email x_amd64/vet infocmp -1 xterm-color x_amd64/vet /usr/bin/git --objects --stdin _modules/.bin/sh--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv waysRecompiles3754171286/001 rev-parse /usr/bin/git json' --ignore-pgit cfg odules/npm/node_--show-toplevel git conf�� user.name Test User /usr/bin/git te 'scripts/**/*git cfg 64/pkg/tool/linu--show-toplevel git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv xterm-color git /usr/bin/git --show-toplevel 64/pkg/tool/linuapi /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp (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 get --local x_amd64/vet credential.usernsh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv get --local modules/@npmcli/run-script/lib/node-gyp-bin/sh user.email (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build2436228433/b396/importcfg -pack /tmp/go-build2436228433/b396/_testmain.go /pre�� */*.ts' '**/*.json' --ignore-path ../../../.prettierignore credential.helper x_amd64/vet (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 get --local de credential.usernnode (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 get --local x_amd64/vet user.name (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 -c=4 -nolocalimports -importcfg /tmp/go-build2436228433/b402/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/agentdrain/spec_test.go x_amd64/vet /pre�� */*.ts' '**/*.json' --ignore-path ../../../.prettierignore credential.helper x_amd64/vet (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git 2344-14831/test-gh --write 64/pkg/tool/linu/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel 64/pkg/tool/linu--jq /usr/bin/git 6228433/b399/embgit .cfg ache/go/1.25.8/x--show-toplevel git (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv steps.test.outputs.result 64/pkg/tool/linux_amd64/vet /usr/bin/git ./../pkg/workflogit cfg x_amd64/compile git add .github/workflows/test.md x_amd64/compile (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 node /usr/bin/infocmp 2344-14831/test-gh --write 64/pkg/tool/linu/repos/actions/github-script/git/ref/tags/v9 infocmp -1 xterm-color 64/pkg/tool/linux_amd64/vet /usr/bin/git run .cfg /opt/hostedtoolc--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git --show-toplevel x_amd64/vet /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel node /usr/bin/git /tmp/TestHashConinfocmp 64/pkg/tool/linu-1 .cfg 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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/infocmp go1.25.8 -c=4 -nolocalimports infocmp -1 -aw/git/ref/tags/v2.0.0 /tmp/go-build2436228433/b396/_testmain.go bject.type] | @tsv */*.ts' '**/*.jsgit credential.helperev-parse x_amd64/vet git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/TestGuardPolicyMinIntegrityOnlymin-integrity_only_defaults_repo4173501023/001 rev-parse /opt/hostedtoolcache/node/24.14.1/x64/bin/node w/js/**/*.json' git fuzz/counters_surev-parse x_amd64/vet node /tmp�� runs/20260508-062344-14831/test-3588869987 x_amd64/vet /usr/bin/git FETCH_HEAD (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 64/pkg/tool/linugit-upload-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmain_branch36rev-parse sv json' --ignore-pgit (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 --show-toplevel -goversion /usr/bin/git -c=4 -nolocalimports -importcfg git rev-�� --show-toplevel 64/pkg/tool/linuconfig /usr/bin/git ../pkg/workflow/git (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 git /usr/bin/git --show-toplevel x_amd64/vet clusion,workflow--show-toplevel git rev-�� --show-toplevel git /usr/bin/git /tmp/gh-aw-test-gh rev-parse /usr/bin/git 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 node /usr/bin/git /tmp/TestHashStagh x_amd64/vet ache/node/24.14./repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel ache/node/24.14.1/x64/bin/node /usr/bin/git b.actor }}, Repogit remote /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 git /usr/bin/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 6228433/b471/importcfg /usr/bin/git k/gh-aw/gh-aw/pkgit (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/gh eutil.test -tests ortcfg.link gh api /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git mplied (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 user.email test@example.com /usr/bin/git th .prettierignogit origin _modules/.bin/no--show-toplevel git conf�� user.email epo}/actions/runs/12345/artifacts /usr/bin/git e on cfg 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 /ref/tags/v9 -extld=gcc sv 667231157/001 667231157/002/worev-parse At,event,headBra--show-toplevel git bran�� /ref/tags/v9 64/pkg/tool/linuconfig sv te '../../../**/git flow-ci-test-678rev-parse ules/.bin/sh 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-05-01 (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-08 (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-07 (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 st.go 64/pkg/tool/linux_amd64/vet --ignore-path ../../../.prettiinit in/dist/gh-gpgsign/gh-gpgsign-li/home/REDACTED/work/gh-aw/gh-aw/.github/workflows 64/pkg/tool/linux_amd64/vet -uns�� -unreachable=false /tmp/go-build772814075/b091/vet.cfg bin/node (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 (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 ../../../**/*.json son ignore ../../../.prettirev-parse 1/x64/bin/git /opt/hostedtoolcache/go/1.25.8/xremote.origin.url -uns�� 458519635 /tmp/go-build772814075/b037/vet.cfg nfig/composer/vendor/bin/sh (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 ../../../**/*.json son ignore ../../../.pretti/tmp/test-process-3851442244.js (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, --local credential.helper x_amd64/vet (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 ../../../**/*.json son ignore ../../../.prettirev-parse (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 ../../../**/*.json 64/pkg/tool/linux_amd64/vet ignore ../../../.prettirun (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 814075/b074/vet.cfg 64/pkg/tool/linux_amd64/compile ignore ../../../.pretti/tmp/test-process-3735525683.js in/dist/gh-gpgsiNo expressions here 64/pkg/tool/linux_amd64/compile -uns�� g_.a /tmp/go-build772814075/b084/vet.cfg k/_temp/uv-python-dir/node (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 (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 til_test.go 814075/b217/vet.cfg --ignore-path ../../../.prettiremote in/dist/gh-gpgsi-v /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linugit-upload-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmain_branch3643041263/001' @/tm�� 0759/001/stability-test.md (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 (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 ../../../**/*.json k/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/node --ignore-path ../../../.pretticonfig in/dist/gh-gpgsiuser.name /opt/hostedtoolcTest User ache�� 3396333469 /tmp/go-build772814075/b100/vet.-test.run=^Test ache/go/1.25.8/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 (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 ../../../**/*.json 64/pkg/tool/linux_amd64/compile --ignore-path ../../../.pretticonfig in/dist/gh-gpgsi--get-regexp 64/pkg/tool/linu^remote\..*\.gh-resolved$ -uns�� g_.a /tmp/go-build772814075/b083/vet.cfg cal/bin/node (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path */*.ts' '**/*.json' --ignore-path ../../../.prettierignore credential.username /sh (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-build2436228433/b405/cli.test /tmp/go-build2436228433/b405/cli.test -test.testlogfile=/tmp/go-build2436228433/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv te 'scripts/**/*.js' --ignore-path .prettierignore --log-level=e!../../../pkg/workflow/js/**/*.jsh -buildtags 1/x64/bin/node -errorsas -ifaceassert -nilfunc J_/CWrYu2czG7Ca7--json hash�� vaScript37534944--workflow on 64/pkg/tool/linu--limit /../../.prettier/usr/bin/gh erignore -nilfunc 64/pkg/tool/linu-f (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 on' --ignore-path ../../../.prettierignore cfg 64/pkg/tool/linux_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 on' --ignore-path ../../../.prettierignore cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore (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 -c=4 -nolocalimports -importcfg /tmp/go-build2436228433/b467/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/tty/spec_test.go 64/pkg/tool/linu-goversion rtcf�� ub/workflows cfg ache/go/1.25.8/x-importcfg rkflow/js/**/*.jgit (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 te '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore (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 ache/node/24.14.1/x64/bin/node /usr/bin/git uts.enforce_all git -trimpath /usr/bin/infocmp--show-toplevel git rev-�� --show-toplevel infocmp /usr/bin/infocmp thImports3232205git l /usr/bin/git infocmp (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 efaultBranchFromLsRemoteWithRealGitmaster_branchremote.origin.url efaultBranchFromLsRemoteWithRealGitmaster_branch2185054245/001' k/gh-aw/node_modules/.bin/node -errorsas -ifaceassert -nilfunc /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linu-importcfg k/gh�� 2344-14831/test-1345911323/.github/workflows on rkflow/js/**/*.json /../../.prettiergit erignore -nilfunc sh (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 ignore-path ../.git (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state x_amd64/vet (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 h ../../../.prettierignore credential.username x_amd64/vet (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch /ref/tags/v9.0.0 -buildtags $name) { hasDiscussionsEnabled } } -errorsas -ifaceassert erignore /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuremote -ato�� 2344-14831/test-1905656345/.github/workflows -buildtags ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -errorsas -ifaceassert -nilfunc ache/go/1.25.8/xsh (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 8, 2026 06:20
Copilot AI changed the title [WIP] Fix http.NewRequest to accept context for cancellable requests fix: propagate context in MCPRegistryClient HTTP requests May 8, 2026
Copilot AI requested a review from gh-aw-bot May 8, 2026 06:30
@pelikhan pelikhan marked this pull request as ready for review May 8, 2026 09:42
Copilot AI review requested due to automatic review settings May 8, 2026 09:42
@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented May 8, 2026

@copilot merge main and recompile

…request-context

# Conflicts:
#	.github/workflows/daily-cache-strategy-analyzer.lock.yml
#	.github/workflows/daily-fact.lock.yml
#	.github/workflows/daily-observability-report.lock.yml
#	.github/workflows/duplicate-code-detector.lock.yml
#	.github/workflows/schema-feature-coverage.lock.yml
#	.github/workflows/smoke-call-workflow.lock.yml
#	.github/workflows/smoke-codex.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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

Propagates context.Context through MCP registry HTTP calls so registry requests can be cancelled (e.g., Ctrl+C) and respect upstream deadlines.

Changes:

  • Update MCPRegistryClient to build HTTP requests with http.NewRequestWithContext and thread ctx through SearchServers.
  • Thread ctx through CLI helpers (listAvailableServers, AddMCPTool) and cobra command execution via cmd.Context().
  • Update tests and regenerate multiple workflow lock files (manifest/header annotations).
Show a summary per file
File Description
pkg/cli/mcp_registry.go Add context.Context to registry request creation and SearchServers, using NewRequestWithContext.
pkg/cli/mcp_registry_test.go Update unit tests to pass context.Background() into SearchServers.
pkg/cli/mcp_registry_live_test.go Update integration tests to pass context.Background() into SearchServers.
pkg/cli/mcp_registry_list.go Add ctx parameter to listAvailableServers and forward it to registry search.
pkg/cli/mcp_registry_improvements_test.go Update tests to pass context.Background() into SearchServers.
pkg/cli/mcp_add.go Add ctx parameter to AddMCPTool; pass cmd.Context() to registry/list calls.
pkg/cli/mcp_add_test.go Update tests to pass context.Background() into AddMCPTool / listAvailableServers.
.github/workflows/weekly-editors-health-check.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/video-analyzer.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/update-astro.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/test-workflow.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/test-project-url-default.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/test-dispatcher.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/smoke-workflow-call.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/smoke-workflow-call-with-inputs.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/smoke-opencode.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/smoke-crush.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/smoke-ci.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/research.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/repo-tree-map.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/github-remote-mcp-auth-test.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/github-mcp-tools-report.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/functional-pragmatist.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/firewall.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/example-permissions-warning.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/docs-noob-tester.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/dependabot-repair.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/dependabot-go-checker.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/dependabot-burner.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/daily-team-evolution-insights.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/daily-syntax-error-quality.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/daily-sentrux-report.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/daily-regulatory.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/daily-malicious-code-scan.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/codex-github-remote-mcp-test.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/changeset.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/blog-auditor.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/cli-consistency-checker.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).
.github/workflows/code-simplifier.lock.yml Regenerated lock header/manifest (notably actions/github-script version annotation changes).

Copilot's findings

Tip

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

  • Files reviewed: 152/193 changed files
  • Comments generated: 1

Comment on lines 34 to 39
# Custom actions used:
# - actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# - actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)
# - actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 8, 2026

@copilot merge main and recompile

Done — merged main (resolved conflicts in 7 .lock.yml files by taking main's version), rebuilt the binary, recompiled all workflow lock files, and pushed in commit 824833e.

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 4SwTGEW/u-KLVIo8-C (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 h ../../../.prettierignore pull.rebase me: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } (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 sh /usr/bin/infocmp 058620080/001 git /opt/hostedtoolc--show-toplevel infocmp -1 xterm-color /opt/hostedtoolc--jq /usr/bin/git -bool -buildtags /usr/bin/git 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 l sv 1 grafana/mcp-grafapi ode git remo�� (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 t0 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel ache/node/24.14.--jq (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 git /usr/bin/git git rev-�� --show-toplevel git /opt/hostedtoolcache/node/24.14.1/x64/bin/node --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/gh node (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 -test.paniconexit0 -test.v=true /opt/hostedtoolcache/node/24.14.1/x64/bin/node -test.timeout=10git -test.run=^Test -test.short=true--show-toplevel node /tmp�� /tmp/TestHashConsistency_GoAndJavaScript513011496/001/test-frontmatter-with-nest--repo git /usr/bin/git 4 credential.usernrev-parse bject.type] | @t--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/TestHashStability_SameInputSameOutput3348626275/001/stability-test.md git /usr/bin/git h ../../../.pretgit committer.name (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 (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 git /usr/bin/git add origin /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp ; printf &#39;%s&#39; &#34;$git rev-parse st.md&#34;,&#34;valid&#34;:t--show-toplevel infocmp (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 --local /home/REDACTED/.config/composer/vendor/bin/git committer.email (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv get --local /usr/local/.ghcu--end-of-options gpg.program (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 ithub/workflows --local (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 s/daily-cache-strategy-analyzer.lock.yml s/daily-fact.lock.yml s/daily-observabnode s/duplicate-code/home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/.bin/pre�� s/schema-feature--write s/smoke-call-wor**/*.cjs s/sm�� ath ../../../.pr**/*.json user.email urity-red-team.l../../../.prettierignore (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 --local /opt/pipx_bin/gipkg/workflow/checkout_config_parser.go gpg.program (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git 4121969459 (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 (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 ache/go/1.25.8/x64/pkg/tool/linutest@example.com /usr/bin/infocmp ithub/workflows/gh (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 git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /ref/tags/v9 (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 -bool -buildtags o.git -errorsas -ifaceassert -nilfunc ache/node/24.14.--jq 2723�� github.repository --auto /usr/bin/git --detach credential.usernrev-parse /usr/local/.ghcu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/TestHashStability_SameInputSameOutput3348626275/001/stability-test.md l /usr/bin/git 91943868/001&#39; 91943868/001&#39; de git rev-�� --show-toplevel git /usr/bin/gh ithub/workflows (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 github.event.inputs.enforce_all == &#39;true&#39; &amp;&amp; &#39;full-sweep (enforce_all)&#39; git /usr/bin/git iant-1090030343 /flatted/flattedrev-parse /usr/bin/git git -C /tmp/shared-actions-test2786281643 rev-parse .cfg ithub/workflows rev-parse /usr/bin/infocmp--show-toplevel git (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 gh /usr/bin/git ons-test27862816git --jq /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel bash /opt/hostedtoolcstatus 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 git /usr/bin/git k/gh-aw/gh-aw/pkgh config /opt/hostedtoolc/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel /opt/hostedtoolcache/node/24.14.--jq /usr/bin/git github.actor bash /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 git /usr/bin/git --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/gh-aw-test-infocmp (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 gh /usr/bin/git /repos/actions/ggit --jq clusion,workflow--show-toplevel git rev-�� /ref/tags/v9 git sv /tmp/gh-aw-test-infocmp l me: String!) { xterm-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 (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 lock.yml (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch text^{commit} (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/gh 4121969459 (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 --show-toplevel /usr/libexec/doc--format=%(objectname) (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 /ref/tags/v9 git sv json&#39; --ignore-pgit rev-parse ules/.bin/pretti--show-toplevel git rev-�� /ref/tags/v9 /usr/bin/gh sv graphql -f odules/npm/node_--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 &gt;=2026-05-01 (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-08 owner=github -f infocmp 1/x6�� hub/workflows (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-07 (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 zation_test.go 64/pkg/tool/linux_amd64/vet l (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 (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 config (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 (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, ed-objects.md committer.name kflows/breaking-change-checker.lock.yml (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 rev-parse /opt/hostedtoolcache/go/1.25.8/x64/bin/node l (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 erena-mcp-server:latest 64/pkg/tool/linux_amd64/vet (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 -f 64/pkg/tool/linux_amd64/vet -f owner=github DiscussionsEnabl--get-regexp 64/pkg/tool/linu^remote\..*\.gh-resolved$ -C /home/REDACTED/work/gh-aw/gh-aw/.github/workflows config cal/bin/node remote.origin.urgit (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 config er: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabl--show-toplevel remote.origin.urgit (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 show /usr/bin/git (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 rev-parse 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 rev-parse 64/pkg/tool/linux_amd64/vet (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 config 64/pkg/tool/linux_amd64/compile remote.origin.ur/usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 -f /usr/bin/git -f owner=github DiscussionsEnabl--show-toplevel git -C /home/REDACTED/work/gh-aw/gh-aw/.github/workflows config in/sh nore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path h ../../../.prettierignore pull.rebase /home/REDACTED/go/bin/git l (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-build2310815801/b405/cli.test /tmp/go-build2310815801/b405/cli.test -test.testlogfile=/tmp/go-build2310815801/b405/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true user.email (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git user.email test@example.com-k docker-buildx git rev-�� /ref/tags/v9 docker-buildx sv --get-regexp ^remote\..*\.gh-rev-parse /usr/bin/git 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 4724-10397/test-add-source-path-1563238505 config ow.lock.yml remote.origin.urgit (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 k/gh-aw/gh-aw/.github/workflows -f /usr/bin/gh -f owner=github -f /usr/bin/gh api th .prettierignore --log-level=e!../../../pkg/workflow/js/**/*.json -f ode_modules/.bin/node -f owner=github -f 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, .object.type] | @tsv /home/REDACTED/wor--exclude-hidden=receive rev-parse me: String!) { --quiet (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 1563238505/.github/workflows rev-parse /usr/bin/git (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 1563238505 -f er: String!, $name: String!) { ../../../.prettierignore -f owner=github ed } } /usr/bin/gh api th .prettierignore --log-level=error -f ate-cross-repo-pr.lock.yml l owner=github DiscussionsEnabl--get /usr/bin/gh (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv json&#39; --ignore-path ../../../.pr**/*.json (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 git /usr/bin/git /tmp/gh-aw-test-git remote clusion,workflow--show-toplevel git rev-�� --show-toplevel git /usr/bin/infocmp thImports9670802git l /usr/bin/gh infocmp (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 rite &#39;**/*.cjs&#39; &#39;**/*.ts&#39; &#39;**/*.json&#39; --ignore-p--detach mcp/markitdown h (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 (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 m-status.lock.yml (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state es/.bin/sh nore (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 h ../../../.prettierignore pull.rebase .yml (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 109241943 rev-parse $name) { hasDiscussionsEnabled } } (http block)

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

@pelikhan pelikhan merged commit 3a71e13 into main May 8, 2026
@pelikhan pelikhan deleted the copilot/fix-http-new-request-context branch May 8, 2026 09:49
Copilot stopped work on behalf of pelikhan due to an error May 8, 2026 09:49
Copilot AI requested a review from pelikhan May 8, 2026 09:49
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.

[sergo] pkg/cli/mcp_registry.go: http.NewRequest missing context — requests not cancellable

4 participants