Commit cd2bf98
authored
test(server): follow #7151's tool status onto non-Prime rows (#64)
`pylon` has been red since #62. Adopting #7151 carries the adapter's status
onto every tool lifecycle row, not just Prime's, and this suite asserted the
opposite for `tool.started` and `tool.completed`.
The assertions described the behavior before that commit rather than guarding a
Pylon invariant — the test's subject is that Prime-specific handling does not
leak into non-Prime paths, which still holds — so they follow upstream. The
alternative was re-gating status to Prime only, which contradicts #7151's own
test expecting `status: "inProgress"` on a non-Prime `item.started`; the two
cannot both hold, and staying in step wins where Pylon has no stated reason.
Worth remembering: this was caught by CI, not by me. A targeted run covered
ProviderRuntimeIngestion.test.ts and missed the .activity.test.ts sibling, and
I merged #62 without checking that pylon went green afterwards.1 parent f079e4f commit cd2bf98
1 file changed
Lines changed: 8 additions & 3 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
559 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
560 | 565 | | |
561 | 566 | | |
562 | 567 | | |
| |||
568 | 573 | | |
569 | 574 | | |
570 | 575 | | |
| 576 | + | |
571 | 577 | | |
572 | | - | |
573 | 578 | | |
574 | 579 | | |
575 | 580 | | |
| |||
0 commit comments