Title: fix(lsp): allow cold managed runtimes to finish initialization by 1lck · Pull Request #29 · Lithe-IDEA/Lithe-core-rust · GitHub
Open Graph Title: fix(lsp): allow cold managed runtimes to finish initialization by 1lck · Pull Request #29 · Lithe-IDEA/Lithe-core-rust
X Title: fix(lsp): allow cold managed runtimes to finish initialization by 1lck · Pull Request #29 · Lithe-IDEA/Lithe-core-rust
Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1832 PR 类型 / Type fix:缺陷修复 改动说明 / What changes 背景 / Why Windows 原生验证中,真实打包 JDT 的 initialize 需要 15.413 秒,超过 Core 默认 10 秒,进程会在能够就绪前被终止。 改动 / Changes 通用 managed runtime 默认 initialize 期限改为 60 秒;所有角色使用同一规则,没有 Java 分支。调用方显式期限仍优先。 用注入时钟验证 15 秒仍在初始化、61 秒超时并回收;保留取消、请求和关闭的原有语义。 同步 rust/contracts/rust-core-api.md 的默认值。 不在本 PR 范围内 / Out of scope Java/Gradle 插件、Viva 工具入口接线、JDT 项目兼容性和资源调优另行提交。不是延长每次请求或关闭的期限。 类型专属:fix 复现与根因 Windows 11 原生 x64 工具(ARM 虚拟机仿真)启动打包语言服务器:10 秒被终止;直接协议探测在 15.413 秒初始化、15.473 秒 ServiceReady。 默认值来自 8b45322 的 engine 实现,后续迁移保留至 0be1d34。冷运行时初始化的预算过短。 影响:所有使用默认期限的 managed role;共享规则覆盖两平台,Windows 已运行时钟回归。 检查项 先复现真实超时并写回归;修复前 15 秒处已失败,修复后 15/61 秒状态及回收断言通过,无真实一分钟等待 [N/A] 无法自动化时手验:本项可自动化 检查共享 engine 配置、桌面消费者及显式期限调用点 规则共用,另一平台无重复实现 无无关重构;客户端记录同轮决策笔记 改动约束写入正式 Rust API 文档;客户端 Note 在配套 PR 范围检查 / Scope checks 功能矩阵 / Feature matrix N/A:Core 仓库不持有客户端矩阵;配套 Viva PR 更新实际能力及待验收边界。 统一日志系统 / Structured logging N/A:不新增事件或失败类别,沿用 managed runtime 的初始化失败与进程回收事件。 界面文案 / i18n N/A:无界面文字。 逻辑归属 / Logic placement 默认期限与生命周期规则在 Core;不按语言/工具名分支。 性能与内存 / Performance and memory 正常就绪不增加延时;仅扩大冷启动允许窗口,不新增线程、轮询、缓存或重试。取消与超时仍回收进程。 设置 / Settings N/A:无设置项。 插件契约 / Plugin contract N/A:没有插件协议、能力版本、宿主方法、参数或 SDK 改动;只同步既有 Rust API 默认值说明。 发行包与资源 / Bundle and resources N/A:无资源路径、下载或发行内容写入。 无用代码与重构 / Dead code and refactoring N/A:本改动没有产生无用代码,未发现本范围的新重构项。 验证 / Verification 命令或操作 平台 结果 verify-rust-core-comments.sh macOS 通过 node shared/plugins/scripts/verify-docs.mjs macOS 通过 engine 逐项计时 macOS 126 项通过 cargo test -p lithe-core(完整受影响 crate) macOS 通过 新增注入时钟回归 Windows 通过,0.05 秒 配套 Viva + 真实插件 macOS / Windows Maven、Gradle、运行与断点链路通过;客户端 PR 提供范围与报告 未能执行的检查和原因: 原生窗口与签名/安装器不在这个默认值修复的范围;不以组件测试替代这些验收。 提交前确认 / Final checks 独立 Core 仓库从最新 main 创建;目标 main Draft 提交,本地验证后再 ready;不发布 tag 或 Release 不含构建产物、个人路径或凭据 任务拥有的测试进程已结束,Windows 虚拟机已关闭
Open Graph Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1832 PR 类型 / Type fix:缺陷修复 改动说明 / What changes 背景 / Why Windows 原生验证中,真实打包 JDT 的 initialize 需要 15.413 秒,超过 Core 默认 10 秒,进程会在能够就绪前被终止。 改动 / Changes ...
X Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1832 PR 类型 / Type fix:缺陷修复 改动说明 / What changes 背景 / Why Windows 原生验证中,真实打包 JDT 的 initialize 需要 15.413 秒,超过 Core 默认 10 秒,进程会在能够就绪前被终止。 改动 / Changes ...
Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/pull/29
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0f643738-dd58-2ae3-1298-9788f0648caf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0B2:1F21:19D5BBF:235E663:6B072AE2 |
| html-safe-nonce | 5fbde1d938b19fd8657430070cb05910260cca1911926322981c1e3e37668844 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEIyOjFGMjE6MTlENUJCRjoyMzVFNjYzOjZCMDcyQUUyIiwidmlzaXRvcl9pZCI6IjkxMTI2MjU4MTcyOTY3NzU5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b16db0458dde02369a49fd1fbac774d2215a3b58b79f0b6936cf9505e55d7041 |
| hovercard-subject-tag | pull_request:5303844931 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Lithe-IDEA/Lithe-core-rust/pull/29/files |
| twitter:image | https://avatars.githubusercontent.com/u/159525154?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/159525154?s=400&v=4 |
| og:image:alt | 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1832 PR 类型 / Type fix:缺陷修复 改动说明 / What changes 背景 / Why Windows 原生验证中,真实打包 JDT 的 initialize 需要 15.413 秒,超过 Core 默认 10 秒,进程会在能够就绪前被终止。 改动 / Changes ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Lithe-IDEA/Lithe-core-rust git https://github.com/Lithe-IDEA/Lithe-core-rust.git |
| octolytics-dimension-user_id | 340144206 |
| octolytics-dimension-user_login | Lithe-IDEA |
| octolytics-dimension-repository_id | 1449354685 |
| octolytics-dimension-repository_nwo | Lithe-IDEA/Lithe-core-rust |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1449354685 |
| octolytics-dimension-repository_network_root_nwo | Lithe-IDEA/Lithe-core-rust |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a73ca0a5164c4669446bdffe239b0d7542ad735e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width