diff --git a/.github/agentics/language-support-tester.md b/.github/agentics/language-support-tester.md index 4566327..829d48a 100644 --- a/.github/agentics/language-support-tester.md +++ b/.github/agentics/language-support-tester.md @@ -1,13 +1,13 @@ -# 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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/language-support-tester.lock.yml b/.github/workflows/language-support-tester.lock.yml index 3223344..ee3a14e 100644 --- a/.github/workflows/language-support-tester.lock.yml +++ b/.github/workflows/language-support-tester.lock.yml @@ -19,9 +19,9 @@ # gh aw compile # For more information: https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflows.md # -# Daily workflow that tests Go and JavaScript language support using the Serena MCP server +# Daily workflow that tests Go, JavaScript, and Python language support using the Serena MCP server # -# frontmatter-hash: fd20817db78be1b31e693507a9657bda61db38c51a80ec36d93089eb4fa2ae6b +# frontmatter-hash: 78a14f8ae89b9e2bd604db6366e0fbd142a2db644431faa420251963259b3fac name: "Language Support Tester" "on": @@ -888,7 +888,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: WORKFLOW_NAME: "Language Support Tester" - WORKFLOW_DESCRIPTION: "Daily workflow that tests Go and JavaScript language support using the Serena MCP server" + WORKFLOW_DESCRIPTION: "Daily workflow that tests Go, JavaScript, and Python language support using the Serena MCP server" HAS_PATCH: ${{ needs.agent.outputs.has_patch }} with: script: | diff --git a/.github/workflows/language-support-tester.md b/.github/workflows/language-support-tester.md index b61a8c4..e41e900 100644 --- a/.github/workflows/language-support-tester.md +++ b/.github/workflows/language-support-tester.md @@ -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: @@ -12,7 +12,7 @@ network: - defaults - containers tools: - serena: ["go", "typescript"] + serena: ["go", "typescript", "python"] github: toolsets: [default] safe-outputs: