mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[PR #280] [MERGED] Introduce TaskInfo type #1708
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#1708
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?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/280
Author: @hibiken
Created: 6/14/2021
Status: ✅ Merged
Merged: 6/22/2021
Merged by: @hibiken
Base:
next← Head:api/task-info📝 Commits (10+)
5e89a2cRefactor redis keys and store messages in protobuf2b064aaDefine TaskInfo typec2998b7Update Client.Enqueue to return TaskInfo55a8ef0Replace RunTaskByKey with RunTask in Inspector95f8b1fReplace DeleteTaskByKey with DeleteTask in Inspectora8a636eReplace ArchiveTaskByKey with ArchiveTask in Inspectorca047c4Move inspeq package content to asynq packagead1abe5Update List methods (expect for ListArchived)4e24bb5Add LastFailedAt field to TaskMessage704fc57Record last_failed_at time on Retry or Archive event📊 Changes
30 files changed (+2269 additions, -1568 deletions)
View changed files
📝
CHANGELOG.md(+8 -1)📝
README.md(+8 -8)📝
asynq.go(+120 -0)📝
client.go(+8 -47)📝
client_test.go(+199 -112)📝
doc.go(+2 -2)📝
inspector.go(+191 -286)📝
inspector_test.go(+656 -280)➖
inspeq/doc.go(+0 -22)📝
internal/asynqtest/asynqtest.go(+28 -11)📝
internal/base/base.go(+59 -21)📝
internal/base/base_test.go(+23 -20)📝
internal/errors/errors.go(+15 -1)📝
internal/errors/errors_test.go(+30 -1)📝
internal/proto/asynq.pb.go(+128 -71)📝
internal/proto/asynq.proto(+6 -0)📝
internal/rdb/inspect.go(+173 -102)📝
internal/rdb/inspect_test.go(+255 -15)📝
internal/rdb/rdb.go(+8 -4)📝
internal/rdb/rdb_test.go(+74 -38)...and 10 more files
📄 Description
See CHANGELOG for API changes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.