Repository navigation
Commit 357183e
feat: warn on orphaned RECURRENCE-ID overrides
When `add ical` splits a VCALENDAR, a UID group may hold only
RECURRENCE-ID overrides and no master event. That usually means the
recurring event was deleted elsewhere without cleaning up its
overrides. They are still imported as detached occurrences, but a
warning now names the UID and the summaries rather than letting it
pass silently.
Rescued from an unreferenced commit that a rebase left behind on no
branch (1d06e47, 2026-05-21, "fix: warn on orphaned RECURRENCE-ID
overrides during ical import", by Claude Sonnet 4.6), and adapted:
_split_vcal returns ical strings now, so the check runs before the
conversion. The NotFoundError this data caused on import was fixed in
the caldav library at the time.
Prompt: Repair the PR and apply anything useful from 1d06e47 and 2634df2 into the PR [both are unreferenced commits found while checking stale worktrees and branches for work worth rescuing; 2634df2 held only a superseded roadmap draft and a scratch estimates file, so nothing of it is applied]
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent b65df04 commit 357183e
3 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
141 | 151 | | |
142 | 152 | | |
143 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
406 | 426 | | |
407 | 427 | | |
408 | 428 | | |
| |||
0 commit comments