Repository navigation
feat(core): #1662 车道 C 运行/调试下沉(RUN-03/06/07/14) - #1759
Merged
Merged
Conversation
This was referenced Nov 5, 2026
- RUN-03:Core 新增 build.resolveTestRunOutcome 通用归约(超时/取消不声明测试结果,失败优先于退出码, 退出码 0 但没有执行选中测试判为失败);macOS LanguageTestService 与 Windows maven.store 改为调用,删除旧的按退出码判定 - RUN-06:Core 新增 debug.planVariablePage / reduceVariablePage;macOS 删除本地分页状态机; Windows 保留 named/indexed 数量,只自动请求非 expensive Scope(expensive 改为手动加载),请求携带 filter/start/count 并提供加载更多 - RUN-07:Windows 栈帧完整消费 sourceReference / instructionPointerReference / isFiltered,sourceReference 帧不再当磁盘文件打开 - RUN-14:Core 新增 debug.planDisassemblyWindow / reduceDisassemblyPage;macOS 删除本地窗口二分、负偏移回退与耗尽判定;Windows host 未开放 disassemble/readMemory,功能矩阵标明 - 共享 fixture、i18n 词条、rust-core-api 说明、功能矩阵与 v1 baseline 条目一并更新 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
带失败用例期望 .failed,零测试期望 .failed 并断言“没有找到任何测试”文案,正常通过仍期望 .passed。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1746 新增的 makeDeclaredFeature 仍用旧的 GenericDebugFeatureModel(sessions:) 初始化, 而本 PR 给初始化器增加了必填的 paging 参数,补上 paging: LinkedCoreDebugPaging()。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1lck
force-pushed
the
feat/issue-1662-c-run-debug
branch
from
November 5, 2026 09:38
79c370a to
5fefded
Compare
Owner
Author
本地验证(代替 GitHub macOS / Windows CI)本 PR 与 #1760、#1755、#1753、#1759、#1756、#1758、#1757 一起,在本地集成分支 macOS(本机,macOS 26.6 arm64)
Windows(lithe-dev,Windows Server)
合并前每个 PR 已 rebase 到最新 preview,并重新执行编译、i18n、 |
1lck
marked this pull request as ready for review
November 5, 2026 09:38
This was referenced Nov 5, 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.
引用 #1662 车道 C(运行/调试)。本 PR 完成 RUN-03、RUN-06、RUN-07、RUN-14;【插件】类 RUN 条目不在此范围。
改动
build.resolveTestRunOutcome(通用归约,不含 Maven/JUnit 语义)。超时/取消不声明测试结果;已报告的失败优先于退出码;非零退出优先于空结果;退出码 0 但没有执行任何选中测试判为失败(显式套件/用例为 noTestsMatched,项目/工作区为 noTestsFound)。macOSLanguageTestService与 Windowsmaven.store都改为调用,旧的按退出码判定已删除。新增词条tests.outcome.noTestsMatched/noTestsFound。debug.planVariablePage/debug.reduceVariablePage(named/indexed 分段、重复页丢弃、耗尽判定)。macOS 删除本地分页状态机。Windows 保留 Scope 与变量的 named/indexed 数量,请求携带 filter/start/count,并提供“加载更多”。sourceReference、instructionPointerReference、isFiltered;带sourceReference的帧不再把sourcePath当磁盘文件打开或高亮;被过滤的帧在调用栈中淡化。debug.planDisassemblyWindow/debug.reduceDisassemblyPage(窗口二分缩小、首窗口负偏移回退、边缘探测、重复地址去重)。macOS 删除本地实现。Windows host 目前未开放 disassemble/readMemory,功能矩阵debug-disassembly保持 missing 并写明原因。rust-core-api.md、功能矩阵(debug-state / debug-disassembly / run-java-test)与v1-baseline.json同步追加。两端行为变化
新 API
build.resolveTestRunOutcome、debug.planVariablePage、debug.reduceVariablePage、debug.planDisassemblyWindow、debug.reduceDisassemblyPage。验证
cargo test -p lithe-core --lib(debug::/build:: 全部)、rust-core-comments、shared-contracts、verify-core、service-boundaries、windows-boundaries、feature-matrix、i18n 两项、runtime-bundle-immutability、swift build、tsc --noEmit。test-macos.sh的 ExecutionModuleTests 167 个全通过;LanguageTestService相关测试已按 RUN-03 断言具体终态(带失败用例与零测试均为.failed,后者并断言“没有找到任何测试”文案,正常通过为.passed)。LitheDebugModuleTests 与相关 LitheTests 合并并发跑时出现 4 个超时类失败,已在干净 origin/preview 上用同一 filter 对比:toolbarDebugRestartsOnlyTheSelectedTarget、repeatedStartupFailuresStopUntilExplicitRestart、preparedProviderOutputRendersWithoutGeneratedConfigurations在基线上同样失败(原有问题,非本 PR 引起);staleProjectLoadCannotReplaceTheNewProjectState基线本次未复现,但它是waitUntilBlocked等待型用例,不经过本 PR 改动的代码,本分支单独复跑通过,判断为并发抖动。maven.store.test.ts63 通过;debug-adapter-events.test.ts16 通过(含新增分页与 sourceReference 用例);src/features/run324 通过。debug-adapter-service.test.ts在src/features/debugger整体运行时有 7 个失败,在干净的 origin/preview 上完全相同(原本存在),单文件运行通过。src/features/maven下maven-detected-value.test.tsx、reload-maven-workspace.test.ts在本机 bun 下挂起,未跑;cargo check --bin lithe-windows在 macOS 上有 2 个 Windows 专有 API 的既有错误,无新增;lithe-core 全量中search_everywhere_pages_all_sources_past_200...曾超时,与本 PR 无关;Windows 真机调试未验证。🤖 Generated with Claude Code