Commit 177dc2a
fix(addon): bound Core-relayed Supervisor failures too
The first bound sat in _supervisor_rest_failure, which only the direct
REST transport passes through. A standard install routes through
_supervisor_api_call_via_core, whose failed WebSocket result is returned
unchanged, so Supervisor text relayed by Core still reached the model
unbounded.
Move the bound to _raise_supervisor_api_failure, the single point every
non-retryable failure of either transport passes, and cover the Core
route with a regression test.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1bcb8a6 commit 177dc2a
2 files changed
Lines changed: 39 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
289 | | - | |
| 287 | + | |
290 | 288 | | |
291 | 289 | | |
292 | 290 | | |
| |||
564 | 562 | | |
565 | 563 | | |
566 | 564 | | |
567 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4623 | 4623 | | |
4624 | 4624 | | |
4625 | 4625 | | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
| 4631 | + | |
| 4632 | + | |
| 4633 | + | |
| 4634 | + | |
| 4635 | + | |
| 4636 | + | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
4626 | 4650 | | |
4627 | 4651 | | |
4628 | 4652 | | |
| |||
4656 | 4680 | | |
4657 | 4681 | | |
4658 | 4682 | | |
4659 | | - | |
| 4683 | + | |
4660 | 4684 | | |
4661 | 4685 | | |
4662 | 4686 | | |
| |||
4687 | 4711 | | |
4688 | 4712 | | |
4689 | 4713 | | |
4690 | | - | |
4691 | | - | |
4692 | | - | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
| 4718 | + | |
| 4719 | + | |
| 4720 | + | |
4693 | 4721 | | |
4694 | 4722 | | |
4695 | 4723 | | |
| |||
0 commit comments