Repository navigation
feat(linux): package and run Java Support on ARM64 and x64 - #15
Merged
Merged
Conversation
1lck
marked this pull request as ready for review
November 14, 2026 17:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
无,按维护者在 Codex 中提出的 Linux 双架构补齐请求实施。
PR 类型 / Type
改动说明 / What changes
背景 / Why
Lithe Store 中现有版本没有 Linux 下载项,Linux ARM64 和 x64 用户无法安装。
改动 / Changes
不在本 PR 范围内 / Out of scope
市场索引在发布附件可下载且 SHA-256 校验通过之后单独更新。
类型专属:feat
多平台对齐
本 PR 新增 Linux 双架构;既有 macOS/Windows 发布覆盖保持不变,不新增宿主平台依赖。
范围检查 / Scope checks
功能矩阵 / Feature matrix
插件自己的
docs/feature-matrix.md已更新;未完成原生验证的状态保持待验证。界面文案 / i18n
N/A:无界面文案变化。
统一日志系统 / Logging
N/A:无生产运行时错误处理或日志变化;新增构建和测试错误直接返回非零退出。
逻辑归属 / Ownership
全部变更在插件仓库,不向宿主或 Core 添加具体插件内容。
性能与内存 / Performance and memory
沿用既有运行时与启动路径;无新常驻进程、空闲轮询或运行时下载。Linux 新增的 JDK/二进制仅在该平台安装包中。
设置 / Settings
N/A:无设置行为变化。
插件契约 / Plugin contract
N/A:继续使用原有契约 v0、能力版本与 SDK。
发行包与资源 / Bundle and resources
新增产物、下载校验和隔离策略在
docs/linux-packaging.md;安装目录只读。宿主的运行时 bundle 静态检查通过;原生动态验证由 CI 执行。无用代码与重构 / Dead code and refactoring
未发现本次需建单的既有无用代码或架构债;未修改无关内容。
验证 / Verification
本地 11 项打包单测、完整 Cargo 测试、cargo fmt/clippy、actionlint 通过。macOS arm64 打包、解压与真实后端/JDT LS 握手、关闭和安装目录哈希不变检查均已通过;Linux 原生验证由新增 CI 执行。
提交前确认 / Final checks
origin/main创建(插件仓库使用 main)。补充:Linux JDK 许可证链接在构建阶段展开;共享库校验 ELF 架构,后端与 Java 启动器另行校验执行权限。原生启动测试使用插件真实默认堆配置,保持既有设置下限。Linux 目标为 GNU/glibc,CI 使用 Ubuntu 24.04。
最终 CI 结果
完整 CI 通过:Linux ARM64 与 x64 的构建、ZIP 解压校验、包内后端/JDK/JDT LS 原生启动、关闭和目录哈希/权限不变检查全部通过;macOS ARM64/x64 归档回归、Rust 格式/lint/全部测试也通过。原生验证平台为 Ubuntu 24.04,没有把 macOS 结果充作 Linux 验证。