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

Add summary even when failure threshold is surpassed #285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

414owen
Copy link

@414owen 414owen commented Dec 22, 2024

Alerts are currently generated by throwing an exception. This means that all code that comes after that exception is skipped, including generating the Action summary.

We can easily fix this, by generating the summary first.

Longer term, we might want to reconsider the code style here. An exception should model something exceptional happening in our code. Seeing bad benchmark numbers is not exceptional. It's what this tool is supposed to handle.

Closes #254

Alerts are currently generated by throwing an exception. This means that
all code that comes after that exception is skipped, including generating
the Action summary.

We can easily fix this, by generating the summary first.

Longer term, we might want to reconsider the code style here.
An exception should model something exceptional happening in our code.
Seeing bad benchmark numbers is not exceptional. It's what this tool is
supposed to handle.

Closes benchmark-action#254
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.

Action Will Not Create Summary Tables if Performance Alerts Occur
1 participant