[PR #2059] [MERGED] refactor: generalize tidy assets queue into admin maintenance #1965

Closed
opened 2026-03-02 11:59:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2059
Author: @MohamedBassem
Created: 10/20/2025
Status: Merged
Merged: 10/26/2025
Merged by: @MohamedBassem

Base: mainHead: codex/generalize-tidyassetsqueue-to-adminmaintenancequeue


📝 Commits (2)

  • 8b52368 refactor: generalize admin maintenance queue
  • c08af57 more fixes

📊 Changes

10 files changed (+227 additions, -159 deletions)

View changed files

📝 apps/web/components/admin/BackgroundJobs.tsx (+32 -21)
📝 apps/web/lib/i18n/locales/en/translation.json (+3 -3)
📝 apps/workers/index.ts (+2 -2)
apps/workers/workers/adminMaintenance/tasks/tidyAssets.ts (+78 -0)
apps/workers/workers/adminMaintenanceWorker.ts (+74 -0)
apps/workers/workers/tidyAssetsWorker.ts (+0 -110)
📝 docs/docs/03-configuration.md (+1 -1)
📝 packages/shared-server/src/queues.ts (+19 -6)
📝 packages/trpc/routers/admin.ts (+16 -14)
📝 packages/trpc/stats.ts (+2 -2)

📄 Description

Summary

  • replace the tidy assets queue with an admin maintenance queue that accepts typed task payloads
  • add a reusable admin maintenance worker with a tidy assets task handler
  • update API, UI, translations, and docs to reflect the new admin maintenance queue

Testing

  • pnpm lint
  • git commit

https://chatgpt.com/codex/tasks/task_e_68f60eb69110832c9fb70b4f33f4a4d2


🔄 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/karakeep-app/karakeep/pull/2059 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 10/20/2025 **Status:** ✅ Merged **Merged:** 10/26/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `codex/generalize-tidyassetsqueue-to-adminmaintenancequeue` --- ### 📝 Commits (2) - [`8b52368`](https://github.com/karakeep-app/karakeep/commit/8b52368c6994f551fe224d9dc34fffae8c3266a5) refactor: generalize admin maintenance queue - [`c08af57`](https://github.com/karakeep-app/karakeep/commit/c08af570175b2d18291e9d407a9198d335bed219) more fixes ### 📊 Changes **10 files changed** (+227 additions, -159 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/admin/BackgroundJobs.tsx` (+32 -21) 📝 `apps/web/lib/i18n/locales/en/translation.json` (+3 -3) 📝 `apps/workers/index.ts` (+2 -2) ➕ `apps/workers/workers/adminMaintenance/tasks/tidyAssets.ts` (+78 -0) ➕ `apps/workers/workers/adminMaintenanceWorker.ts` (+74 -0) ➖ `apps/workers/workers/tidyAssetsWorker.ts` (+0 -110) 📝 `docs/docs/03-configuration.md` (+1 -1) 📝 `packages/shared-server/src/queues.ts` (+19 -6) 📝 `packages/trpc/routers/admin.ts` (+16 -14) 📝 `packages/trpc/stats.ts` (+2 -2) </details> ### 📄 Description ## Summary - replace the tidy assets queue with an admin maintenance queue that accepts typed task payloads - add a reusable admin maintenance worker with a tidy assets task handler - update API, UI, translations, and docs to reflect the new admin maintenance queue ## Testing - pnpm lint - git commit ------ https://chatgpt.com/codex/tasks/task_e_68f60eb69110832c9fb70b4f33f4a4d2 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:59:58 +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/karakeep#1965
No description provided.