Merge lp:~cjwatson/launchpad/snap-store-upload-job-commit into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 18995 |
Proposed branch: | lp:~cjwatson/launchpad/snap-store-upload-job-commit |
Merge into: | lp:launchpad |
Diff against target: |
277 lines (+71/-52) 2 files modified
lib/lp/snappy/model/snapbuildjob.py (+43/-36) lib/lp/snappy/tests/test_snapbuildjob.py (+28/-16) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/snap-store-upload-job-commit |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant (community) | code | Approve | |
Review via email:
|
Commit message
Consistently commit transactions in SnapStoreUploadJob.
Description of the change
We were previously ensuring that the transaction is committed when the job fails, but not when raising a retryable exception or after sending event notifications. The latter case caused some webhook deliveries not to be sent.
To post a comment you must log in.