Repository navigation
Commit 116bea9
Zoo (VP)
fix(e2e,test): usage-capture fixtures + silence UsageRecorder init warn (PR #1133)
CI failures:
1. Code QA Roo Code run 31231476937 (platform-unit-test): 8 unhandled
EnvironmentTeardownError rejections from core/task/__tests__/grace-retry-errors.spec.ts.
The Task constructor's usage-recorder init called the mocked provider's
getUsageStatsService(); the catch block's console.warn fired during the test
and tripped vitest's 'Closing rpc while onUserConsoleLog was pending'.
Silenced the best-effort init catch (recorder stays disabled).
2. E2E Tests (Mocked) run 31231476961: usage-capture.test.ts startNewTask calls
(USAGE_CAPTURE_SMOKE, USAGE_CAPTURE_HOOK_2) had no aimock fixture
('404 No fixture matched').
Fix:
- Add fixtures/usage-capture.json with attempt_completion fixtures for both tags.
Runs: https://github.com/Zoo-Code-Org/Zoo-Code/actions/runs/31231476937
https://github.com/Zoo-Code-Org/Zoo-Code/actions/runs/312314769611 parent 94d3a26 commit 116bea9
2 files changed
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
663 | | - | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
664 | 668 | | |
665 | 669 | | |
666 | 670 | | |
| |||
0 commit comments