[PR #324] [MERGED] Add TaskID Option #711

Closed
opened 2026-03-02 06:05:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/324
Author: @hibiken
Created: 9/12/2021
Status: Merged
Merged: 9/12/2021
Merged by: @hibiken

Base: nextHead: feature/taskid_opt


📝 Commits (3)

  • b7b7b3f Change TaskMessage.ID type from uuid.UUID to string
  • ce15e05 Update RDB Enqueue and Schedule methods to check for task ID conflict
  • 4d8fd59 Add TaskID option to allow user to specify task id

📊 Changes

18 files changed (+509 additions, -180 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 asynq.go (+1 -1)
📝 client.go (+35 -1)
📝 client_test.go (+104 -0)
📝 context.go (+1 -1)
📝 context_test.go (+7 -7)
📝 heartbeat.go (+2 -2)
📝 inspector.go (+4 -21)
📝 inspector_test.go (+6 -6)
📝 internal/asynqtest/asynqtest.go (+9 -9)
📝 internal/base/base.go (+3 -4)
📝 internal/base/base_test.go (+1 -1)
📝 internal/errors/errors.go (+3 -0)
📝 internal/rdb/inspect.go (+17 -18)
📝 internal/rdb/inspect_test.go (+34 -34)
📝 internal/rdb/rdb.go (+79 -31)
📝 internal/rdb/rdb_test.go (+196 -42)
📝 processor.go (+2 -2)

📄 Description

Closes #322


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/324 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 9/12/2021 **Status:** ✅ Merged **Merged:** 9/12/2021 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `next` ← **Head:** `feature/taskid_opt` --- ### 📝 Commits (3) - [`b7b7b3f`](https://github.com/hibiken/asynq/commit/b7b7b3f777a7237955a0125321d0cf8c70849025) Change TaskMessage.ID type from uuid.UUID to string - [`ce15e05`](https://github.com/hibiken/asynq/commit/ce15e05df59b190f0a2b7675344765e14892edee) Update RDB Enqueue and Schedule methods to check for task ID conflict - [`4d8fd59`](https://github.com/hibiken/asynq/commit/4d8fd59409f6e1d2c178ecff4ce24a603c52464e) Add TaskID option to allow user to specify task id ### 📊 Changes **18 files changed** (+509 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `asynq.go` (+1 -1) 📝 `client.go` (+35 -1) 📝 `client_test.go` (+104 -0) 📝 `context.go` (+1 -1) 📝 `context_test.go` (+7 -7) 📝 `heartbeat.go` (+2 -2) 📝 `inspector.go` (+4 -21) 📝 `inspector_test.go` (+6 -6) 📝 `internal/asynqtest/asynqtest.go` (+9 -9) 📝 `internal/base/base.go` (+3 -4) 📝 `internal/base/base_test.go` (+1 -1) 📝 `internal/errors/errors.go` (+3 -0) 📝 `internal/rdb/inspect.go` (+17 -18) 📝 `internal/rdb/inspect_test.go` (+34 -34) 📝 `internal/rdb/rdb.go` (+79 -31) 📝 `internal/rdb/rdb_test.go` (+196 -42) 📝 `processor.go` (+2 -2) </details> ### 📄 Description Closes #322 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 06:05:17 +03:00
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#711
No description provided.