Skip to content

feat: Calendar sync status - #110

Draft
benjaminVadon wants to merge 2 commits into
mainfrom
calendar-sync-status
Draft

feat: Calendar sync status#110
benjaminVadon wants to merge 2 commits into
mainfrom
calendar-sync-status

Conversation

@benjaminVadon

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds per-calendar synchronization statuses, persisting outcomes while overlaying active synchronization at runtime.

Changes:

  • Introduces sync status and error domain models.
  • Persists synchronization timestamps and failures in Room.
  • Updates repository behavior and adds status-focused tests.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
EventRepositoryTest.kt Updates calendar test fixtures.
CalendarRepositoryTest.kt Tests sync outcomes and runtime status.
CalendarEntityToDomainSyncStatusTest.kt Tests persisted-status mapping.
EventDaoTest.kt Updates calendar fixtures.
CalendarDaoTest.kt Tests sync bookkeeping queries.
AccountDaoTest.kt Updates calendar fixtures.
SyncErrorReason.kt Defines coarse failure reasons.
CalendarSyncStatus.kt Defines public synchronization states.
Calendar.kt Exposes calendar sync status.
SyncStateHolder.kt Tracks active calendar syncs.
CalendarRepository.kt Records and exposes sync lifecycle state.
ThrowableToSyncErrorReason.kt Maps failures to domain reasons.
RemoteDavCalendarToEntity.kt Preserves local sync state during refresh.
CalendarEntityToDomain.kt Maps bookkeeping to domain status.
CalendarSyncStateEntity.kt Groups persisted sync fields.
CalendarEntity.kt Embeds synchronization bookkeeping.
DatabaseProvider.kt Advances the database schema version.
CalendarDao.kt Adds success and failure updates.
13.json Exports the Room v13 schema.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@benjaminVadon
benjaminVadon force-pushed the calendar-sync-status branch 2 times, most recently from f4503b5 to f3bb913 Compare July 30, 2026 14:26
@benjaminVadon
benjaminVadon force-pushed the calendar-sync-status branch 2 times, most recently from c3a9864 to bc6aafb Compare August 18, 2026 16:05
@benjaminVadon
benjaminVadon force-pushed the calendar-sync-status branch 2 times, most recently from 24b160e to cdd2f68 Compare September 8, 2026 13:10
@benjaminVadon
benjaminVadon marked this pull request as draft September 9, 2026 12:43
@benjaminVadon
benjaminVadon force-pushed the calendar-sync-status branch 2 times, most recently from 90cf546 to 8a5d9c9 Compare September 11, 2026 09:08
@sonarqubecloud

Copy link
Copy Markdown

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