Commit Graph

107 Commits

Author SHA1 Message Date
lyon 13d74c3c06 fix: trace turn status read disconnects 2026-06-22 01:23:48 +08:00
lyon f930b21bb6 fix: avoid blocking projection resume on running AgentRun result 2026-06-22 01:06:31 +08:00
lyon 84180e3ae2 fix: do not seal running agentrun turns on caught-up projection 2026-06-21 14:47:06 +08:00
Lyon c3abe1a51a fix: seal AgentRun terminal projection (#1820) 2026-06-21 13:17:37 +08:00
Lyon a0c54934b2 fix(workbench): lengthen projection resume retry delay (#1804) 2026-06-21 09:57:26 +08:00
Lyon 0c25d44eac fix(workbench): back off non-terminal projection resumes (#1803) 2026-06-21 09:51:15 +08:00
Lyon bc8805baaf fix(workbench): back off projection resume pass failures (#1802) 2026-06-21 09:45:11 +08:00
Lyon 5b66e9db10 fix(workbench): back off projection resume candidates (#1801) 2026-06-21 09:39:10 +08:00
lyon b6dc2b4126 fix(workbench): seal final response lifecycle 2026-06-21 07:26:22 +08:00
lyon bad5a478bd fix: recover Workbench terminal outbox projection 2026-06-20 20:12:01 +08:00
lyon 800f674d5c fix: recover AgentRun terminal projection 2026-06-20 20:05:13 +08:00
Lyon 4f7e55e2d8 fix: PJ2026-0104010803 P5 残余 events.at(-1) 读侧推理清理 + code-agent metric status (#1759)
useTraceSubscription.ts:
- mergeTraceResults: lastEventLabel 不 fallback 到 events.at(-1)
- mergeTraceSnapshots: lastEventLabel 不 fallback 到 events.at(-1)
- traceSnapshotSignalKey: 不从 events.at(-1) 推导 signal key

server-code-agent-http.ts:
- recordCodeAgentProjectionMetric: status 只读 projection.status
- source 固定为 workbench_read_model

负向源码扫描确认:
- result?.status ?? trace?.status: 消除
- events.at(-1) lifecycle 推断: 消除
- .catch(() => {}) 静默吞错: 消除
- traceStore.subscribe: 仅作为 outbox 不可用时的兼容降级

Closes #1751
Refs #1742
2026-06-20 19:42:19 +08:00
lyon 3718b5d77d fix: persist manual workbench sessions 2026-06-20 16:58:31 +08:00
Lyon ecbb13cdf4 fix: expose trace pagination in cli and otel (#1687) 2026-06-20 11:32:13 +08:00
lyon 1c4cf29274 feat: enrich AgentRun dispatch error OTel spans 2026-06-20 11:17:57 +08:00
lyon c3de9d6e4d fix: allow provider profile recovery after thread resume failure 2026-06-20 10:26:50 +08:00
lyon e79ea2cb42 feat: persist workbench projection facts 2026-06-20 08:57:21 +08:00
lyon 69b8e03661 feat: add code agent otel spans 2026-06-19 23:05:50 +08:00
lyon 5f1763aeac fix: persist workbench turn admission before preflight 2026-06-19 21:55:15 +08:00
lyon 3f83852f60 fix: persist workbench projection cursor 2026-06-19 21:20:11 +08:00
lyon 6dbf668a5d fix: retry failed projection resume batch 2026-06-19 17:05:48 +08:00
lyon 063633f8e2 fix: stagger workbench background db scans 2026-06-19 16:54:43 +08:00
lyon 02989a8237 fix: preserve workbench message whitespace 2026-06-19 15:40:12 +08:00
lyon d2964d93a9 fix: resume workbench agentrun projection 2026-06-19 12:46:43 +08:00
Lyon b780503e78 fix: keep code agent turn reads projection-only (#1594) 2026-06-19 12:06:58 +08:00
Lyon 0169125f8f feat: add workbench projection performance metrics (#1592) 2026-06-19 11:13:26 +08:00
lyon 88112c415f fix: surface workbench projection diagnostics 2026-06-19 11:04:37 +08:00
lyon 5e40d5f338 fix: export AgentRun read refresh guard 2026-06-19 04:57:15 +08:00
lyon 05e30ce2ba fix: backfill AgentRun terminal projection on read 2026-06-19 04:48:14 +08:00
lyon cee702726c fix: complete v03 AgentRun workbench projection 2026-06-19 03:32:11 +08:00
lyon 98d7b1c6f0 fix: remove workbench read-through projection repair 2026-06-19 00:08:01 +08:00
lyon d0eb94ae6a fix: add Workbench projection read model 2026-06-18 23:17:58 +08:00
lyon edae2b40b4 fix: use idle-only AgentRun projection timeout 2026-06-18 22:36:30 +08:00
lyon b469b3efa6 fix: project AgentRun turns after submit 2026-06-18 21:31:44 +08:00
lyon e647be4ee6 fix: expose code agent trace phase timing (#1422) 2026-06-18 19:15:55 +08:00
lyon e0c3b80c48 fix: avoid blocking terminal trace reads 2026-06-18 18:08:25 +08:00
lyon 4777235b54 fix: skip terminal trace refresh when cached 2026-06-18 17:36:26 +08:00
lyon 5178c20710 fix: cache code agent turn session lookup 2026-06-18 17:17:31 +08:00
lyon dd01f47951 fix: converge workbench session state projection 2026-06-18 15:55:18 +08:00
lyon 08b2e3077a fix: converge workbench session authority 2026-06-18 15:24:16 +08:00
lyon f310689851 fix: defer terminal turn status effects 2026-06-18 13:38:25 +08:00
lyon a69ff3cc99 fix: record terminal turn effects once 2026-06-18 13:17:28 +08:00
lyon e765f23af9 fix: skip completed AgentRun turn refresh 2026-06-18 13:03:21 +08:00
lyon 177e5373d6 fix: avoid duplicate AgentRun turn status refresh 2026-06-18 12:28:17 +08:00
lyon 6a313e9ee8 fix(workbench): unify session authority for reload deletion and mobile actions 2026-06-18 10:34:24 +08:00
lyon 191b785944 fix: bound workbench turn status refresh 2026-06-17 23:15:58 +08:00
lyon 7904897392 fix(workbench): enforce project-scoped session views 2026-06-17 22:34:35 +08:00
lyon 41d6407ab2 feat: add backend performance metrics 2026-06-17 18:22:30 +08:00
lyon 8a4a3f1248 fix(workbench): expose turn lifecycle ids 2026-06-17 12:34:22 +08:00
lyon e265c863c5 fix(v03): stabilize workbench trace loading 2026-06-17 09:13:03 +08:00