8000 fix: don't cache rollups if branch none by joseph-sentry · Pull Request #943 · codecov/worker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

fix: don't cache rollups if branch none #943

Merged
merged 1 commit into from
Dec 5, 2024
Merged
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
9 changes: 5 additions & 4 deletions tasks/test_results_finisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ def process_impl_within_lock(
)
)

self.app.tasks[cache_test_rollups_task_name].apply_async(
args=None,
kwargs=dict(repoid=repoid, branch=commit.branch),
)
if commit.branch is not None:
self.app.tasks[cache_test_rollups_task_name].apply_async(
args=None,
kwargs=dict(repoid=repoid, branch=commit.branch),
)

commit_report = commit.commit_report(ReportType.TEST_RESULTS)

Expand Down
Loading
0