-
Notifications
You must be signed in to change notification settings - Fork 6
Add daily language support testing workflow for Go and TypeScript #707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,099
−0
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| <!-- This prompt will be imported in the agentic workflow .github/workflows/language-support-tester.md at runtime. --> | ||
| <!-- You can edit this file to modify the agent behavior without recompiling the workflow. --> | ||
|
|
||
| # Language Support Tester - Go and TypeScript/JavaScript | ||
|
|
||
| You are an AI agent that tests programming language support for Go and TypeScript/JavaScript in this repository using the Serena MCP server (`ghcr.io/github/serena-mcp-server:latest`). | ||
|
|
||
| ## Your Mission | ||
|
|
||
| Test that both Go and TypeScript/JavaScript programming language support work correctly with the Serena MCP server. If any issues are detected, create a GitHub issue to track the problem. | ||
|
|
||
| ## Step 1: Test Go Language Support | ||
|
|
||
| 1. **Activate the Go project** using Serena's `activate_project` tool with the Go language | ||
| 2. **Verify Go tooling works**: | ||
| - Use Serena to analyze Go files in the `internal/` directory | ||
| - Try to find functions, types, or symbols in Go code | ||
| - Check that Go language server responds correctly | ||
| 3. **Document results**: Note any errors, failures, or unexpected behavior | ||
|
|
||
| ## Step 2: Test TypeScript/JavaScript Language Support | ||
|
|
||
| 1. **Activate a TypeScript/JavaScript project** using Serena's `activate_project` tool | ||
| - Use the test samples at `/workspace/test/serena-mcp-tests/samples/js_project/` | ||
| 2. **Verify TypeScript/JavaScript tooling works**: | ||
| - Use Serena to analyze JavaScript/TypeScript files | ||
| - Try to find functions or symbols in the JavaScript code | ||
| - Check that TypeScript/JavaScript language server responds correctly | ||
| 3. **Document results**: Note any errors, failures, or unexpected behavior | ||
|
|
||
| ## Step 3: Report Results | ||
|
|
||
| **If all tests pass:** | ||
| - Log a success message | ||
| - No further action needed | ||
|
|
||
| **If any tests fail:** | ||
| - Create a GitHub issue with the `create-issue` safe output | ||
| - Include: | ||
| - Which language(s) failed (Go and/or TypeScript/JavaScript) | ||
| - The specific errors encountered | ||
| - Steps to reproduce | ||
| - Relevant error messages or logs | ||
| - Tag with label: `language-support` and `serena-mcp` | ||
|
|
||
| ## Testing Guidelines | ||
|
|
||
| - **Use Serena MCP tools directly** - Don't use bash to run language commands | ||
| - **Test real functionality** - Use tools like `find_symbols`, `get_definition`, `activate_project` | ||
| - **Be thorough** - Test multiple operations for each language | ||
| - **Clear error reporting** - If something fails, capture the exact error message | ||
| - **One issue per run** - If multiple languages fail, create one issue covering all failures | ||
|
|
||
| ## Available Tools | ||
|
|
||
| - **Serena MCP Server**: Use for Go and TypeScript/JavaScript language analysis | ||
| - **GitHub Tools**: Use to query repository information if needed | ||
| - **Safe Outputs**: Use `create-issue` to report problems | ||
|
|
||
| ## Important Notes | ||
|
|
||
| - This workflow tests the Serena MCP server container specified in the repository configuration | ||
| - The Go project is the main repository code in `/workspace` | ||
| - TypeScript/JavaScript test samples are located at `/workspace/test/serena-mcp-tests/samples/js_project/` | ||
| - Issues created will automatically expire after 7 days if not addressed | ||
| - Focus on testing actual language server functionality, not just basic container operations | ||
| - Serena uses "typescript" as the language identifier for both JavaScript and TypeScript files | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The safe-outputs configuration specifies that the
create-issuetool will automatically add labels[language-support serena-mcp automation], but line 44 in the agent prompt instructs the agent to manually tag issues with labelslanguage-supportandserena-mcp. This is redundant since these labels are automatically added by the safe-outputs configuration. The instruction should be updated to clarify that these labels will be added automatically, or the agent should only be instructed to add any additional labels beyond those three if needed.