You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(connectors): install the #1081 write-delay wrapper inside try, and assert it ran #1224
Add a renameCalls count asserted at the end of the case. It pins the named rename import path, not that the delay took effect. Red first: store.js writing through a node:fs rename — the case stays green on main, red with the count.
Then hand-edit the test/connectors.test.js hunk in patches/ds-bot/0001-core-fixes.patch (no git on this host, so generate is unavailable) and prove it with node scripts/ds-bot-patches.mjs check.
Activity
Birfy commentedon Oct 26, 2026
Triage(2026-10-26):查重完成,结论
agent-ready(标签bug+area:automation+agent-ready)。1. 查重
#1215的评审尾项;#1215已合入(merged_at 2026-10-26T03:02:53Z,tipbd31c07d),#1081随之closed/completed——所以这张是唯一接尾巴的单。#1216(同分支思路、作者自关)不再跟。#1225、#1222混:那两张是产品面,这张只动core/test/connectors.test.js与它的 patch 镜像。2. 为什么标
bug两条都是**「已经绿了,但将来会静默退化成碰巧绿」**:包装安装在
try之外(setup()抛错就漏还原)、以及成功依赖 store 继续用具名rename导入。退化后用例仍 29/29 绿,等于没有证据——这正是缺陷。3. 验收补充(正文两条之外的钉子)
rename路径还在』,不钉「延时真的生效」——正文自己写明了,照写,别再造成只看墙钟的断言。setup()抛错的实验、把store.js换成fs.promises.rename的实验,两条都要有改前的红。core/test/connectors.test.js就要同步patches/ds-bot/0001-core-fixes.patch并跑node scripts/ds-bot-patches.mjs check(有 git 优先generate)。risk:T*只由控制器写(不手写、不转录);认领评论里带分支名。Birfy commentedon Oct 26, 2026
Claiming for Dev2 — branch
fix/1224-connectors-wrapper-in-try, PR #1262.Plan, matching the two acceptance lines in the issue and the Triage note:
fsp.rename = …+syncBuiltinESMExports()) inside thetry, keeping thefinallyrestore, so a throwingsetup()cannot leak it. Red first: a probe wheresetup()throws plus a later test assertingfsp.renamewas restored — it leaks on main.renameCallscount asserted at the end of the case. It pins the namedrenameimport path, not that the delay took effect. Red first:store.jswriting through anode:fsrename — the case stays green on main, red with the count.Then hand-edit the
test/connectors.test.jshunk inpatches/ds-bot/0001-core-fixes.patch(no git on this host, sogenerateis unavailable) and prove it withnode scripts/ds-bot-patches.mjs check.