# Feature OP-14406 - Show warning hint if background workers haven't run for a while

Project: OpenProject
Status: in specification
URL: https://community.openproject.org/work_packages/OP-14406

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user, especially admin of OpenProject  
**I want to** get a visual hint when using OpenProject that warns me that workers haven't run for a longer time, e.g. 30 min  
**so that** I have a clue that something is off/broken/not working. I don't discover it when people start noticing that they already have missed important notifications/mails, etc.

Workers are crucial for OpenProject to work. However, there are multiple scenario why they suddenly stop working. The consequences are pretty fatal:

  - No emails get delivered
  - No notifications get calculated
  - No permissions get synced to the external file storage platforms for automatically managed project folders

**Acceptance criteria**

  - There is one specific Cron background health check job that is expected to run every 5 minutes which will write to the database that it successfully passed.
      - It checks connection to every vital system
          - DB
          - Cache
  - If the last successful check is older than 30 minutes a warning is shown whenever a user is accessing the OpenProject via the Web interface
      - There is setting to disable the display of the warning message so that people can have coordinated downtimes for maintenance work on the workers.
      - The message is translated
      - The (not) message is ideally globally cached for 1 minute so that it does not add exra load for 99 % of the requests.
      - The message includes a link to the docs explaining what the next debugging steps are.
