Skip to content

Fix invalid Tavily MCP package name/link in docs and mcp inspect missing servers bug#24610

Merged
pelikhan merged 10 commits intomainfrom
copilot/fix-tavily-mcp-link-and-config
Apr 5, 2026
Merged

Fix invalid Tavily MCP package name/link in docs and mcp inspect missing servers bug#24610
pelikhan merged 10 commits intomainfrom
copilot/fix-tavily-mcp-link-and-config

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

The Tavily web-search guide referenced a non-existent npm package (@tavily/mcp-server) and a dead GitHub URL. Additionally, gh aw mcp inspect silently reported no MCP servers for workflows using the common on: issues string trigger or when MCP servers were defined in imported workflows.

Changes

Docs (docs/src/content/docs/guides/web-search.md)

  • @tavily/mcp-server@tavily/mcp (correct npm package)
  • github.com/tavily-ai/tavily-mcp-servergithub.com/tavily-ai/tavily-mcp (correct repo, two occurrences)

Code (pkg/cli/mcp_inspect.go, pkg/workflow/compiler_orchestrator_tools.go, pkg/workflow/compiler_types.go, pkg/workflow/compiler_orchestrator_workflow.go)

  • mcp inspect now operates on the fully resolved frontmatter with all imports merged
  • Added ResolvedMCPServers map[string]any to WorkflowData — populated with the fully merged mcp-servers from the main workflow and all imported workflows
  • buildFrontmatterFromWorkflowData now builds the frontmatter from RawFrontmatter as the base and overlays the fully merged Tools (built-in tools from all imports) and ResolvedMCPServers (user-defined MCP servers from all imports)

Root cause: The original implementation used ParsedFrontmatter.ToMap() which only reflected the main workflow's frontmatter. When ParsedFrontmatter was nil (e.g. on: issues — a plain string that cannot be unmarshalled into map[string]any) the fallback only reconstructed the tools key. Additionally, mcp-servers defined in imported workflows were never included regardless of the ParsedFrontmatter state.

The fix threads allMCPServers (the compiler's already-merged result) through toolsProcessingResultWorkflowData.ResolvedMCPServers, and rebuilds the frontmatter map using:

// After: fully resolved frontmatter
frontmatter := make(map[string]any)
maps.Copy(frontmatter, workflowData.RawFrontmatter)   // safe-outputs, mcp-scripts, on, etc.
frontmatter["tools"] = workflowData.Tools             // fully merged built-in tools (main + imports)
frontmatter["mcp-servers"] = workflowData.ResolvedMCPServers // fully merged mcp-servers (main + imports)

[!WARNING]



✨ PR Review Safe Output Test - Run 23991203542

💥 [THE END] — Illustrated by Smoke Claude · ● 284.8K ·

Copilot AI and others added 2 commits April 4, 2026 23:23
…rigger

- Update docs: fix broken GitHub link (tavily-mcp-server -> tavily-mcp)
- Update docs: fix invalid npm package (@tavily/mcp-server -> @tavily/mcp)
- Fix buildFrontmatterFromWorkflowData to use RawFrontmatter fallback when
  ParsedFrontmatter is nil (happens when on: is a plain string like 'issues')

Fixes #<issue>"

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/55daa553-59d0-4262-8176-d5d20ea51c65

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix invalid tavily MCP search link and config in documentation Fix invalid Tavily MCP package name/link in docs and mcp inspect missing servers bug Apr 4, 2026
Copilot AI requested a review from pelikhan April 4, 2026 23:35
@pelikhan pelikhan marked this pull request as ready for review April 4, 2026 23:42
Copilot AI review requested due to automatic review settings April 4, 2026 23:42
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

Fixes Tavily MCP documentation references and corrects gh aw mcp inspect behavior when a workflow’s frontmatter fails typed parsing (notably on: issues string-form triggers), ensuring MCP servers are still discovered.

Changes:

  • Updated Tavily web-search guide to reference the correct npm package/repo (@tavily/mcp, tavily-ai/tavily-mcp).
  • Adjusted buildFrontmatterFromWorkflowData to fall back to RawFrontmatter when ParsedFrontmatter is nil so mcp-servers aren’t dropped.
  • Regenerated .github/workflows/copilot-token-optimizer.lock.yml, including a safe-outputs config change (close_older_issues: true).
Show a summary per file
File Description
pkg/cli/mcp_inspect.go Uses RawFrontmatter fallback so MCP servers remain discoverable when typed frontmatter parsing fails.
docs/src/content/docs/guides/web-search.md Fixes invalid Tavily MCP package name and GitHub URL references.
.github/workflows/copilot-token-optimizer.lock.yml Regenerated lock workflow; includes an additional safe-outputs behavior/config change.

Copilot's findings

Tip

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

Comments suppressed due to low confidence (1)

.github/workflows/copilot-token-optimizer.lock.yml:1306

  • GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG now includes close_older_issues: true, which changes runtime safe-output behavior for this workflow. Please confirm this is intentional and update the PR description (or revert the lockfile regeneration) so reviewers understand the operational impact.
          GITHUB_SERVER_URL: ${{ github.server_url }}
          GITHUB_API_URL: ${{ github.api_url }}
          GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG: "{\"create_issue\":{\"close_older_issues\":true,\"expires\":168,\"max\":1,\"title_prefix\":\"[copilot-token-optimizer] \"},\"missing_data\":{},\"missing_tool\":{},\"noop\":{\"max\":1,\"report-as-issue\":\"true\"}}"
        with:
  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment on lines +432 to +434
cat > ${RUNNER_TEMP}/gh-aw/safeoutputs/config.json << 'GH_AW_SAFE_OUTPUTS_CONFIG_a69d7382b73926ca_EOF'
{"create_issue":{"close_older_issues":true,"expires":168,"max":1,"title_prefix":"[copilot-token-optimizer] "},"missing_data":{},"missing_tool":{},"noop":{"max":1,"report-as-issue":"true"},"push_repo_memory":{"memories":[{"dir":"/tmp/gh-aw/repo-memory/default","id":"default","max_file_count":100,"max_file_size":102400,"max_patch_size":51200}]}}
GH_AW_SAFE_OUTPUTS_CONFIG_a69d7382b73926ca_EOF
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

This lock file change introduces a behavioral update to safe-outputs (create_issue.close_older_issues: true) that isn’t described in the PR metadata. If the goal of this PR is only the Tavily docs fix + mcp inspect parsing fix, consider regenerating the lock file from the unchanged source workflow (or reverting this hunk) to avoid an unrelated workflow behavior change.

This issue also appears on line 1303 of the same file.

Copilot uses AI. Check for mistakes.
@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Apr 4, 2026

@copilot review comments

The unintentional behavioral change (close_older_issues: true) was
introduced into the lock file as an unrelated side effect. Reverting
to the pre-PR state to keep this PR focused on the Tavily and
mcp inspect fixes only.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/9fadd87e-eca3-4146-9229-568c1c44a93b

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

@copilot review comments

Reverted the unintentional copilot-token-optimizer.lock.yml change in commit 7ceeb00. The close_older_issues: true behavioral update was a side effect of the lock file being regenerated during the initial plan commit and is unrelated to this fix.

@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Apr 5, 2026

@copilot inspect should operate in the fully resolved frontmatter with all imports resolved.

Copilot AI and others added 2 commits April 5, 2026 00:14
Track the merged mcp-servers (allMCPServers) through the compilation
pipeline into WorkflowData.ResolvedMCPServers, and rebuild
buildFrontmatterFromWorkflowData to use:
- RawFrontmatter as base (safe-outputs, mcp-scripts, on, etc.)
- WorkflowData.Tools as the fully merged tools (built-ins from imports)
- WorkflowData.ResolvedMCPServers as the fully merged mcp-servers

This ensures mcp inspect shows MCP servers from imported workflows,
and also fixes the on: issues string-trigger case where ParsedFrontmatter
was nil (no longer needed as we no longer rely on it).

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/34610356-869b-4544-83b2-fb33c73de7fe

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 5, 2026

@copilot inspect should operate in the fully resolved frontmatter with all imports resolved.

Fixed in commit 21df46a. mcp inspect now uses fully resolved frontmatter:

  • Added ResolvedMCPServers to WorkflowData — set to allMCPServers in processToolsAndMarkdown, which is the result of merging the main workflow's mcp-servers with every imported workflow's mcp-servers.
  • buildFrontmatterFromWorkflowData now builds the frontmatter from RawFrontmatter as the base (preserving safe-outputs, mcp-scripts, on, etc.) and overlays WorkflowData.Tools (fully merged built-in tools from all imports) and WorkflowData.ResolvedMCPServers (fully merged user-defined MCP servers from all imports).

This covers both the on: issues string-trigger case (no longer reliant on ParsedFrontmatter) and the import-defined mcp-servers case.

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)
  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name 21641244/001&#39; 21641244/001&#39; x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name --show-toplevel git /usr/bin/git bility_SameInputgit /tmp/TestParseDerev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/TestGuardPogit rev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git . -v 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git --noprofile (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 --local core.hooksPath _modules/.bin/no-lang=go1.25 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha bility_SameInputSameOutput1850638804/001/stabili.artifacts[].name --stdin /usr/bin/gh --exclude-hiddengit --all --quiet gh api /repos/actions/github-script/git/ref/tags/v8 --jq /usr/bin/infocmp --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha 1839797473/.github/workflows infocmp /usr/bin/git xterm-color ache/go/1.25.8/xrev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel ache/go/1.25.8/xconfig /usr/bin/docker 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 se 5168300/b237/vet.cfg nfig/composer/vendor/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --paginate repos/{owner}/{repo}/actions/runs/3/artifacts /usr/bin/git .artifacts[].namgit 5168300/b039/vetrev-parse 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git ility-kit.md (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/git faultBranchFromLgit faultBranchFromLrev-parse /usr/local/.ghcu--show-toplevel git rev-�� --show-toplevel bash /usr/bin/git --noprofile -tests Name,createdAt,s--show-toplevel git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha master x_amd64/asm /usr/bin/git 346 .cfg 64/pkg/tool/linu--show-toplevel git conf�� user.name Test User /usr/bin/git te &#39;scripts/**/*git .cfg x_amd64/link git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha -aw-actions/git/ref/tags/v1.2.3 64/pkg/tool/linux_amd64/vet /usr/bin/git 2436929/b001/_pkgit -buildtags 2436929/b001=&gt; git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /usr/bin/git &#39;/tmp/TestParseDgit &#39;/tmp/TestParseDrev-parse cfg git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha */*.ts&#39; &#39;**/*.js-c=4 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha */*.ts&#39; &#39;**/*.json&#39; --ignore-pat-errorsas (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 test.txt IwtLslUObn8g /usr/bin/git /var/lib/waagentgit .cfg (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 user.name Test User /usr/bin/git ting JavaScript git .cfg 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel UpQRbjo/bPQIwKXGo3KgZaglTou9 /usr/bin/git copilot/fix-tavigit .cfg x_amd64/link git (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha runs/20260405-001758-14131/test-3896427009/.github/workflows bash ache/node/24.14.1/x64/bin/node l (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 --show-current 64/pkg/tool/linurev-parse r,url,status,conclusion,workflowName,createdAt,startedAt,updated-nilfunc --format=%T flow-test-12345 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/git 01 .cfg x_amd64/link git (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 (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 /tmp/go-build1512436929/b001/_pkg_.a -trimpath /bin/sh -p main -lang=go1.25 /bin/sh -c git-upload-pack &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmaster_branchremote.origin.urgit git-upload-pack &#39;/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmaster_branch1545350328/001&#39; 698107/b420/vet.cfg go1.25.8 -c=4 -nolocalimports git (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 5168300/b040/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 5168300/b164/vet-c=4 ndor/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name git /usr/bin/git user.email test@example.cominit /usr/bin/infocmp git rev-�� HEAD infocmp /usr/bin/git xterm-color x_amd64/link /usr/bin/git 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 5168300/b017/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet pkg/workflow/comgit pkg/workflow/comrev-parse pkg/workflow/com--git-dir ache/go/1.25.8/x64/pkg/tool/linuconfig (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 5168300/b026/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name git /usr/bin/git user.email test@example.comremote /usr/bin/infocmpadd git form�� ..feature-branch --stdout /usr/bin/git xterm-color ache/go/1.25.8/xrev-parse /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 5168300/b018/vet.cfg x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 5168300/b028/vet.cfg ndor/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name git /usr/bin/ls --git-dir x_amd64/compile /usr/bin/git ls -lh /tmp/gh-aw/aw-feature-branch.patch /usr/bin/git /usr/bin/git -v x_amd64/vet /usr/bin/git git (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 5168300/b027/vet.cfg 64/bin/go (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 5168300/b065/vet.cfg 1/x64/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name git /usr/bin/git --git-dir x_amd64/link /usr/bin/infocmp--show-toplevel git bran�� --show-current infocmp /usr/bin/git xterm-color JQ/4gsoU_3JPtpwPrev-parse /usr/bin/git git (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 5168300/b039/vet.cfg 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 5168300/b107/vet.cfg de/node/bin/bash edMCP (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name git /usr/bin/git --show-toplevel hWk5Mg9/QwXVFC7krev-parse /usr/bin/git git log --oneline -10 /usr/bin/git -v 7sC7-S6/7aa0EhL8rev-parse /usr/bin/git 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 5168300/b041/vet.cfg 64/pkg/tool/linux_amd64/asm a/action_pins.jsgit (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 5168300/b246/vet.cfg .cfg **/*.ts **/*.json --ignore-path ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -c 2256657659/.github/workflows (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name git /usr/bin/git --show-toplevel x_amd64/vet /usr/bin/git git stat�� .cfg /usr/bin/git /usr/bin/git -v ache/go/1.25.8/xinit /usr/bin/git git (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 5168300/b047/vet-c=4 64/pkg/tool/linu-nolocalimports (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 5168300/b275/vet.cfg 86_64/bash **/*.ts **/*.json --ignore-path ache/go/1.25.8/x64/pkg/tool/linu--jq run format:pkg-json --silent ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet tierignore (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name git /usr/bin/mkdir --show-toplevel x_amd64/compile /usr/bin/git mkdir -p 2453321372/.github/workflows /usr/bin/git /usr/bin/git --get-regexp ^remote\..*\.gh-remote /usr/bin/git r (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path ire/doc.go ire/forward_requgithub.com/aymanbagabas/go-udiff/lcs 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 --workflow nonexistent-workflow-12345 --limit 100 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq .object.sha --show-toplevel ache/go/1.25.8/xremote2 /usr/bin/git 52821321/001 5168300/b096/vetrev-parse x_amd64/compile git rev-�� --show-toplevel x_amd64/compile /usr/bin/git _.a 5168300/b266/vet-c 64/pkg/tool/linugit-upload-pack &#39;origin&#39; 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 edOutput1892718433/001 5168300/b106/vet.cfg 64/pkg/tool/linux_amd64/vet **/*.json --ignore-path ../../../.prettierignore 64/pkg/tool/linux_amd64/vet (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 --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha --show-toplevel git /usr/bin/git /tmp/TestCompilegit-receive-pack remote /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh --get (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 --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha --noprofile resolved frontma-ifaceassert x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha */*.json&#39; &#39;!../.-p resolved frontmagithub.com/github/gh-aw/pkg/fileutil 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 --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq .object.sha --show-toplevel gh /usr/bin/git list --json /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh user.name Test User /usr/lib/git-cor/tmp/TestGuardPolicyTrustedUsersExpressionCompiledOutput3119420574/001 gh (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 ode_modules/flatted/golang/pkg/flatted/flatted.go 5168300/b117/vet.cfg 64/pkg/tool/linux_amd64/cgo **/*.json --ignore-path ../../../.prettiuser.email 64/pkg/tool/linutest@example.com stlo�� se 5168300/b261/vet.cfg .cfg rror (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)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/git git rev-�� y_only_defaults_repo1856224282/001 /usr/bin/git 64/pkg/tool/linux_amd64/vet --get-regexp ^remote\..*\.gh-init /usr/bin/git 64/pkg/tool/linux_amd64/vet (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 -importcfg /tmp/go-build429698107/b410/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/fileutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/tar.go --no�� */*.ts&#39; &#39;**/*.json&#39; --ignore-pat-errorsas (http block)
    • 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 --json name,state,path --repo owner/repo /usr/bin/git bility_SameInputgit --auto /usr/bin/git git rev-�� --show-toplevel git inPathSetup_GorootOrdering32884388/001/go/1.25.0/x64/bin/go runs/20260405-00bash 698107/b431/_tes--norc /usr/bin/infocmp--noprofile git (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build429698107/b396/cli.test /tmp/go-build429698107/b396/cli.test -test.testlogfile=/tmp/go-build429698107/b396/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
    • Triggering command: /tmp/go-build1150689797/b001/cli.test /tmp/go-build1150689797/b001/cli.test -test.paniconexit0 -test.timeout=10m0s -test.count=1 --ctstate INVALID,NEW -j DROP t0 bash (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 go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build429698107/b408/importcfg -pack /tmp/go-build429698107/b408/_testmain.go 1/x6�� MergedMCPServers\|MergedTools pkg/workflow/action_cache.go x_amd64/vet pkg/workflow/act/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link pkg/workflow/act-o pkg/workflow/act/tmp/go-build429698107/b408/envutil.test x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --show-toplevel git /usr/bin/git bility_SameInputgit --initial-branchrev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/TestGuardPogit remote /usr/bin/git git (http block)

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

@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Apr 5, 2026

@copilot fix tests

@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Apr 5, 2026

…ndency

The safe_outputs job has multiple needs (activation, agent, detection),
so the needs value is a YAML list, not a scalar. The test was checking
for "needs: agent" (scalar form) but the lock file contains:

  needs:
    - activation
    - agent
    - detection

Fix by checking for "- agent" (list item) instead.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/055e0f8a-77e6-4044-bc21-85a1a9f598fa

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 5, 2026

@copilot fix tests

Fixed in commit d651755. The failing test TestMainJobAlwaysHasAgentID/workflow_with_safe_outputs was checking for needs: agent (scalar YAML), but the safe_outputs job has multiple needs and uses list form:

needs:
  - activation
  - agent
  - detection

Updated the assertion to check for - agent (list item) instead.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 5, 2026

@copilot fix https://github.com/github/gh-aw/actions/runs/23990768995/job/69970173378

Already fixed in commit d651755. The test was checking for needs: agent (scalar) but the safe_outputs job emits a multi-item YAML list (- agent). Updated the assertion to match the list form.

…0-4115-a782-21277584afab

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

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

💥 Automated smoke test review - all systems nominal!

💥 [THE END] — Illustrated by Smoke Claude · ● 284.8K

## Tavily Search

[Tavily](https://tavily.com/) provides AI-optimized search with structured JSON responses, news search capability, and fast response times through the [@tavily/mcp-server](https://github.com/tavily-ai/tavily-mcp-server) MCP server.
[Tavily](https://tavily.com/) provides AI-optimized search with structured JSON responses, news search capability, and fast response times through the [@tavily/mcp](https://github.com/tavily-ai/tavily-mcp) MCP server.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good fix! The correct package name @tavily/mcp aligns with the official Tavily MCP server package. This prevents users from hitting a 404 when trying to install the server.

maps.Copy(frontmatter, workflowData.RawFrontmatter)
}

// Override tools with the fully merged result (includes built-in tools from imports such as
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The new approach using RawFrontmatter as the base and overlaying Tools and ResolvedMCPServers is much more robust. Using maps.Copy ensures all top-level frontmatter keys (safe-outputs, mcp-scripts, etc.) are preserved while still getting the fully merged MCP servers from imports.

@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Apr 5, 2026

@copilot merge main and recompile

…p-link-and-config

# Conflicts:
#	.github/workflows/copilot-token-optimizer.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 5, 2026

@copilot merge main and recompile

Done in commit 8da4cfbf. Merged origin/main, resolved the lock file conflict by taking main's version, rebuilt the binary, and recompiled — all lock files were already up to date after the merge.

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 -embedcfg /tmp/go-build220402849/b063/embedcfg -pack (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq .object.sha (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/-
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/- --jq .object.sha (http block)

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

@pelikhan pelikhan merged commit 73887bf into main Apr 5, 2026
@pelikhan pelikhan deleted the copilot/fix-tavily-mcp-link-and-config branch April 5, 2026 02:01
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.

Invalid tavily MCP search link and config in docs

3 participants