Merge branch 'nih-dependency-audit' into nih-imp-execa

This commit is contained in:
Tianyi Cui
2026-07-27 00:38:55 +08:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.md: 1a012aeabc7f9445127d6b8edcbe2f72e62f0eba
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.zh.md: 742d2c5ee8573c9b2bdf555c938c83dd6ea9f999
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.md: 475fd632cd4f75c966d4693e049edd48a1301992
2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.zh.md: 47b20fdb237ab52aecba6b7df20dbd25eeb1649e

View File

@@ -1,6 +1,6 @@
# Agent Note: Use node:timers/promises for hand-rolled cancellable sleeps
Status: proposed
Status: rejected — implementation (PR #679) falsified the parity premise: vitest's fake clock does not intercept `node:timers/promises`, so the swap costs deterministic fast tests for ~10 deleted lines
English | [中文](2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.zh.md)

View File

@@ -1,6 +1,6 @@
# Agent Note: 用 node:timers/promises 替代手写的可取消休眠
Status: proposed
Status: rejected — 实现PR #679证伪了行为等价前提vitest 的假时钟不拦截 `node:timers/promises`,这次替换用确定性的快速测试换来约 10 行删除,得不偿失
[English](2026-07-26-builtin-timer-promises-for-hand-rolled-sleeps.md) | 中文