mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #1082] Feature/bus job chain, Allows adding multiple tasks to be executed sequentially. #2017
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#2017
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/1082
Author: @seth-shi
Created: 10/25/2025
Status: 🔄 Open
Base:
master← Head:feature/bus-chain📝 Commits (5)
a11bd17feat(server): Automatically inject Chain Middleware for ServeMux handlersc94f64dCreate chain_test.go049d166refactor(tests): Enhance task queue verification and update timeout handlinga60b286test(chain): Add tests for Deadline and ProcessAt options in task chains39859bdUpdate chain_test.go📊 Changes
3 files changed (+1496 additions, -0 deletions)
View changed files
➕
chain.go(+261 -0)➕
chain_test.go(+1225 -0)📝
server.go(+10 -0)📄 Description
Add Chain Task Support
Summary
Add
NewChainTask()for sequential task execution. Tasks run in order, chain stops on failure.Usage
Features
Files
chain.go(256 lines) - Core implementationchain_test.go(1,135 lines) - Test suiteserver.go- Register middleware🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.