Skip to content

fix: remove search.text.by-uid compatibility feature#658

Merged
tobixen merged 2 commits intomasterfrom
issue586
Apr 5, 2026
Merged

fix: remove search.text.by-uid compatibility feature#658
tobixen merged 2 commits intomasterfrom
issue586

Conversation

@tobixen
Copy link
Copy Markdown
Member

@tobixen tobixen commented Apr 5, 2026

The blurb below was produced by Claude. I'll fix a better description on the git commit and force-push.

get_object_by_uid() already has a client-side fallback via _hacks="insist"
that fetches all objects and filters client-side when the server returns no
results from text search. The search.text.by-uid guard was therefore no
longer needed, and all skip_unless_support/is_supported checks in tests
have been removed.

Closes #586

Co-Authored-By: Claude Sonnet 4.6 [email protected]

There seems to be no servers allowing search by uid (basically a text
search) without allowing other text searches and vice versa - so the
search.text.by-uid "feature" is moot, and has been removed in this
commit.

get_object_by_uid() already has a client-side fallback via _hacks="insist"
that fetches all objects and filters client-side when the server returns no
results from text search.  The search.text.by-uid guard in the tests was
therefore no longer needed, and all skip_unless_support/is_supported
checks in tests have been removed.

Some tests now failed for other reasons, so the tests have been made a
bit more robust.

Closes #586

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
The cyrusimap/cyrus-docker-test-server image was rebuilt on 2026-04-03
with a multi-stage slim build that broke CalDAV startup: the httpd
module never comes up on port 8080, causing the health check to fail
before CI can even run.

Pin to the digest that was current on 2026-03-30 (confirmed passing in
GitHub Actions run 23748898521) until the upstream image is fixed.
@tobixen tobixen merged commit 3c6d075 into master Apr 5, 2026
9 checks passed
@tobixen tobixen deleted the issue586 branch April 5, 2026 19:11
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.

Implement workarounds for servers not implementing text search and servers not implementing uid search

1 participant