Skip to content

initialize: Add LSP initializationOptions support#350

Merged
aviatesk merged 1 commit intomasterfrom
avi/initializationOptions
Nov 30, 2025
Merged

initialize: Add LSP initializationOptions support#350
aviatesk merged 1 commit intomasterfrom
avi/initializationOptions

Conversation

@aviatesk
Copy link
Owner

Add support for static initialization options that are set once during server startup and require a restart to take effect. This differs from dynamic configuration managed by ConfigManager.

Currently supports n_analysis_workers option for configuring the number of concurrent analysis worker tasks. Due to current architecture constraints around package environment switching and world age management, parallelization is limited to the signature analysis phase.

Also updates jetls-client and documentation accordingly.

Written by Claude

Add support for static initialization options that are set once during
server startup and require a restart to take effect. This differs from
dynamic configuration managed by `ConfigManager`.

Currently supports `n_analysis_workers` option for configuring the number
of concurrent analysis worker tasks. Due to current architecture
constraints around package environment switching and world age
management, parallelization is limited to the signature analysis phase.

Also updates `jetls-client` and documentation accordingly.

Written by Claude
@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

❌ Patch coverage is 34.48276% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.55%. Comparing base (4bc4982) to head (77f2740).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/init_options.jl 18.75% 13 Missing ⚠️
src/types.jl 14.28% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #350      +/-   ##
==========================================
- Coverage   65.79%   65.55%   -0.25%     
==========================================
  Files          40       41       +1     
  Lines        4181     4207      +26     
==========================================
+ Hits         2751     2758       +7     
- Misses       1430     1449      +19     
Flag Coverage Δ
JETLS.jl 65.55% <34.48%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aviatesk aviatesk merged commit 3d56c99 into master Nov 30, 2025
11 of 14 checks passed
@aviatesk aviatesk deleted the avi/initializationOptions branch November 30, 2025 18:13
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