Skip to content

Improve the SCB CI pipeline to prevent flaky timeouts #224

@rfelber

Description

@rfelber

Is your feature request related to a problem? Please describe.

The secureCodeBox github pipeline fails from time to time due to some flaky timeouts during the end-to-end testphase. Due to the fact that the pipeline steps depend on external ressource there might be situations ending up in timeouts. This can be frustrating while developing new stuff.

It would be great to improve the pipeline to be more robust against flaky timeouts.

Describe the solution you'd like

Implement a retry function with exponential timeout growth to retry failed steps (especially the end-to-end tests) within the CI pipeline. This could be implemented as a wrapper / closure for this function:

async function getScan(name) {

The following JS Package maybe can help to implement this: https://www.npmjs.com/package/promise-retry

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugsciChanges to the continuous integration setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions