Repository navigation
Conversation
This was referenced Oct 27, 2026
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.
原生 Build 任务和测试此前仍由宿主展开 Maven 命令,Provider 只读取模型与依赖。本 PR 把生命周期、模型中的插件目标、自定义目标和测试交给同一工作区后端;清单删除对应命令模板,并保持 Maven 扩展作为工程事实的来源。
关联:1lck/Lithe-IDEA#1495、1lck/Lithe-IDEA#1517;依赖 SDK Draft PR #4 的新版 Java SDK。宿主只读模型输入已追加到原 #1517(58ca81cf6)。
改动
buildProviders: 3,任务与测试统一走lithe/build/execute/lithe/build/test;SDK 处理版本协商、操作进度和取消,不调用私有函数或旧宿主 CLI。-am构建。精确选择必须产生新报告;空结果、旧 XML 或其他包中的同名类不能伪装为成功。完整结果仍交给宿主已有 JUnit XML 解析器。modelSharing显式开放规范化项目、目标、内容目录及 profiles/offline/skipTests,排除设置文件内容、未声明选项、任务、运行计划和私有函数。.artifacts/native-development/run-*,不写dist/、不生成发行 ZIP、不更改正式 SDK 锁、版本或标签。验证
macOS arm64、Microsoft JDK 21.0.12、Maven 3.9.16:
node scripts/package-development.mjs --sdk-jar <local SDK JAR>;指定其打印的LITHE_TEST_PACKAGE后,运行scripts/test-native.mjs、scripts/test.mjs、scripts/test-backend.mjs、scripts/test-process.mjs;真实 Core 回归额外指定LITHE_CORE_LIBRARY运行scripts/test-native-core.mjs。补充:新增显式固定
sdk-revision的开发 CI;运行 40533306865 在 Java 8 后端、当前 Maven 与 Maven 3.6.3 两组各通过 55 项计时检查(包含 3 项开发打包),覆盖快照、原生执行、精确测试、失败/取消/进程清理和真实反应堆。开发产物仅在.artifacts,上传 SDK 哈希/包清单;普通 PR、main 和 Release 继续按正式 SDK 锁校验,源码开发 CI 成功不替代正式打包。主仓库另新增生产 macOS Provider 会话的真实 Maven 集成,模型、模块编译、精确单方法报告解码与全包只读通过;没有插件页面或私有函数。
合并和发布前置条件
保持 Draft。正式
sdk.lock.json仍锁定已经发布的旧 SDK,本 PR 没有伪造新校验值或放松正式打包校验。配套 SDK 合并并发布后,必须在本 PR 更新到实际发布的版本、URL 和 SHA-256,复跑正式package.mjs、Java 8/17 与 CI,才可 ready/合并。 当前源码直接用旧锁执行正式打包尚不能通过,这是已知依赖,不当作可发布包。宿主/Core 的新能力合并、公开契约镜像同步与 Maven SDK 锁定须按依赖顺序进行。旧 MavenService、Agent、设置、运行配置和 Java/JDT 迁移不在本 PR;不关闭 #1495,也不宣称整个 Maven 纵向迁移完成。