Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions graphql_api/dataloader/bundle_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def load_bundle_analysis_comparison(
return MissingBaseReport()

loader = BundleAnalysisReportLoader(
storage_service=get_appropriate_storage_service(),
storage_service=get_appropriate_storage_service(head_commit.repository.repoid),
repo_key=ArchiveService.get_archive_hash(head_commit.repository),
)

Expand All @@ -57,7 +57,7 @@ def load_bundle_analysis_report(
return MissingHeadReport()

loader = BundleAnalysisReportLoader(
storage_service=get_appropriate_storage_service(),
storage_service=get_appropriate_storage_service(commit.repository.repoid),
repo_key=ArchiveService.get_archive_hash(commit.repository),
)
report = loader.load(report.external_id)
Expand Down
2 changes: 1 addition & 1 deletion services/bundle_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
def load_report(
commit: Commit, report_code: Optional[str] = None
) -> Optional[SharedBundleAnalysisReport]:
storage = get_appropriate_storage_service()
storage = get_appropriate_storage_service(commit.repository.repoid)

commit_report = commit.reports.filter(
report_type=CommitReport.ReportType.BUNDLE_ANALYSIS,
Expand Down
2 changes: 1 addition & 1 deletion utils/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_results(

if result is None:
# try storage
storage_service = get_appropriate_storage_service()
storage_service = get_appropriate_storage_service(repoid)
key = storage_key(repoid, branch, interval_start, interval_end)
try:
result = storage_service.read_file(
Expand Down
Loading