Skip to content

[language-support] TypeScript/JavaScript and Python test samples missing for language support testing #867

@github-actions

Description

@github-actions

Summary

The language support tester workflow cannot fully test TypeScript/JavaScript and Python support because the required test sample directories do not exist in the repository.

What Works

Go Language Support - Successfully tested and verified:

  • find_symbol correctly identifies functions in main.go and other Go files
  • get_symbols_overview returns accurate symbol listings for Go files
  • find_referencing_symbols successfully traces references across Go files
  • Language server responds correctly to all queries

What's Missing

TypeScript/JavaScript Test Samples

  • Expected location: /workspace/test/serena-mcp-tests/samples/js_project/
  • Status: Directory does not exist
  • Impact: Cannot test TypeScript/JavaScript language server functionality

Python Test Samples

  • Expected location: /workspace/test/serena-mcp-tests/samples/python_project/
  • Status: Directory does not exist
  • Impact: Cannot test Python language server functionality

Steps to Reproduce

  1. Run the language-support-tester workflow
  2. Attempt to activate TypeScript/JavaScript project at specified path
  3. Observe that the path does not exist

Requested Fix

Add test sample directories with minimal but sufficient code to test language server functionality:

JavaScript/TypeScript samples (test/serena-mcp-tests/samples/js_project/):

  • Simple function definitions
  • Class with methods
  • Import/export statements
  • package.json for project detection

Python samples (test/serena-mcp-tests/samples/python_project/):

  • Simple function definitions (e.g., format_number)
  • Class with methods (e.g., Calculator class with add method)
  • Import statements
  • Sufficient for testing find_symbol, get_symbols_overview, and find_referencing_symbols

Testing Guidelines Reference

From .github/agentics/language-support-tester.md:

  • TypeScript/JavaScript: Test samples at /workspace/test/serena-mcp-tests/samples/js_project/
  • Python: Test samples at /workspace/test/serena-mcp-tests/samples/python_project/ with calculator.py, utils.py containing Calculator class, add method, format_number function

Workaround

Currently, only Go language support can be tested using the existing Go source files in the repository root and would-be internal/ directory.

AI generated by Language Support Tester

  • expires on Feb 16, 2026, 10:53 AM UTC

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions