Skip to content

fix: README intro + jdtls initialize timeout for large monorepos#45

Merged
aviadshiber merged 1 commit intomainfrom
docs/fix-readme-count
Apr 10, 2026
Merged

fix: README intro + jdtls initialize timeout for large monorepos#45
aviadshiber merged 1 commit intomainfrom
docs/fix-readme-count

Conversation

@aviadshiber
Copy link
Copy Markdown
Owner

@aviadshiber aviadshiber commented Apr 10, 2026

Summary

Two fixes:

1. README: "two things" → "three things"

The intro listed three items but said "two things in one".

2. jdtls initialize timeout: 30s → 120s

jdtls was timing out during initialization on large Maven monorepos (e.g., products with hundreds of modules). The default REQUEST_TIMEOUT = 30s was used for the initialize handshake, but jdtls needs to scan pom.xml files, resolve classpaths, and build its index — easily exceeding 30s on large workspaces.

Added INITIALIZE_TIMEOUT = 120s used only for the initialize request. Normal request timeout stays at 30s.

Why e2e tests didn't catch this: Tests use a tiny single-file workspace (Hello.java) that initializes in <2s. The timeout only manifests on real-world monorepos.

Test plan

  • All 336 tests pass, 84% coverage
  • Manual: restart LSP in IntelliJ on products repo, verify jdtls initializes within 120s

🤖 Generated with Claude Code

The numbered list has three items (language support, rules, code actions)
but the intro said "two things in one".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aviadshiber aviadshiber merged commit 263a751 into main Apr 10, 2026
13 checks passed
@aviadshiber aviadshiber deleted the docs/fix-readme-count branch April 10, 2026 07:18
@aviadshiber aviadshiber changed the title docs: fix "two things" → "three things" in README intro fix: README intro + jdtls initialize timeout for large monorepos Apr 10, 2026
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.

2 participants