Commit efc56bb
Fix agent switch hanging on duplicate retirement events
Preserve the in-flight preflight state when transport retirement and reconnect-ready notifications arrive for the same agent rebind. Add regression coverage for Copilot to OpenCode switching without changing cancellation retirement barriers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: df937457-6f9d-4a02-a8bf-fca6697e63a51 parent f67c04e commit efc56bb
2 files changed
Lines changed: 62 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3674 | 3674 | | |
3675 | 3675 | | |
3676 | 3676 | | |
3677 | | - | |
3678 | | - | |
3679 | | - | |
3680 | | - | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
3681 | 3683 | | |
3682 | 3684 | | |
3683 | 3685 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4524 | 4524 | | |
4525 | 4525 | | |
4526 | 4526 | | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
| 4536 | + | |
| 4537 | + | |
| 4538 | + | |
| 4539 | + | |
| 4540 | + | |
| 4541 | + | |
| 4542 | + | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
| 4546 | + | |
| 4547 | + | |
| 4548 | + | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
| 4572 | + | |
| 4573 | + | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
| 4580 | + | |
| 4581 | + | |
| 4582 | + | |
4527 | 4583 | | |
4528 | 4584 | | |
4529 | 4585 | | |
| |||
0 commit comments