mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #284] Ability to get the status of a task by id #2139
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Harrison-Miller on GitHub (Jun 23, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/284
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
Currently when using the inspector to find the status of a task you need to loop through every task of each status type. Which is really inconvenient.
Describe the solution you'd like
I would like to be able to get the task status and metadata using inspector.
GetTaskByID@crossworth commented on GitHub (Jun 23, 2021):
Hi, looks like that in the next version we will have:
GetTaskInfo(qname, id string) (*TaskInfo, error).Commit:
github.com/hibiken/asynq@26d035e050@Harrison-Miller commented on GitHub (Jun 23, 2021):
Perfect, I also appreciate the consolidation of the different task types into a single struct.