Skip to content

Faster queue processing: Merge requests for same app #277

@schrieveslaach

Description

@schrieveslaach

By recent decisions PREvant processes each request one after another (see worker producer queue, introduced with #40 and related PRs). That also means if there are many requests for the same application, each request will be processed one after another. For example, if there is for each service a merge/pull request and all will be merged at the same time, which then trigger a main line CI run including an API call to PREvant to update the default application, then PREvant processes them one after another. This might then lead to CI timeouts because the processing of all main line CI runs takes longer.

However, PREvant should be able to merge all the requests with the same application that are in line of the queue, into one interaction with the infrastructure (K8s or docker).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions