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

remove test subtype from most alerts #1485

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

ellakz
Copy link
Contributor

@ellakz ellakz commented Apr 11, 2024

No description provided.

Copy link

linear bot commented Apr 11, 2024

Copy link
Contributor

👋 @ellakz
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@@ -152,22 +152,28 @@ def data(self) -> Dict:

@property
def concise_name(self) -> str:
if self.is_elementary_test:
if self.test_sub_type_display_name.lower() not in (
Copy link
Collaborator

Choose a reason for hiding this comment

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

concise_name is used on the group_by method both in Slack and Teams.
Make sure that this change is not breaking anything 🙏🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I want to remove this unnecessary thing in the group alerts too

elementary/monitor/alerts/test_alert.py Outdated Show resolved Hide resolved
@ellakz ellakz force-pushed the ele-2908-remove-test-subtype-from-alerts branch from f023f10 to b64e7e6 Compare April 15, 2024 06:29
Copy link
Collaborator

@IDoneShaveIt IDoneShaveIt left a comment

Choose a reason for hiding this comment

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

lgtm

@ellakz ellakz merged commit 09becbc into master Apr 15, 2024
3 checks passed
@ellakz ellakz deleted the ele-2908-remove-test-subtype-from-alerts branch April 15, 2024 07:09
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