suzmii
ff42fff61c
Project CI / Repository checks (pull_request) Successful in 3m18s
Project CI / Frontend tests (pull_request) Successful in 4m3s
Project CI / Backend tests (pull_request) Successful in 7m25s
Project CI / Native shell tests (pull_request) Successful in 19m35s
按评审意见把写锁等待挪出 runtime worker 并收紧 wait_exhausted 记账
- agc_write_file 写路径改经 bridge_write_file_in_blocking_pool 走 tokio::task::spawn_blocking:有界等待是同步轮询(最多约 10 秒),直接在 async handler 里跑会占住 tokio worker,争用窗口内同一轮并行写多个文件时会波及共享同一 runtime 的只读端点与 UI 命令
- 新增用例用默认 current_thread runtime 加心跳任务锁住该性质;把 handler 临时改回同步直调时该用例按预期失败,确认有区分度
- project.write_lock.wait_exhausted 与终态改判一起改为只在真的等过(max_attempts > 1)时发生:hydrate 的单次试探不再写 waitedMs 近似 0 的“耗尽”日志
- 技术方案、decision-log、pitfalls 同步这两条,并补“同步有界等待不能直接跑在 async handler 里”的排障经验
2026-09-10 21:38:48 +08:00
..
2026-09-10 21:38:48 +08:00
2026-08-31 13:09:29 +08:00
2026-09-03 10:02:05 +08:00
2026-09-03 10:02:05 +08:00
2026-08-31 10:53:30 +08:00
2026-09-10 20:46:10 +08:00
2026-09-08 09:44:21 +00:00
2026-09-08 09:44:21 +00:00
2026-09-10 19:58:05 +08:00
2026-09-08 09:44:21 +00:00
2026-09-08 11:56:36 +08:00
2026-09-09 05:49:33 +00:00
2026-09-08 22:04:37 +08:00
2026-09-02 14:39:01 +08:00
2026-08-18 13:14:45 +08:00
2026-09-08 11:25:17 +00:00
2026-09-01 20:13:48 +08:00
2026-08-26 02:32:04 +08:00
2026-08-31 13:09:29 +08:00
2026-08-31 13:09:29 +08:00
2026-07-14 09:41:18 +08:00
2026-08-27 13:55:25 +08:00
2026-09-09 06:06:35 +00:00
2026-09-10 08:57:31 +00:00
2026-08-06 15:14:23 +08:00
2026-08-26 21:19:39 +08:00
2026-07-03 01:32:51 +08:00
2026-09-08 09:44:21 +00:00
2026-07-31 13:44:13 +08:00
2026-08-12 10:34:20 +08:00
2026-09-02 14:39:01 +08:00
2026-08-31 13:09:29 +08:00
2026-08-26 02:32:05 +08:00
2026-09-09 19:44:46 +08:00
2026-08-24 21:44:44 +08:00
2026-09-02 14:57:18 +08:00
2026-09-08 15:11:36 +08:00
2026-07-14 09:41:18 +08:00
2026-07-23 10:50:02 +08:00
2026-09-10 20:12:28 +08:00
2026-09-08 09:44:21 +00:00
2026-09-08 09:44:21 +00:00
2026-08-26 15:29:28 +08:00
2026-08-31 13:09:29 +08:00
2026-08-12 13:14:55 +08:00
2026-08-31 13:09:29 +08:00
2026-08-14 07:14:25 +08:00
2026-08-26 02:32:05 +08:00
2026-09-08 11:25:17 +00:00
2026-08-26 21:34:04 +08:00