Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit c5e4c30

Browse files
Split big commit's into 3 (#980)
1 parent 0fd7a81 commit c5e4c30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/compute_comparison.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def run_impl(
6868
# Because we have a HEAD report and a base commit to get the diff from
6969
patch_totals = comparison_proxy.get_patch_totals()
7070
comparison.patch_totals = minimal_totals(patch_totals)
71+
db_session.commit()
7172

7273
if not comparison_proxy.has_project_coverage_base_report():
7374
comparison.error = CompareCommitError.missing_base_report.value
@@ -96,6 +97,7 @@ def run_impl(
9697
path = self.store_results(comparison, impacted_files)
9798

9899
comparison.report_storage_path = path
100+
db_session.commit()
99101

100102
comparison.state = CompareCommitState.processed.value
101103
log.info("Computing comparison successful", extra=log_extra)

0 commit comments

Comments
 (0)