Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Section: Test regressions all #89

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

Crola1702
Copy link
Contributor

As the title says. This is the implementation of test_regressions_all section discussed in: #57 (comment)

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
@Crola1702 Crola1702 self-assigned this Sep 3, 2024
Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you paste a generated report with this format so we can evaluate its form as a whole?

Comment on lines +28 to +31
report_regressions_all = BuildfarmToolsLib::test_regressions_all(filter_known: true)
report_regressions_consecutive = BuildfarmToolsLib::test_regressions_today(filter_known: true, only_consistent: true, group_issues: true, report_regressions: report_regressions_all)
report_regressions_flaky = BuildfarmToolsLib::flaky_test_regressions(filter_known: true, group_issues: true, report_regressions: report_regressions_all)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this moved outside the report creation below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_regressions_all method returns every test regression that happened in the last build. test_regressions_today and flaky_test_regressions run that method internally.

This is an optimization to not fetch all test regressions twice, but use only one run for both

@Crola1702
Copy link
Contributor Author

Can you paste a generated report with this format so we can evaluate its form as a whole?

Ahhh I forgot to add it. Good catch

@Crola1702 Crola1702 merged commit a915c95 into main Sep 4, 2024
@Crola1702 Crola1702 deleted the Crola1702/report-section-regressions-all branch September 4, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants