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

improvement(results): exclude ignored results from graphs #481

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

Conversation

soyacz
Copy link
Collaborator

@soyacz soyacz commented Oct 15, 2024

Sometimes results might be wrong (e.g. wrong job configuration) leading to results that outstand and being irrelevant or updating best result value causing validation to break.

If job investigation status is set to IGNORED make Argus to skip plotting it and exclude from best results map.

closes: #462

@soyacz soyacz requested review from fruch and k0machi October 15, 2024 15:47
Sometimes results might be wrong (e.g. wrong job configuration) leading
to results that outstand and being irrelevant or updating best result
value causing validation to break.

If job investigation status is set to `IGNORED` make Argus to skip
plotting it and exclude from best results map.

closes: scylladb#462
@soyacz soyacz force-pushed the remove-ignored-job-results-from-graph branch from b2fad9f to 7e33f4a Compare October 15, 2024 16:06
@@ -197,6 +198,17 @@ class ResultsService:
def __init__(self):
self.cluster = ScyllaCluster.get()

@cache
def _ignored_results(self, test_id: UUID) -> list[str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

When is this cache gonna be cleared ?

When Argus restarts ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, it's per request - will be needed when we merge PR with drawing limit lines, where best results are also used, to avoid double query db.

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.

Add ability to exclude result
2 participants