fix(ci): separate historical and current reports in flaky monitor#1424
fix(ci): separate historical and current reports in flaky monitor#1424
Conversation
Previously, the flaky monitor workflow manually copied historical report files into the current report directory. This caused the `github-test-reporter` action to interpret all historical reports as part of the current run, inflating test counts and preventing proper history comparison. This change: - Removes the manual copy of historical files to the report directory. - Enables `fetch-previous-results: true` to allow the reporter to natively fetch artifacts from previous runs for comparison.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
Summary
Previous Results
Insights
Fail Rate
Failed Tests
Slowest Tests
🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 🔄 This comment has been updated |
Previously, the flaky monitor workflow manually copied historical report files into the current report directory. This caused the `github-test-reporter` action to interpret all historical reports as part of the current run, inflating test counts and preventing proper history comparison. This change: - Removes the manual copy of historical files to the report directory. - Enables `fetch-previous-results: true` to allow the reporter to natively fetch artifacts from previous runs for comparison. - Disables the built-in artifact upload in the reporter to avoid overwriting history. - Adds a manual step to upload the full history (from the git branch) as the artifact `flaky-report`, ensuring subsequent runs have access to the complete historical context.
Fixes an issue where historical flaky test reports were being treated as current tests by the
ctrf-io/github-test-reporter.Changes:
.github/workflows/flaky-monitor.ymlto stop copying historical JSON files into theall-reportsdirectory.fetch-previous-results: truein thePublish Test Reportstep to correctly handle historical comparisons using GitHub Artifacts.PR created automatically by Jules for task 14113260139705469870 started by @KCarretto