Repository navigation
Commit 91a2709
Zoo (VP)
fix(core): keep legacy routerModels response shape when no request ID
What: only include values.requestId in the routerModels response when the
request carried one; requests without an ID keep the previous response
shape (values undefined for aggregate, { provider } for filtered).
Why: the unconditional requestId echo broke six existing
requestRouterModels specs in ClineProvider.spec.ts and
webviewMessageHandler.spec.ts that assert the exact legacy response
payload (values: undefined for aggregate requests), failing the
platform-unit-test ubuntu CI job on bc077c2.
Impact: CI restoration; the request-ID correlation added for
fetchRouterModels is unchanged for new-protocol requests. Added a
host-side test asserting the ID echo for filtered requests.1 parent bc077c2 commit 91a2709
2 files changed
Lines changed: 36 additions & 7 deletions
File tree
- src/core/webview
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
681 | 706 | | |
682 | 707 | | |
683 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1443 | 1449 | | |
1444 | 1450 | | |
1445 | 1451 | | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1453 | 1457 | | |
1454 | 1458 | | |
1455 | 1459 | | |
| |||
0 commit comments