Fix Serena MCP tools configuration in smoke-copilot workflow#1200
Merged
Fix Serena MCP tools configuration in smoke-copilot workflow#1200
Conversation
Change Serena tool configuration from incorrect nested format to correct array format:
- Before: serena: { languages: { go: {} } }
- After: serena: ["go"]
This aligns with all other workflows (duplicate-code-detector, smoke-codex, test-improver) and ensures Serena tools (serena-activate_project, serena-find_symbol) are available in the agent context.
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the Serena MCP tools availability issue in the smoke-copilot workflow by correcting the tool configuration format from an incorrect nested structure to the standard array format used throughout the codebase.
Changes:
- Changed Serena tool configuration from nested format
serena: { languages: { go: {} } }to array formatserena: ["go"]in smoke-copilot.md - Recompiled the workflow to update the lock file with the new configuration hash
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/smoke-copilot.md | Fixed Serena tool configuration from nested format to array format, consistent with all other workflows |
| .github/workflows/smoke-copilot.lock.yml | Updated frontmatter_hash to reflect the configuration change after recompilation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The smoke-copilot workflow was reporting "Tools not available in this agent context" for Serena MCP tests (
serena-activate_project,serena-find_symbol), causing a partial test failure (8/9 tests passing).Root Cause
Incorrect tool configuration syntax:
This nested structure prevented the workflow compiler from properly registering Serena tools in the agent context.
Fix
Changed to standard array format used by all other workflows:
Changes
languagesstructure with array format (lines 44-46)gh aw compile(frontmatter hash updated)This aligns with duplicate-code-detector, smoke-codex, test-improver, and test-coverage-improver workflows which all use the array format and have working Serena tool access.
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/usr/bin/gh gh pr view 1195 --json title,body,files /home/REDACTED/.nvm/install.sh /home/REDACTED/.nvm/nvm-exec /home/REDACTED/.nvm/nvm.sh /home/REDACTED/.nvm/package.json /home/REDACTED/.nvm/rename_test.sh /home/REDACTED/.nvm/test conf�� get --global cal/bin/git user.email(http block)https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v3/usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha d -n 10 HEAD /usr/bin/tail vailable ena-mcp-tests/MC-d ndor/bin/grep tail -1 /usr/bin/sed grep t vailable ena-mcp-tests/RE-d cal/bin/grep base64(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq .object.sha d -n 10 HEAD /usr/bin/tail vailable ena-mcp-tests/MC-d cal/bin/grep tf "%s%s", sep, $0; sep=RS } -n 1 grep nfig/composer/vendor/bin/git vailable .md rgo/bin/grep base64(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt