Skip to content

feat: send reports on threshold failure #479

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

Merged
merged 5 commits into from
Oct 3, 2022

Conversation

kevinsamoei
Copy link
Contributor

@kevinsamoei kevinsamoei commented Sep 30, 2022

Whenever a score threshold is not met, we fail the build. However, we currently do not send the report data once a threshold fails. This PR aims to fix that by ensuring we always send the report whether the threshold failed or not

tested with this RC build image - https://github.com/netlify/buildbot/pull/2291

Dependent on: https://github.com/netlify/buildbot/pull/2291

fixes https://github.com/netlify/pillar-workflow/issues/731

@netlify
Copy link

netlify bot commented Sep 30, 2022

👷 Deploy Preview for plugin-lighthouse processing.

Name Link
🔨 Latest commit e5bb595
🔍 Latest deploy log https://app.netlify.com/sites/plugin-lighthouse/deploys/633ab8a326b8b600085e53f4

jackbrewer
jackbrewer previously approved these changes Oct 3, 2022
Copy link
Contributor

@jackbrewer jackbrewer left a comment

Choose a reason for hiding this comment

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

LGTM! Tested using a site with failing thresholds, pointed at this branch. Build failed as expected, and I now have access to the scores/reports 🎉

Copy link
Contributor

@jackbrewer jackbrewer left a comment

Choose a reason for hiding this comment

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

🚢

@kevinsamoei kevinsamoei merged commit 2001e7e into main Oct 3, 2022
@kevinsamoei kevinsamoei deleted the send-report-on-threshold-failure branch October 3, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants