Skip to content

Commit

Permalink
fix(graphs): automatic SUT issue workaround
Browse files Browse the repository at this point in the history
Before implementing proper fix with ability to SUT package for graphs,
introducing quick issue workaround to enable work with some tests.

refs: scylladb#550
  • Loading branch information
soyacz committed Dec 20, 2024
1 parent f0a284b commit 7147654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions argus/backend/service/results_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ def calculate_graph_ticks(graphs: List[Dict]) -> dict[str, str]:
def _identify_most_changed_package(packages_list: list[PackageVersion]) -> str:
version_date_changes: dict[str, set[tuple[str, str]]] = defaultdict(set)

# filtering as workaround for issue https://github.com/scylladb/argus/issues/550
packages_list = [pkg for pkg in packages_list if pkg.name in ('scylla-server', 'scylla-manager-server')]
for package_version in packages_list:
version_date_changes[package_version.name].add((package_version.version, package_version.date))

Expand Down

0 comments on commit 7147654

Please sign in to comment.