[Debt] Refactor high-complexity calendar sync and VEVENT code #13

Closed
opened 2026-07-11 12:51:17 +02:00 by zemion · 1 comment
Owner

Xenon/Radon identify complex calendar parsing and sync functions. This is expected after the recent full VEVENT/CalDAV/Graph/EWS work, but it should be split before more sync behavior is added.

Classification: structural maintainability work.

Report evidence:

  • parse_discovery_multistatus rank E.
  • event_to_component rank D.
  • graph_event_payload, parse_ews_calendar_items, discover_caldav_calendars, sync_graph_source, update_event ranks C+.
  • Full report: radon-cc.txt and attached Xenon output.

Suggested next steps:

  • Split provider-specific sync code into CalDAV/ICS/Graph/EWS service modules.
  • Add parser fixtures for each provider before refactoring.
  • Keep the public calendar service API stable.

Baseline report directory: audit-reports/govoplan-full-20260711-1238

<!-- codex-audit-full-2026-07-11:calendar-complexity-baseline --> Xenon/Radon identify complex calendar parsing and sync functions. This is expected after the recent full VEVENT/CalDAV/Graph/EWS work, but it should be split before more sync behavior is added. Classification: **structural maintainability work**. Report evidence: - `parse_discovery_multistatus` rank E. - `event_to_component` rank D. - `graph_event_payload`, `parse_ews_calendar_items`, `discover_caldav_calendars`, `sync_graph_source`, `update_event` ranks C+. - Full report: `radon-cc.txt` and attached Xenon output. Suggested next steps: - Split provider-specific sync code into CalDAV/ICS/Graph/EWS service modules. - Add parser fixtures for each provider before refactoring. - Keep the public calendar service API stable. Baseline report directory: `audit-reports/govoplan-full-20260711-1238`
zemion added the
type
debt
priority
p3
module/calendar
status
ready
codex/ready
labels 2026-07-11 12:51:17 +02:00
zemion added the
audit/complexity
audit/structural
source/security-audit
labels 2026-07-11 16:08:24 +02:00
Author
Owner

Consolidated into govoplan-calendar#3, which is the active broader sync/CalDAV work item.

The audit evidence and provider-split guardrails were copied into #3. Closing this issue as consolidated so the debt is resolved in the same slices that touch sync behavior.

Consolidated into `govoplan-calendar#3`, which is the active broader sync/CalDAV work item. The audit evidence and provider-split guardrails were copied into #3. Closing this issue as consolidated so the debt is resolved in the same slices that touch sync behavior.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-calendar#13
No description provided.