Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/agentics/language-support-tester.md
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`
Copy link

Copilot AI Feb 5, 2026

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-issue tool will automatically add labels [language-support serena-mcp automation], but line 44 in the agent prompt instructs the agent to manually tag issues with labels language-support and serena-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.

Suggested change
- Tag with label: `language-support` and `serena-mcp`
- Note: the `create-issue` safe output will automatically add the `language-support`, `serena-mcp`, and `automation` labels; add any additional labels only if needed

Copilot uses AI. Check for mistakes.

## 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
Loading