Skip to content

Commit 0279594

Browse files
committed
test: preserve hosted probe source bytes across checkouts
1 parent 8131ca3 commit 0279594

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎.agents/docs/2026-10-08-llvm-2313-part2-execution-and-dependencies.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,3 +427,17 @@ helper 在 Windows 的 Bash 环境中先用 `cygpath -u` 规范输出路径,
427427
job `113112389601` 已成功,实际完成原有样例与线程应用的三个
428428
目标构建,验证第 17 节原生 Windows 路径规范化更正。该 job 使用
429429
新增 JSON 行为检查之前的线程源码,不替代本节新增库的最终 CI。
430+
431+
## 19. 2026-10-08 四宿主源码字节一致性更正
432+
433+
Windows job `113112389601` 的线程源码摘要为
434+
`debee4f23a080caf1eb65450aed992dda41f3c5b322fd7d3b468764a242a1d6b`,
435+
而相同提交的 Linux/macOS 摘要为
436+
`ca48c94242e8d38e21503925d1205c75caf074e2c74db858d198d8831a372bc4`。
437+
将仓库源码的 LF 换为 CRLF 可精确复现 Windows 摘要。六份 Windows
438+
构建产物的架构与依赖闭包检查通过,但不能通过源码字节一致性门。
439+
440+
根目录 `.gitattributes` 对该源码模板指定 `text eol=lf`,使 checkout、
441+
复制到应用和计算摘要使用相同字节。该规则不改变摘要算法或运行断言。
442+
使用 `core.autocrlf=true` 的独立 checkout 验证 LF 字节及当前 JSON
443+
模板摘要一致;实际 Windows checkout 的验证由后续 CI 承担。

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The cross-host admission compares the exact source bytes compiled by each host.
2+
tests/fixtures/openkal-hosted-threads/src/main.cpp.in text eol=lf

0 commit comments

Comments
 (0)