[PR #238] [MERGED] Move Inspector related code to a subpackage #683

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

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/238
Author: @hibiken
Created: 1/30/2021
Status: Merged
Merged: 1/31/2021
Merged by: @hibiken

Base: masterHead: next


📝 Commits (10+)

  • 5dd66e0 Support delete and archive actions on PendingTask
  • 995958a Fix scheduler
  • 2b6e30a Add MemoryUsage field to QueueStats
  • 1af09e6 Add Retry and LastError fields to inspector tasks
  • fe5ce3d Record deadline within WorkerInfo
  • 7389e2a Move all inspector related code to subpackage inspeq
  • 382d1b0 Update documentation for inspeq package
  • 7ccf705 Fix CLI build
  • 219cac7 Fix doc indentation
  • 07d00cb Update RedisConnOpt interface

📊 Changes

23 files changed (+1573 additions, -645 deletions)

View changed files

📝 CHANGELOG.md (+17 -0)
📝 asynq.go (+40 -69)
📝 client.go (+7 -77)
📝 client_test.go (+0 -67)
📝 heartbeat.go (+19 -15)
📝 heartbeat_test.go (+2 -2)
inspeq/doc.go (+22 -0)
📝 inspeq/inspector.go (+246 -99)
📝 inspeq/inspector_test.go (+753 -263)
📝 internal/base/base.go (+10 -0)
📝 internal/rdb/inspect.go (+165 -3)
📝 internal/rdb/inspect_test.go (+54 -9)
📝 internal/rdb/rdb.go (+8 -2)
📝 processor.go (+3 -3)
📝 processor_test.go (+7 -7)
📝 scheduler.go (+16 -1)
📝 server.go (+7 -2)
📝 tools/asynq/cmd/cron.go (+2 -2)
📝 tools/asynq/cmd/queue.go (+4 -4)
📝 tools/asynq/cmd/root.go (+3 -2)

...and 3 more files

📄 Description

No description provided


🔄 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/238 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 1/30/2021 **Status:** ✅ Merged **Merged:** 1/31/2021 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `next` --- ### 📝 Commits (10+) - [`5dd66e0`](https://github.com/hibiken/asynq/commit/5dd66e071a16a2110f4ba087936ac47740b50904) Support delete and archive actions on PendingTask - [`995958a`](https://github.com/hibiken/asynq/commit/995958a70df4e714beedf4a74bed940a9b79bf39) Fix scheduler - [`2b6e30a`](https://github.com/hibiken/asynq/commit/2b6e30a5981100aba457b83c2dbc8ee6dd867fc0) Add MemoryUsage field to QueueStats - [`1af09e6`](https://github.com/hibiken/asynq/commit/1af09e6eb8ff5d8db738413da21ed8188661bf8e) Add Retry and LastError fields to inspector tasks - [`fe5ce3d`](https://github.com/hibiken/asynq/commit/fe5ce3d2d3c9055856b801b03e0757a68fbb798b) Record deadline within WorkerInfo - [`7389e2a`](https://github.com/hibiken/asynq/commit/7389e2a46058110e920b55a1cda92da6a8a005f7) Move all inspector related code to subpackage inspeq - [`382d1b0`](https://github.com/hibiken/asynq/commit/382d1b00c9ac696fa9656c327211c007d545b7b1) Update documentation for inspeq package - [`7ccf705`](https://github.com/hibiken/asynq/commit/7ccf7052185f298f252378b2ceaf0aa9133c42fc) Fix CLI build - [`219cac7`](https://github.com/hibiken/asynq/commit/219cac729cfade5f66a55b356026e48c46a231c0) Fix doc indentation - [`07d00cb`](https://github.com/hibiken/asynq/commit/07d00cb14b8b934c347e11a78868921b49623d42) Update RedisConnOpt interface ### 📊 Changes **23 files changed** (+1573 additions, -645 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+17 -0) 📝 `asynq.go` (+40 -69) 📝 `client.go` (+7 -77) 📝 `client_test.go` (+0 -67) 📝 `heartbeat.go` (+19 -15) 📝 `heartbeat_test.go` (+2 -2) ➕ `inspeq/doc.go` (+22 -0) 📝 `inspeq/inspector.go` (+246 -99) 📝 `inspeq/inspector_test.go` (+753 -263) 📝 `internal/base/base.go` (+10 -0) 📝 `internal/rdb/inspect.go` (+165 -3) 📝 `internal/rdb/inspect_test.go` (+54 -9) 📝 `internal/rdb/rdb.go` (+8 -2) 📝 `processor.go` (+3 -3) 📝 `processor_test.go` (+7 -7) 📝 `scheduler.go` (+16 -1) 📝 `server.go` (+7 -2) 📝 `tools/asynq/cmd/cron.go` (+2 -2) 📝 `tools/asynq/cmd/queue.go` (+4 -4) 📝 `tools/asynq/cmd/root.go` (+3 -2) _...and 3 more files_ </details> ### 📄 Description _No description provided_ --- <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:09 +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#683
No description provided.