incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

Introduce automated flaky test tracking like OpenSearch

Open YongGoose opened this issue 6 months ago • 3 comments

Why you need it?

I would like to suggest introducing an automated flaky test tracking mechanism, similar to what OpenSearch has adopted.

How it could be?

Proposal

Introduce a similar system to automatically report flaky tests in Seata. This would help:

  • Systematically track flaky behavior
  • Prioritize test stability improvements
  • Avoid merging regressions masked by inconsistent test results

Implementation Ideas

  • Hook into existing CI test result processing
  • Identify tests that fail inconsistently across retries
  • Auto-generate GitHub issues using a bot or GitHub Actions
  • Apply consistent labels (e.g., flaky-test, test-failure, component:)

Benefits

  • Easier triage of test failures
  • More transparent test health history
  • Helps contributors focus on test reliability

Thanks 🙏

Other related information

  • https://learn.microsoft.com/en-us/azure/devops/report/powerbi/sample-test-analytics-flaky-tests?view=azure-devops&tabs=powerbi

YongGoose avatar Jun 18 '25 13:06 YongGoose

Hey,could you assign it to me?

OmCheeLin avatar Jun 20 '25 00:06 OmCheeLin

Hey,could you assign it to me?

Sure, Go for it 🚀

YongGoose avatar Jun 20 '25 04:06 YongGoose

@OmCheeLin

This issue seems quite complex, so I think it might be a good idea to break it down into smaller sub-issues. What do you think?

If you agree, let's discuss together what sub-issues we could create.

YongGoose avatar Jul 17 '25 01:07 YongGoose