acidic_job 1.0.0.pre28 → 1.0.0.pre29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/acidic_job/awaiting.rb +4 -0
- data/lib/acidic_job/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d83dcc9ad4d8b835881a8268e43c8d74f7ae87e8e6dd0ad07e79f8f0df1319
|
4
|
+
data.tar.gz: 651b7eb29e6f2c3ec006b18151ae80ca5efeaf17093495656dde87420774c8ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66289b30eae68ad0742f4f744ee509ddaeba4a9cb769101ca836482e8820c64755b63dd1030da3ea152bae73151121af821cfdb0d6f9f26ed80453ca1e2f1f0f
|
7
|
+
data.tar.gz: c1c2522cf165f8a3f693aa9ac5839b3e2f1df9f057fe2f7776f1e42c9eb718847f4b3f81e86ca5230b4532dc909505920671f9539f0ca1f20a5c65f196a86c75
|
data/Gemfile.lock
CHANGED
data/lib/acidic_job/awaiting.rb
CHANGED
@@ -27,6 +27,10 @@ module AcidicJob
|
|
27
27
|
# which is what the `after_finish :reenqueue_awaited_by_job` check needs
|
28
28
|
job.instance_variable_set(:@acidic_job_run, run)
|
29
29
|
|
30
|
+
# can't reproduce yet, but saw a bug in production where
|
31
|
+
# nested awaits workflows had an unsaved `workflow` attribute
|
32
|
+
run.save! if run.has_changes_to_save?
|
33
|
+
|
30
34
|
step = Step.new(current_step, run, job, step_result)
|
31
35
|
# TODO: WRITE REGRESSION TESTS FOR PARALLEL JOB FAILING AND RETRYING THE ORIGINAL STEP
|
32
36
|
step.progress
|
data/lib/acidic_job/version.rb
CHANGED