Title: 工具注册表按几千个插件扩容:会话持有注册表、按需解析 · Issue #98 · Lithe-IDEA/Lithe-core-rust · GitHub
Open Graph Title: 工具注册表按几千个插件扩容:会话持有注册表、按需解析 · Issue #98 · Lithe-IDEA/Lithe-core-rust
X Title: 工具注册表按几千个插件扩容:会话持有注册表、按需解析 · Issue #98 · Lithe-IDEA/Lithe-core-rust
Description: 问题 构建、执行、部署设置页的目标是承载几千个插件(设计见 1lck/Lithe-IDEA#2163 的 2026-11-18-build-execution-settings-at-scale.md)。现在的工具注册表在这个规模前就会拒绝: rust/crates/toolchain/src/definitions.rs:763:一次注册最多 128 个插件。 rust/crates/toolchain/src/definitions.rs:795:最多 512 个工...
Open Graph Description: 问题 构建、执行、部署设置页的目标是承载几千个插件(设计见 1lck/Lithe-IDEA#2163 的 2026-11-18-build-execution-settings-at-scale.md)。现在的工具注册表在这个规模前就会拒绝: rust/crates/toolchain/src/definitions.rs:763:一次注册最多 128 个插件。 rust/crates/to...
X Description: 问题 构建、执行、部署设置页的目标是承载几千个插件(设计见 1lck/Lithe-IDEA#2163 的 2026-11-18-build-execution-settings-at-scale.md)。现在的工具注册表在这个规模前就会拒绝: rust/crates/toolchain/src/definitions.rs:763:一次注册最多 128 个插件。 rust/crates/to...
Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/issues/98
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"工具注册表按几千个插件扩容:会话持有注册表、按需解析","articleBody":"## 问题\n\n构建、执行、部署设置页的目标是承载几千个插件(设计见 1lck/Lithe-IDEA#2163 的 `2026-11-18-build-execution-settings-at-scale.md`)。现在的工具注册表在这个规模前就会拒绝:\n\n- `rust/crates/toolchain/src/definitions.rs:763`:一次注册最多 128 个插件。\n- `rust/crates/toolchain/src/definitions.rs:795`:最多 512 个工具定义、256 个提供者。\n- `rust/crates/toolchain/src/lib.rs:31`:每次命令的输入不超过 4 MiB。宿主每次调用都要把所有已启用插件的清单整体发一遍,几千个插件时会超出。\n\n`toolchains.settingsView` 已经按 20,000 个工具设计(只返回可见行和计数)。卡住的是它前面的注册和解析:插件一多,注册直接失败,设置页拿不到工具。\n\n## 方向(待设计)\n\n- 注册表由 Core 会话持有,宿主按插件增删做增量注册,不再每次整体发送清单。\n- 解析和探测按需进行:设置页只解析可见行和待处理项需要的工具;构建或运行时只解析用到的工具。\n- 上限按 5,000 个插件重新定,并给出内存和时间预算的测量方法。\n- 宿主侧缓存、失效和并发规则写进 toolchains 契约 README。\n\n## 不在本单范围\n\n- 设置页的投影和折叠:已在 `toolchains.settingsView` 和 `plugins.settings.navigation` 里完成(toolDefinitions 1 的 PR)。\n","author":{"url":"https://github.com/xiaoyumuxi","@type":"Person","name":"xiaoyumuxi"},"datePublished":"2026-11-18T12:32:37Z","url":"https://github.com/Lithe-IDEA/Lithe-core-rust/issues/98"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:638c70b5-8879-f21c-da5d-f3b175a73dcf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80DE:BCD84:92391:C485B:6B072FBC |
| html-safe-nonce | 4181ed5d6a0ebfa99064745714754a85423928b99f5af828a7e91dd912783c05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MERFOkJDRDg0OjkyMzkxOkM0ODVCOjZCMDcyRkJDIiwidmlzaXRvcl9pZCI6IjQ0OTI4OTA4ODg0MjI3NjQ0NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3a9bc0f1cc853b858aff407eb37b342dab7a1e9fd4c888935dff3644d921e73a |
| hovercard-subject-tag | issue:6467198057 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/Lithe-IDEA/Lithe-core-rust/98/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc0ba599f141e6f89e3f37ac4f5a2af9a26290651669ee610812852148ca0d4d/Lithe-IDEA/Lithe-core-rust/issues/98 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc0ba599f141e6f89e3f37ac4f5a2af9a26290651669ee610812852148ca0d4d/Lithe-IDEA/Lithe-core-rust/issues/98 |
| og:image:alt | 问题 构建、执行、部署设置页的目标是承载几千个插件(设计见 1lck/Lithe-IDEA#2163 的 2026-11-18-build-execution-settings-at-scale.md)。现在的工具注册表在这个规模前就会拒绝: rust/crates/toolchain/src/definitions.rs:763:一次注册最多 128 个插件。 rust/crates/to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiaoyumuxi |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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 |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width