fix: stabilize endpoint acceptance and filter worktree metadata - #41
Merged
Merged
Conversation
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.
合并 PR #40 后,main 的 Node 22 CI 在真实 Tray 端点检查中超过生产 resolver 的 3 秒超时而失败(运行 34584238856,3049.8471 ms)。该检查原先与 50 个测试文件并行运行;现在移至已有的生产 STDIO 阶段,直接调用编译后的生产 resolver 并记录耗时。生产超时、版本和管道断言不变,失败仍阻断 check,无跳过或自动重试。其他九项 Tray 协议测试继续并行运行。此调整减少测试启动竞争,原生启动延迟的具体原因仍未确定。
独立 worktree 验证同时复现了目录浏览的既有缺陷:默认过滤排除了 .git 目录,却列出了 worktree 的 .git 文件。补充该文件的默认排除,保留 includeIgnored=true 的显式访问;新增一个临时目录回归,先复现再修复。
验证:本地 Node 24.19.0 最终完整 check 454/454,无跳过;生产 STDIO 17 工具、导航/EOF、Tray 端点通过(251.4701 ms);正式原生构建和交付清单通过。相关目录测试 17/17、Tray 协议 9/9。第一次本地 check 的 worktree 失败记录保留,详情见现有工作日志。未重复无关桌面验收。
Node 测试执行模型;Git worktree 布局。
最终提交 5901940 的 Node 22/24 和三项 CodeQL 首次运行全部成功(CI 34585714968)。已于 2026-09-11 09:56:54 UTC 合并为 631f8ba。该合并提交的 main CI 34586761303 与三项 CodeQL 同样首次运行全部成功;Node 22 11 分 13 秒、Node 24 1 分 53 秒。两者回归均为 454 总计、453 通过、零失败、1 个需外部 TavernDesk 工作区的可选跳过。真实 Tray 端点分别为 898.7275 ms 和 308.9672 ms;所有上传的原生验收报告 success=true。原始 main 失败记录保留,不通过重跑覆盖。