[PR #838] feat: add metadata task #1903

Open
opened 2026-03-07 22:13:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/838
Author: @alabarjasteh
Created: 3/10/2024
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

📊 Changes

22 files changed (+299 additions, -237 deletions)

View changed files

📝 aggregator.go (+1 -1)
📝 aggregator_test.go (+15 -15)
📝 asynq.go (+16 -9)
📝 benchmark_test.go (+2 -2)
📝 client.go (+5 -4)
📝 client_test.go (+16 -16)
📝 example_test.go (+2 -2)
📝 go.mod (+1 -0)
📝 go.sum (+2 -1)
📝 inspector.go (+2 -2)
📝 inspector_test.go (+2 -2)
📝 internal/base/base.go (+5 -0)
📝 internal/proto/asynq.pb.go (+136 -121)
📝 internal/proto/asynq.proto (+4 -0)
metadata.go (+27 -0)
📝 periodic_task_manager_test.go (+26 -26)
📝 processor.go (+3 -2)
📝 processor_test.go (+20 -20)
📝 recoverer.go (+1 -1)
📝 scheduler_test.go (+4 -4)

...and 2 more files

📄 Description

A field has been introduced to the Task for carrying values across API boundaries. It can be utilized to address cross-cutting concerns, including distributed tracing, as highlighted in issues #547 and #774 .


🔄 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/838 **Author:** [@alabarjasteh](https://github.com/alabarjasteh) **Created:** 3/10/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`3b46717`](https://github.com/hibiken/asynq/commit/3b46717850274738cfd44b168b540bfe349488d5) feat: add metadata task ### 📊 Changes **22 files changed** (+299 additions, -237 deletions) <details> <summary>View changed files</summary> 📝 `aggregator.go` (+1 -1) 📝 `aggregator_test.go` (+15 -15) 📝 `asynq.go` (+16 -9) 📝 `benchmark_test.go` (+2 -2) 📝 `client.go` (+5 -4) 📝 `client_test.go` (+16 -16) 📝 `example_test.go` (+2 -2) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -1) 📝 `inspector.go` (+2 -2) 📝 `inspector_test.go` (+2 -2) 📝 `internal/base/base.go` (+5 -0) 📝 `internal/proto/asynq.pb.go` (+136 -121) 📝 `internal/proto/asynq.proto` (+4 -0) ➕ `metadata.go` (+27 -0) 📝 `periodic_task_manager_test.go` (+26 -26) 📝 `processor.go` (+3 -2) 📝 `processor_test.go` (+20 -20) 📝 `recoverer.go` (+1 -1) 📝 `scheduler_test.go` (+4 -4) _...and 2 more files_ </details> ### 📄 Description A field has been introduced to the `Task` for carrying values across API boundaries. It can be utilized to address cross-cutting concerns, including distributed tracing, as highlighted in issues #547 and #774 . --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1903
No description provided.