Skip to content

feat(tasks): allow management of job intervals and disabling them #3408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

Meierschlumpf
Copy link
Member

@Meierschlumpf Meierschlumpf commented Jun 16, 2025


Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

Closes #2584
Closes #3278

@Meierschlumpf Meierschlumpf changed the title Poc manage job intervals feat(tasks): allow management of job intervals and disabling them Jun 16, 2025
Copy link

deepsource-io bot commented Jun 16, 2025

Here's the code health analysis summary for commits a8c9c07..1597457. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

github-actions bot commented Jun 16, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 22.43% 11244 / 50128
🔵 Statements 22.43% 11244 / 50128
🔵 Functions 30.39% 490 / 1612
🔵 Branches 65.17% 1368 / 2099
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/nextjs/src/app/[locale]/manage/tools/tasks/_components/jobs-list.tsx 0% 0% 0% 0% 1-284
apps/tasks/src/job-manager.ts 0% 0% 0% 0% 1-109
apps/tasks/src/main.ts 0% 0% 0% 0% 1-45
packages/api/src/router/cron-jobs.ts 64.61% 100% 100% 64.61% 17, 23, 29, 40, 46, 52, 55, 58-76
packages/common/src/cookie.ts 42.85% 100% 0% 42.85% 5-6, 9-10
packages/cron-job-api/src/client.ts 100% 100% 100% 100%
packages/cron-job-api/src/constants.ts 100% 100% 100% 100%
packages/cron-job-api/src/env.ts 100% 0% 100% 100%
packages/cron-job-api/src/index.ts 63.63% 100% 0% 63.63% 32-45, 53, 56, 59, 69, 72, 75, 78
packages/cron-jobs-core/src/creator.ts 39.36% 87.5% 33.33% 39.36% 35-65, 71-90, 92-101, 103-104, 124-125
packages/cron-jobs-core/src/group.ts 36.47% 80% 18.18% 36.47% 37-52, 54-61, 63-72, 74-82, 84-89, 91-95, 97-98, 100-101, 103-104
packages/cron-jobs/src/jobs/analytics.ts 45.45% 100% 100% 45.45% 12-19
packages/db/schema/index.ts 100% 0% 100% 100%
packages/db/schema/mysql.ts 100% 100% 100% 100%
packages/db/schema/sqlite.ts 100% 100% 100% 100%
packages/ui/src/icons/create.ts 0% 0% 0% 0% 1-27
packages/ui/src/icons/index.ts 0% 0% 0% 0% 1-12
Generated in workflow #6926 for commit 1597457 by the Vitest Coverage Report Action

@Meierschlumpf Meierschlumpf self-assigned this Jun 16, 2025
@Meierschlumpf Meierschlumpf added the enhancement New feature or request label Jun 16, 2025
@Meierschlumpf Meierschlumpf marked this pull request as ready for review June 16, 2025 19:47
@Meierschlumpf Meierschlumpf requested a review from a team as a code owner June 16, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Disabling / Throttling background jobs feat: configure interval of cron jobs
1 participant