Mert Başar
029ca8c268
feat(agents): implement state-aware failover and lane suspension
Summary:
- Persist quota-suspension state transitions and reload fresh suspension state before failover handoff injection.
- Restore suspended lanes to configured concurrency and share failover-to-suspension reason mapping across fallback and embedded runner paths.
- Export model.failover diagnostics via OTLP and cover queueing/resume behavior with regressions.
Verification:
- pnpm test src/config/sessions/store.pruning.integration.test.ts src/process/command-queue.test.ts src/agents/session-suspension.test.ts src/agents/model-fallback.test.ts extensions/diagnostics-otel/src/service.test.ts
- git diff --check
- pnpm exec oxfmt --check --threads=1 on changed TypeScript files
- GitHub checks: 92 successful, 0 pending, 0 failed on head 962146be88
- Review threads: none unresolved
2026-05-07 18:34:05 -05:00
..
2026-05-07 22:36:31 +01:00
2026-05-01 12:55:28 +01:00
2026-05-07 12:52:48 -07:00
2026-04-28 22:11:27 +05:30
2026-05-07 15:26:49 +05:30
2026-05-07 15:26:49 +05:30
2026-04-29 11:20:11 +01:00
2026-05-01 21:17:21 +01:00
2026-05-02 03:33:26 +01:00
2026-05-02 08:30:19 +01:00
2026-05-06 22:22:39 -07:00
2026-05-03 18:22:20 +01:00
2026-05-03 18:22:20 +01:00
2026-05-03 18:22:20 +01:00
2026-04-29 23:16:16 +01:00
2026-05-05 01:33:22 +01:00
2026-05-06 17:33:46 +01:00
2026-05-02 00:39:54 +01:00
2026-05-02 00:49:06 +01:00
2026-05-06 08:18:20 +01:00
2026-05-07 18:34:05 -05:00
2026-04-25 06:27:22 -05:00
2026-04-27 08:03:02 +01:00
2026-05-06 22:22:39 -07:00
2026-05-02 00:49:06 +01:00
2026-05-03 13:46:26 +09:00
2026-05-03 13:46:26 +09:00
2026-05-07 12:52:48 -07:00
2026-05-07 12:52:48 -07:00
2026-05-01 07:06:22 +01:00
2026-04-26 01:41:08 +01:00
2026-04-24 16:56:49 -07:00
2026-05-06 11:41:04 +00:00
2026-04-27 12:35:58 +01:00
2026-05-01 07:06:22 +01:00
2026-04-20 22:51:16 +01:00
2026-04-27 21:42:31 +01:00
2026-04-30 01:22:43 +01:00
2026-04-28 20:34:54 +01:00
2026-04-24 17:31:34 +08:00
2026-05-01 12:16:58 +01:00
2026-04-28 01:20:00 +01:00
2026-04-20 13:18:49 +01:00
2026-05-06 02:56:12 +01:00
2026-04-28 09:56:41 +01:00
2026-05-02 00:39:54 +01:00
2026-04-20 16:10:35 +01:00
2026-04-28 03:28:17 +01:00
2026-04-20 14:27:22 +01:00
2026-05-06 08:54:52 +01:00
2026-04-25 17:59:05 +01:00
2026-05-06 22:22:39 -07:00
2026-05-02 00:49:06 +01:00
2026-05-01 08:18:52 +01:00
2026-04-29 11:35:03 +01:00
2026-04-29 11:35:03 +01:00
2026-05-01 22:01:55 +01:00
2026-04-24 08:10:04 +01:00
2026-04-24 08:10:04 +01:00
2026-05-05 09:00:39 +09:00