Repository navigation
Commit fbca295
committed
fix(opencode): bound owned reconnects that cannot restart the server
An owned server that could not restart was borrowed again forever: the
reconnect retry around borrow had no attempt limit, and borrow failures never
count as permanent. Reconnects are bounded to five attempts again, as on main;
only reconcile against a live owned process keeps waiting.
AI-assisted; verified with the tests and tools listed above.1 parent 0239c8b commit fbca295
2 files changed
Lines changed: 11 additions & 8 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
- packages/provider-opencode/src/server/v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4427 | 4427 | | |
4428 | 4428 | | |
4429 | 4429 | | |
4430 | | - | |
| 4430 | + | |
4431 | 4431 | | |
4432 | 4432 | | |
4433 | 4433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3667 | 3667 | | |
3668 | 3668 | | |
3669 | 3669 | | |
3670 | | - | |
3671 | | - | |
| 3670 | + | |
| 3671 | + | |
3672 | 3672 | | |
3673 | 3673 | | |
3674 | 3674 | | |
| |||
3680 | 3680 | | |
3681 | 3681 | | |
3682 | 3682 | | |
3683 | | - | |
3684 | | - | |
3685 | | - | |
3686 | | - | |
3687 | | - | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
3688 | 3691 | | |
3689 | 3692 | | |
3690 | 3693 | | |
| |||
0 commit comments