Skip to content

Implement test retry logic for flakiness #59645

@marco-ippolito

Description

@marco-ippolito

What is the problem this feature will solve?

Refs: nodejs/TSC#1614
Reduce flakiness in the CI

What is the feature you are proposing to solve the problem?

In today's TSC meeting nodejs/TSC#1784 it was discussed about flaky test detection and automatic re running flaky tests.
I noticed in https://github.com/nodejs/node/blob/main/.github/workflows/test-linux.yml#L73 there is a flag to instruct the test suite to re run flaky tests. I wonder if we can make this flag work in the whole CI (requires some work in the python runner I assume?) to help reduce flakiness

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.flaky-testIssues and PRs related to the tests with unstable failures on the CI.stale

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions