Skip to content

Code Review Bench PR #26774 - feat: CalendarCache - filter generic calendars from subscription batch#22

Open
kayagokalp wants to merge 2 commits intobase_pr_26774_20260125_4728from
corrupted_pr_26774_20260125_4728
Open

Code Review Bench PR #26774 - feat: CalendarCache - filter generic calendars from subscription batch#22
kayagokalp wants to merge 2 commits intobase_pr_26774_20260125_4728from
corrupted_pr_26774_20260125_4728

Conversation

@kayagokalp
Copy link

Benchmark PR for Gitar evaluation

Original PR: agentic-review-benchmarks#7

feat: CalendarCache - filter generic calendars from subscription batch

devin-ai-integration bot and others added 2 commits January 25, 2026 12:02
Add filtering to SelectedCalendarRepository.findNextSubscriptionBatch to
exclude generic calendars (holidays, contacts, shared, imported, resources)
based on their externalId suffixes.

Changes:
- Add GENERIC_CALENDAR_SUFFIXES constant mapping providers to their
  generic calendar suffixes in AdaptersFactory
- Add getGenericCalendarSuffixes method to AdapterFactory interface
- Update findNextSubscriptionBatch to accept and use genericCalendarSuffixes
  parameter to filter out calendars with matching externalId suffixes
- Update CalendarSubscriptionService.checkForNewSubscriptions to pass
  generic calendar suffixes from the adapter factory
- Update tests to cover the new filtering logic

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>
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.

2 participants