qwen-code/docs
jinye e887e334be
fix(core): Tolerate transcript timestamp drift (#7886)
* 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>
2026-07-31 08:11:44 +00:00
..
assets feat: support workspace display names (#7179) 2026-07-20 15:16:44 +00:00
design fix(core): Tolerate transcript timestamp drift (#7886) 2026-07-31 08:11:44 +00:00
developers feat(agent): add fork tool execution allowlist (#8066) 2026-07-30 13:58:51 +00:00
e2e-tests feat(worktree): Phase D — startup --worktree flag + symlinkDirectories + PR refs (#4381) 2026-05-27 17:04:51 +08:00
images fix(web-shell): render built-in tag icons (#7024) 2026-07-17 15:33:34 +00:00
plans perf(web-shell): paint the composer git chip before git status completes (#7680) 2026-07-25 07:05:52 +00:00
superpowers feat(cli): reference prior sessions via @ and add completion tabs (#7302) 2026-07-24 06:11:48 +00:00
users fix(github-channel): retry definite no-write deliveries (#8087) 2026-07-31 08:06:28 +00:00
verification/abort-controller-refactor fix(core): stop AbortSignal listener leak in long sessions (MaxListenersExceededWarning) (#4366) 2026-05-26 14:21:49 +08:00
_meta.ts feat: refactor docs 2025-12-05 10:51:57 +08:00
index.md fix: lint issues 2025-12-19 15:52:11 +08:00