Skip to content

feat(cli,search,ui): optimize code ingest performance and expand MCP platform support#107

Merged
howznguyen merged 2 commits intomainfrom
develop
Apr 30, 2026
Merged

feat(cli,search,ui): optimize code ingest performance and expand MCP platform support#107
howznguyen merged 2 commits intomainfrom
develop

Conversation

@howznguyen
Copy link
Copy Markdown
Contributor

Description

  • Add batch embedding with length-sorted content for 5x ingest speedup (1m27s → 17s)
  • Implement parser instance pooling to reduce tree-sitter allocation overhead
  • Compact embedding content to signature + edge summary instead of full source code
  • Expand MCP setup to support 10 platforms with unified registry pattern
  • Add Java, Rust, C# language support to AST indexer via CGO path
  • Update server port from 4455 to 6420 in knowns config
  • Fix Memory page silent failure by handling missing /api/working-memories route
  • Eliminate duplicate "Semantic search ready" message in sync output
  • Document code ingest performance optimization patterns and decisions
  • Document MCP multi-platform registry setup learnings and tradeoffs
  • Update Go dependencies to support new language parsers

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

…platform support

- Add batch embedding with length-sorted content for 5x ingest speedup (1m27s → 17s)
- Implement parser instance pooling to reduce tree-sitter allocation overhead
- Compact embedding content to signature + edge summary instead of full source code
- Expand MCP setup to support 10 platforms with unified registry pattern
- Add Java, Rust, C# language support to AST indexer via CGO path
- Update server port from 4455 to 6420 in knowns config
- Fix Memory page silent failure by handling missing `/api/working-memories` route
- Eliminate duplicate "Semantic search ready" message in sync output
- Document code ingest performance optimization patterns and decisions
- Document MCP multi-platform registry setup learnings and tradeoffs
- Update Go dependencies to support new language parsers
@github-actions github-actions Bot added documentation Improvements or additions to documentation feature labels Apr 30, 2026
- Replace random port selection with OS-assigned port via socket binding to guarantee availability
- Change findPort() to async function that properly binds to port 0 and reads assigned port
- Increase server readiness timeout from 15s to 30s for slower environments
- Add stderr collection during server startup for better error diagnostics
- Enhance error messages to include server stderr output when startup fails
- Import createServer from node:net for reliable port detection
@howznguyen howznguyen merged commit cb14f6b into main Apr 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant