Repository navigation
chore(alerts): drop the alert chart's transitional flat points - #1005
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 15 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe chart timeseries contract and alert-chart response no longer include the flat ChangesShare chart payload cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The alert-chart response and chart-image renderer now use the same series format. No actionable merge-blocking risk is established beyond normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings
🧪 Generate unit tests (beta)
🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Maple observability review: 100/100Excellent · Observability looks complete · reviewed
This PR is purely subtractive: it removes the transitional flat What was reviewed
Score: 100, minus 25 per critical finding, 10 per warning and 2 per note. Check ids refer to Maple's instrumentation audit. Updated on every push. |
…t-points-fallback
…t-points-fallback
Follow-up to #953, which kept a skew bridge on
/v2/share/alert-chart: the api emitted the flatpointsalongsideseries, and web fell back topointswhenserieswas missing.The bridge isn't needed any more. Both Workers have deployed from
351a71321, and that commit contains #953 (373dc96c1):351a71321) succeeded, and every job in it succeeded, includingdeployment-gate,deploy-prdanddeploy-prd-eu. Web's Worker reconciled in that run.curl https://api.maple.dev/healthreturnsx-maple-revision: 351a71321f9aeec5d92f6959e9c4bb739f4967a7.Changes:
pointson the alert chart response.ChartTimeseries.pointsand its skew comment.cardForreadsseriesdirectly and is typed asShareChartResponse. It is no longer exported, since the skew test was the only thing importing it, and that test pair is gone.Nothing else reads
pointson this response. The iOS OpenAPI spec doesn't includeChartTimeseries, so it doesn't need regenerating.Tests:
apps/websrc/og(44),packages/domainsrc/http(263), and thepackages/widgetsstatic-chart golden tests (6) all pass.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit
seriesfield and no longer include the legacy flatpointsfield.seriesformat; older chart responses that only contain flatpointsdata are no longer supported.