[GH-ISSUE #686] [BUG] Latest version of asynq breaks asynq CMD #2365

Closed
opened 2026-03-15 20:16:12 +03:00 by kerem · 1 comment
Owner

Originally created by @abezzub on GitHub (Jul 10, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/686

Originally assigned to: @hibiken on GitHub.

Describe the bug
This is a follow up to https://github.com/hibiken/asynqmon/issues/302 I cannot use cmd with asynq:

github.com/hibiken/asynq/tools/asynq/cmd
../../pkg/mod/github.com/hibiken/asynq/tools@v0.0.0-20230708040154-123d560a4488/asynq/cmd/root.go:369:20: 
cannot use c (variable of type "github.com/go-redis/redis/v8".UniversalClient) as "github.com/redis/go-redis/v9".UniversalClient value in argument to rdb.NewRDB: 
"github.com/go-redis/redis/v8".UniversalClient does not implement "github.com/redis/go-redis/v9".UniversalClient (missing method ACLDryRun)

To Reproduce

After upgrading to Asynq 0.24.1 and Asynqmon 0.7.2 I am getting the error above when I am trying to build the app that uses https://github.com/hibiken/asynq/tree/master/tools/asynq. Looks like Redis v8 is still used here:
https://github.com/hibiken/asynq/blob/master/tools/asynq/cmd/root.go#L19

Environment (please complete the following information):

  • OS: MacOS
  • Version of asynq package: 0.24.1
Originally created by @abezzub on GitHub (Jul 10, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/686 Originally assigned to: @hibiken on GitHub. **Describe the bug** This is a follow up to https://github.com/hibiken/asynqmon/issues/302 I cannot use `cmd` with asynq: ``` github.com/hibiken/asynq/tools/asynq/cmd ../../pkg/mod/github.com/hibiken/asynq/tools@v0.0.0-20230708040154-123d560a4488/asynq/cmd/root.go:369:20: cannot use c (variable of type "github.com/go-redis/redis/v8".UniversalClient) as "github.com/redis/go-redis/v9".UniversalClient value in argument to rdb.NewRDB: "github.com/go-redis/redis/v8".UniversalClient does not implement "github.com/redis/go-redis/v9".UniversalClient (missing method ACLDryRun) ``` **To Reproduce** After upgrading to Asynq 0.24.1 and Asynqmon 0.7.2 I am getting the error above when I am trying to build the app that uses https://github.com/hibiken/asynq/tree/master/tools/asynq. Looks like Redis v8 is still used here: https://github.com/hibiken/asynq/blob/master/tools/asynq/cmd/root.go#L19 **Environment (please complete the following information):** - OS: MacOS - Version of `asynq` package: 0.24.1
kerem 2026-03-15 20:16:12 +03:00
Author
Owner

@hibiken commented on GitHub (Jul 15, 2023):

@abezzub Thanks for reporting. PR welcome for this fix!

<!-- gh-comment-id:1636646876 --> @hibiken commented on GitHub (Jul 15, 2023): @abezzub Thanks for reporting. PR welcome for this fix!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2365
No description provided.