Move batch functionality into check plugin

Created on 15 February 2024, 10 months ago
Updated 5 March 2024, 10 months ago

Problem/Motivation

Some of the checks build batches themselves, which rely on some positively old looking include files. It would be nice if the batch code could live within the plugins themselves.

Proposed resolution

Extend the run() method on the plugin interface with a return value indicating the finish ratio (compatible with finished value from Batch API) and a $sandbox variable for storing information from one run to another. As a proof of concept, we should port at least one of the processes to its plugin.

Remaining tasks

  • Extend the interface definition, adjust all existing plugins
  • Port at least one of the old batch processes to its plugin
  • Review
  • Merge

User interface changes

None.

API changes

It will be possible to implement a batch process in the check plugins.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands eelkeblok Netherlands πŸ‡³πŸ‡±

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024