Skip to content

feat: agenda Jobs admin page#40699

Draft
Khizarshah01 wants to merge 28 commits into
RocketChat:developfrom
Khizarshah01:feat/agenda-jobs-admin
Draft

feat: agenda Jobs admin page#40699
Khizarshah01 wants to merge 28 commits into
RocketChat:developfrom
Khizarshah01:feat/agenda-jobs-admin

Conversation

@Khizarshah01

@Khizarshah01 Khizarshah01 commented May 26, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Agenda Jobs Admin Page

This PR will contain the work for the Agenda Jobs Administration Page.

Progress :

  • Implemented CoreJobsService & AppJobsService
  • Implemented Status Derivation Logic, also added a new status field
  • Added Event Hooks for New Jobs
  • Implemented Database Model
  • Implemented GET /v1/cron.jobs Endpoint:
  • Implemented GET /v1/cron.appjobs Endpoint
  • Implemented GET /v1/cron.history endpoint
  • Add pagination parameters (offset, count) to all GET endpoints
  • Improved API response structure to use PaginatedResult
  • Implement App Job history logging integration
  • Implemented Disable and Enable Endpoint
  • Implemented cron.trigger job Endpoint
  • Implement omnichannel Job history logging integration
  • Implement background jobs page with tab layout
  • connect background jobs table to api endpoints for system and app jobs
  • Contextual sidebar for job detail
  • History page for jobs
  • Omnichannel model and api endpoit

Issue(s)

GSoC 2026 Agenda Job Admin Page

@dionisio-bot

dionisio-bot Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot

changeset-bot Bot commented May 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 70138e7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4a96fd59-0e72-4a99-816a-877c5e74718a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Khizarshah01 Khizarshah01 force-pushed the feat/agenda-jobs-admin branch 2 times, most recently from 12de5e9 to 2b14da9 Compare May 30, 2026 09:46
@Khizarshah01 Khizarshah01 force-pushed the feat/agenda-jobs-admin branch from 9a73a91 to ab78bd0 Compare June 5, 2026 15:19
@KevLehman KevLehman marked this pull request as ready for review June 9, 2026 14:04
@KevLehman KevLehman requested review from a team as code owners June 9, 2026 14:04
@KevLehman KevLehman marked this pull request as draft June 9, 2026 14:05

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 issues found across 27 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/meteor/app/api/server/v1/cronJobs.ts Outdated
Comment thread apps/meteor/server/services/cron-jobs/service.ts
Comment thread apps/meteor/server/services/cron-jobs/service.ts
Comment thread packages/core-typings/src/ICronJobItem.ts Outdated
Comment thread apps/meteor/tests/end-to-end/api/cron-jobs.ts
Comment thread apps/meteor/tests/end-to-end/api/cron-jobs.ts
Comment thread packages/core-services/src/index.ts Outdated
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.55102% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.16%. Comparing base (a080c80) to head (70138e7).
⚠️ Report is 77 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #40699      +/-   ##
===========================================
- Coverage    70.21%   70.16%   -0.06%     
===========================================
  Files         3355     3370      +15     
  Lines       129243   130099     +856     
  Branches     22393    22609     +216     
===========================================
+ Hits         90746    91279     +533     
- Misses       35203    35494     +291     
- Partials      3294     3326      +32     
Flag Coverage Δ
e2e 59.31% <66.66%> (+<0.01%) ⬆️
e2e-api 47.15% <52.17%> (-0.01%) ⬇️
unit 70.11% <83.87%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Khizarshah01 Khizarshah01 force-pushed the feat/agenda-jobs-admin branch from 185dce0 to a972bd0 Compare June 13, 2026 19:43
@Khizarshah01 Khizarshah01 force-pushed the feat/agenda-jobs-admin branch from a972bd0 to 53b6244 Compare June 13, 2026 20:19
Comment thread apps/meteor/ee/app/livechat-enterprise/server/lib/QueueInactivityMonitor.ts Outdated
Comment thread apps/meteor/server/services/cron-jobs/deriveStatus.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants