Skip to content

Fix/production readiness audit - #135

Merged
oliverhaas merged 47 commits into
mainfrom
fix/production-readiness-audit
Aug 17, 2026
Merged

Fix/production readiness audit#135
oliverhaas merged 47 commits into
mainfrom
fix/production-readiness-audit

Conversation

@oliverhaas

Copy link
Copy Markdown
Owner

No description provided.

Glide's Rust-backed clients have no execute_command seam to patch, so wrap
the client itself. Restores the cross-backend WrongTypeError contract the
other adapters already honour.
GlideClusterClient.scan rejects the bytes cursor the standalone path uses,
so every cluster scan, iter_keys and delete_pattern raised. Drive glide's
cursor object internally and report one finished scan, matching how the
Rust adapter reports cluster scans.

Also maps the protocol's type name onto glide's ObjectType, which SCAN
reads .value off.
TTL rounds to the nearest second, so a round-trip slower than 500ms reports
one less and the bare pytest.approx comparison (rel=1e-6) fails.
The waiter released as soon as it was admitted, so a poll landing between
holder.release() and the assert freed the slot and the jumper was admitted
legitimately. Reproduced by widening that window.
@oliverhaas
oliverhaas merged commit cfae766 into main Aug 17, 2026
15 checks passed
@oliverhaas
oliverhaas deleted the fix/production-readiness-audit branch August 17, 2026 10:21
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.

1 participant