mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-04 22:00:58 +00:00
* fix(core): tolerate transcript timestamp drift Treat transcript timestamps as advisory and verify content before fencing a live writer. Preserve exact shutdown release semantics while aborting slow acquisition scans. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * fix(core): Address transcript reconciliation review Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * fix(core): address transcript snapshot review Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * fix(core): isolate FileHandle prototype spies to prevent test flakiness (#7886) Capture the real native FileHandle.prototype.read/stat once in beforeAll and use them as delegation targets in all reconciliation tests, instead of each test capturing whatever is currently on the prototype (which could be a previous test's spy if cleanup ordering varied). Add vi.restoreAllMocks() and explicit prototype restoration to afterEach as a safety net against spy chaining across the shared prototype. * test(core): add append-path symlink-race regression test (#7886) * fix(core): replace unreliable chmod with utimes in reconciliation tests (#7886) Seven content-verification tests used chmod(path, sameMode) to create a timestamp drift that forces the reconciliation path. On filesystems that coalesce same-mode chmod ctime updates (e.g. ext4 with lazytime), the drift is not observed and the fast path is taken, so the read/stat spy never fires and the test fails non-deterministically. Replace with utimes(path, atime, mtime + offset), which explicitly sets a different mtime and is deterministic across all filesystems. Tests whose spies also inject utimes offsets use +500 for the setup to avoid colliding with the spy's +N*1000 offsets. * fix(core): replace unreliable chmod with utimes in reconciliation tests (#7886) --------- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: Qwen Code Bot <qwen-code-bot@users.noreply.github.com> Co-authored-by: Qwen Code Autofix <qwen-code-autofix@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| design | ||
| developers | ||
| e2e-tests | ||
| images | ||
| plans | ||
| superpowers | ||
| users | ||
| verification/abort-controller-refactor | ||
| _meta.ts | ||
| index.md | ||