Repository navigation
test: retry the crash sweep's deletes on CalDAV - #64
Merged
Merged
Conversation
API_DESIGN §3.5 said a backend remembers the STATUS and PRIORITY it wrote next to native_status and native_priority and compares on save, but no field held that value. The section now puts it in a private _native_basis on the task, handed over as StoredObject.native_basis, says why it is not kept in the backend or recomputed from .native, and what a direct assignment to a native value means. This came up in the review of #5. Prompt: [pick from the task list: "calendaring: say where the remembered native STATUS/PRIORITY lives (API_DESIGN §3.5)"] Assisted-By: Claude Opus 5.5 Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
The sweep in borrow() deleted a dead run's leftovers in one try, so a DELETE that robur dropped turned into a setup error for whatever test borrowed the collection. The deletes now go through a sweep() hook, which the CalDAV test module overrides to retry the way seed() retries writes; gone on a retry is taken for a lost answer to a DELETE that went through. Prompt: [pick from the task list: "calendaring: live conformance run on a server that cannot delete calendars; retry the sweep's deletes"] Assisted-By: Claude Opus 5.5 Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
tobixen
force-pushed
the
conformance-sweep-retry
branch
from
November 25, 2026 04:54
5e4945e to
c5dc313
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit message:
Tested: the unit tests above, and a live conformance run against a Synology server (cannot delete calendars), which exercises the kept-collection path: 266 passed, 1 expected skip. That run had no stale leftovers, so the sweep deleted nothing live.
🤖 Generated with Claude Code