Repository navigation
Conversation
…kernel clock Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Problem
AssetAccess.test.ts> "moves an HTML preview's revision only for the page and the files it requested" fails at line 1332:The test rewrites
b.htmlwith text of the same size (<h1>b</h1>to<h1>B</h1>) a few milliseconds after the first write. A file revision isdev:ino:size:mtimeNs:ctimeNs. CI runner kernels stamp files with a coarse clock, so both writes can get the same mtime and ctime. The revision then does not move. The same applies to the same-sizea.cssedit later in the test.Seen on 3 unrelated branches since the test landed in #39736:
factory/issue-40187(2026-11-21),factory/issue-40427andt3/wasm-markdown-renderer(2026-11-22). Two passed on rerun at the same SHA. None touch assets.Change
The test's
writehelper sets a new mtime after each write withutimes, as the file-revision test earlier in the same file already does. Each edit now has its own timestamp, like real edits. This changes only the test. The product is correct: real edits do not land in the same clock tick as the previous version.Scope
Test-only flake fix from the daily CI health pass.
Verification
mediaFileRevisionround mtime and ctime to whole seconds. The old test then failed 3 of 3 runs at line 1332 with the CI message.AssetAccess.test.tspass.vp run check:changedpasses.Made by Claude Opus 5.5 in Claude Code (T3 Code daily CI health pass).
🤖 Generated with Claude Code