Drop Details one SKU tier; cap brand-path Details budget - #10
Conversation
editorial_summary was the lone Atmosphere-tier field in the Details mask; nothing on the OfferBee wire reads Summary or Photo, so both come out and every Details call bills one tier lower. The brand endpoint's Details budget is capped at min(limit, 10) — it followed the candidate pool before, so a widened limit (40) across a 25-brand request could buy 1000 Details calls on a cold cell. The freshness signal (url) and open-now filtering (opening_hours) keep their fields. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YXnUPPE6LvNbzU1QnYuUCn
|
Warning Review limit reached
Next review available in: 71 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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 |
What
Two cost cuts on the Place Details path — the dominant Google spend (one call per new place on a cold cell):
editorial_summaryandphotosremoved.editorial_summarywas the only Atmosphere-tier field in the mask, so every Details call now bills one SKU tier lower. Nothing on the OfferBee wire (/v1/nearby-places,/v1/nearby-places-by-category,/v1/place-search,/confirm) readsSummaryorPhoto— verified againstgeoService.tsand its callers. The Details-freshness signal (url, seedetailsSourcedFields) and open-now filtering (opening_hours) keep their fields; the freshness check never looked atPhotoon the hot path.DetailsLimitwas tied to the candidate pool (limit, clampable to 40). Across a 25-brand request that's a worst case of 1000 Details calls on a cold cell. Nowmin(limit, 10); OfferBee's actuallimitPerBrandof 3 is unaffected.The category endpoint keeps its existing
min(limit, 20)cap.Tests
config_yaml_test.go's mask pin now banseditorial_summary/photosalongsidename/user_ratings_totaland requires exactly the four load-bearing fields. Full suite green.🤖 Generated with Claude Code
https://claude.ai/code/session_01YXnUPPE6LvNbzU1QnYuUCn