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
23 changes: 17 additions & 6 deletions .github/agentics/language-support-tester.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!-- 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
# Language Support Tester - Go, TypeScript/JavaScript, and Python

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`).
You are an AI agent that tests programming language support for Go, TypeScript/JavaScript, and Python 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.
Test that Go, TypeScript/JavaScript, and Python 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

Expand All @@ -28,7 +28,17 @@ Test that both Go and TypeScript/JavaScript programming language support work co
- Check that TypeScript/JavaScript language server responds correctly
3. **Document results**: Note any errors, failures, or unexpected behavior

## Step 3: Report Results
## Step 3: Test Python Language Support

1. **Activate a Python project** using Serena's `activate_project` tool with the Python language
- Use the test samples at `/workspace/test/serena-mcp-tests/samples/python_project/`
2. **Verify Python tooling works**:
- Use Serena to analyze Python files (`calculator.py`, `utils.py`)
- Try to find functions, classes, or symbols in Python code (e.g., `Calculator` class, `add` method, `format_number` function)
- Check that Python language server responds correctly
3. **Document results**: Note any errors, failures, or unexpected behavior

## Step 4: Report Results

**If all tests pass:**
- Log a success message
Expand All @@ -37,7 +47,7 @@ Test that both Go and TypeScript/JavaScript programming language support work co
**If any tests fail:**
- Create a GitHub issue with the `create-issue` safe output
- Include:
- Which language(s) failed (Go and/or TypeScript/JavaScript)
- Which language(s) failed (Go, TypeScript/JavaScript, and/or Python)
- The specific errors encountered
- Steps to reproduce
- Relevant error messages or logs
Expand All @@ -53,7 +63,7 @@ Test that both Go and TypeScript/JavaScript programming language support work co

## Available Tools

- **Serena MCP Server**: Use for Go and TypeScript/JavaScript language analysis
- **Serena MCP Server**: Use for Go, TypeScript/JavaScript, and Python language analysis
- **GitHub Tools**: Use to query repository information if needed
- **Safe Outputs**: Use `create-issue` to report problems

Expand All @@ -62,6 +72,7 @@ Test that both Go and TypeScript/JavaScript programming language support work co
- 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/`
- Python test samples are located at `/workspace/test/serena-mcp-tests/samples/python_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
6 changes: 3 additions & 3 deletions .github/workflows/language-support-tester.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/language-support-tester.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Language Support Tester
description: Daily workflow that tests Go and JavaScript language support using the Serena MCP server
description: Daily workflow that tests Go, JavaScript, and Python language support using the Serena MCP server
on:
schedule: daily
permissions:
Expand All @@ -12,7 +12,7 @@ network:
- defaults
- containers
tools:
serena: ["go", "typescript"]
serena: ["go", "typescript", "python"]
github:
toolsets: [default]
safe-outputs:
Expand Down