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
fix: handle change to collectDoubles in convertTileDriftSeriesInfoToTimeSeries (#293)
## Summary
[Recent
changes](01a2f70#diff-deee840c61f04e77fc1a50be94e1e153c193fb4b00a7b1389a733e0941c29714)
to `collectDoubles` in PivotUtils now return null instead of empty lists
for invalid data. This broke the /timeseries endpoints which assumed
non-null lists.
Updated TimeSeriesHandler to:
- Safely handle null lists using Option
- Return empty sequences instead of failing
- Fix isNumeric checks to handle null percentileDriftSeries
@sean-zlai to test:
You can check that the charts are broken on main, due to /timeseries
being broken. If you check out this branch and run everything from
scratch (`./docker-init/build.sh --all`), it should fix the charts.
## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved null handling in time series processing
- Enhanced robustness of data conversion methods
- Reduced risk of potential runtime exceptions
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments