Skip to content

Accept unix:// URLs for the Redis backend#416

Open
MoumenKhadr wants to merge 1 commit into
mainfrom
add-unix-socket-url-support
Open

Accept unix:// URLs for the Redis backend#416
MoumenKhadr wants to merge 1 commit into
mainfrom
add-unix-socket-url-support

Conversation

@MoumenKhadr

@MoumenKhadr MoumenKhadr commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Forward unix-scheme URLs to the existing Redis backend instead of rejecting them in CI::Queue.from_uri. redis-client (redis 5.x's transport) already parses unix:// URLs natively and uses the path component as the socket path, so no changes are needed in the Redis backend itself; only the dispatch in CI::Queue needs to recognize the scheme.

This unblocks workloads that run an in-process Redis listening only on a unix socket — typically hermetic test sandboxes that want to avoid allocating TCP ports — from using ci-queue without an external patch or monkey-patch.

@MoumenKhadr MoumenKhadr changed the title add unix socket url support Accept unix:// URLs for the Redis backend Jun 29, 2026
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.

2 participants