Skip to content

feat(serena): pre-warm LSP caches during image build#537

Merged
lpcox merged 1 commit intomainfrom
lpcox/init-serena-cache
Jan 31, 2026
Merged

feat(serena): pre-warm LSP caches during image build#537
lpcox merged 1 commit intomainfrom
lpcox/init-serena-cache

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Jan 31, 2026

  • Add pre-indexing step to Dockerfile for Python, Go, and TypeScript
  • Creates dummy project and runs 'serena project create --index' to download and cache language servers during build time
  • Reduces Serena startup from ~43s to ~2s (95% improvement)
  • Add test-startup-time.sh script to measure gateway startup latency
    • Supports --workspace flag to override default directory
    • Measures time until health check succeeds

- Add pre-indexing step to Dockerfile for Python, Go, and TypeScript
- Creates dummy project and runs 'serena project create --index' to
  download and cache language servers during build time
- Reduces Serena startup from ~43s to ~2s (95% improvement)
- Add test-startup-time.sh script to measure gateway startup latency
  - Supports --workspace flag to override default directory
  - Measures time until health check succeeds
@lpcox lpcox merged commit 405346c into main Jan 31, 2026
1 check passed
@lpcox lpcox deleted the lpcox/init-serena-cache branch January 31, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant