You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✔ locale titles remain literal in generated Swift source (212.330833ms)
✔ checked-in generation is current and checking never changes bytes (155.0225ms)
✔ Git Windows checkout preserves generated bytes with autocrlf enabled (integration) (341.7825ms)
✔ duplicate JSON keys include escaped spellings and nested overrides (0.630666ms)
(此后无输出,进程不退出)
Screenshots or recordings / 截图或录屏
无:命令行测试,日志已贴出。
Checklist / 提交前检查
I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Activity
1lck commentedon Nov 14, 2026
本轮定位已确认本单在最新 preview b582e20 中已有修复,按维护者前述清理授权关闭。
根因在旧生成器的
spawnSync("gofmt", [], {input: source, ...}):约 450 KB 的词条源码通过标准输入送给 gofmt,macOS 上偶发无法结束输入;同步调用同时阻塞 Node 事件循环,因此测试的 JavaScript 超时不能及时中断。旧客户端路径是兼容分支测试夹具,并不是本次挂起的根因。修复已经随 #1911 合入,提交为 6196a39。该提交记录了原问题的重复实验;现在改为私有临时文件、异步 execFile、10 秒进程超时和 finally 清理,保持生成字节不变。
本轮在最新 preview 的隔离工作树实际执行完整
node --test --test-timeout=15000 --test-reporter=spec scripts/i18n/test-i18n.mjs:41/41 通过,约 17.37 秒;整个测试进程另有独立的外部截止时间及进程组清理保护,正常退出,未触发外部终止。verify-app-language-localization.mjs、generate-i18n.mjs --check、发行目录只读检查和功能矩阵校验也通过。本次没有为已存在的修复重复修改生成器。证据:修复提交、当前 gofmt 调用与清理。
fix(tests): 终端菜单测试通过真实侧栏交互触发重绘 (#1917) [skip ci]