fix: P0/P1/P2 全量修复 — 取消安全 + 异常传播 + 事务回滚 + DSL 语义分析 #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/dsl-semantic-hotfix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
修复一览
P0(元评审共识,3/3)
_task_errors写入 context,主循环 finally 中检查并 raiselist→ 不可变tuple,每次修改创建新值for串行 →asyncio.gather并行 +return_exceptions=TrueP1(本迭代,3/3)
CancelledError时保存compound_stack和_event_buffer到 contextdict(ctx)→deepcopy(ctx)_check_unguarded_loops()P2(2/3)
TransactionContext(context + file),15 个测试while True协程在 TG 退出时不会自动 cancel)测试
127 passed, 0 failed, 0 skipped