Skip to content

feat(billing): add the product-catalog date engine - #6267

Draft
brunomiguelpinto wants to merge 17 commits into
products-and-plans-subscription-runtimefrom
engine-dates
Draft

feat(billing): add the product-catalog date engine#6267
brunomiguelpinto wants to merge 17 commits into
products-and-plans-subscription-runtimefrom
engine-dates

Conversation

@brunomiguelpinto

@brunomiguelpinto brunomiguelpinto commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@brunomiguelpinto brunomiguelpinto changed the title feat: cleaned the pr feat(billing): add the product-catalog date engine Sep 1, 2026
Comment thread app/services/billing/schedules/build_service.rb Outdated
Comment thread app/services/billing/schedules/build_service.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/segments.rb Outdated
Comment thread app/services/billing/segments.rb Outdated
Comment thread app/services/billing/segments.rb Outdated
Comment thread db/migrate/20260901122946_create_billing_segments.rb
Comment thread app/services/billing/segments.rb
Comment thread app/services/subscriptions/product_catalog/materialize_service.rb Outdated
Comment thread app/services/subscriptions/product_catalog/materialize_service.rb Outdated
Comment thread app/services/subscriptions/product_catalog/materialize_service.rb Outdated
Comment thread app/services/billing/interval.rb
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/segments.rb Outdated

@brunomiguelpinto brunomiguelpinto left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read it end to end. The pure layer is the strongest part — Interval, Calendar and Segments have no dependencies, and having the QA scenarios pinned as value tables means an expectation can be checked against the plan rather than argued about. Three things I'd want addressed before this lands, one of them structural.

Comment thread app/services/subscriptions/product_catalog/materialize_service.rb Outdated
Comment thread app/services/subscriptions/product_catalog/materialize_service.rb
Comment thread app/models/billing_segment.rb Outdated
Comment thread app/models/billing_segment.rb
Comment thread app/models/billing_segment.rb Outdated
Comment thread app/models/billing_segment.rb
Comment thread db/migrate/20260901122946_create_billing_segments.rb Outdated
Comment thread db/migrate/20260901122946_create_billing_segments.rb Outdated
Comment thread app/models/billing_segment.rb
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Comment thread app/services/billing/segments.rb
Comment thread spec/services/billing/rate_cards/build_schedule_service_spec.rb
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/schedule.rb Outdated
Comment thread app/services/billing/build_schedule_service.rb Outdated
Comment thread app/services/billing/interval.rb
Comment thread app/services/billing/build_schedule_service.rb Outdated
Comment thread app/services/billing/calendar.rb Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants