You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Implement CodeRabbit suggestions for GHST telemetry tests
Added fake clock and TX buffer space as recommended by CodeRabbit review:
- Implemented fakeMicros static variable with testAdvanceMicros() helper
- Changed serialTxBytesFree() to return 64 instead of 0
- Added time advancement between processGhst() calls
However, tests still fail with zero values, indicating the GHST scheduler
requires additional conditions beyond basic time advancement. Possible causes:
- Frame type rotation logic
- Telemetry enable flags
- Inter-frame timing requirements
- Schedule index progression
Tests remain DISABLED with updated documentation explaining the current state
and what infrastructure has been implemented. Further investigation of GHST
frame scheduling system is needed to fully enable these tests.
Addresses CodeRabbitAI review #3376416184 MAJOR issue and 7 nitpicks.
All 38 test files still pass, 2 tests remain disabled with full documentation.
0 commit comments