bulltrackers-module 1.0.285 → 1.0.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,7 +49,6 @@ main:
|
|
|
49
49
|
severity: "INFO"
|
|
50
50
|
|
|
51
51
|
# 1. TRIGGER DISPATCHER (Fire and Forget mechanism via HTTP)
|
|
52
|
-
# The dispatcher analyzes missing data and queues tasks.
|
|
53
52
|
- trigger_dispatcher:
|
|
54
53
|
call: http.get
|
|
55
54
|
args:
|
|
@@ -62,7 +61,6 @@ main:
|
|
|
62
61
|
result: dispatch_response
|
|
63
62
|
|
|
64
63
|
# 2. PROPAGATION WAIT
|
|
65
|
-
# Wait for dispatcher to queue tasks and workers to start/finish
|
|
66
64
|
- wait_for_propagation:
|
|
67
65
|
call: sys.log
|
|
68
66
|
args:
|
|
@@ -75,7 +73,6 @@ main:
|
|
|
75
73
|
seconds: ${propagation_wait_seconds}
|
|
76
74
|
|
|
77
75
|
# 3. MONITORING LOOP
|
|
78
|
-
# Poll until RUNNING state clears
|
|
79
76
|
- monitor_loop:
|
|
80
77
|
call: http.get
|
|
81
78
|
args:
|
|
@@ -100,7 +97,8 @@ main:
|
|
|
100
97
|
call: sys.sleep
|
|
101
98
|
args:
|
|
102
99
|
seconds: 60
|
|
103
|
-
-
|
|
100
|
+
- continue_monitoring:
|
|
101
|
+
next: monitor_loop
|
|
104
102
|
|
|
105
103
|
# CASE B: Clean Success -> Mark done, Break Retry Loop
|
|
106
104
|
- condition: ${status_resp.body.state == "SUCCESS"}
|
|
@@ -113,7 +111,8 @@ main:
|
|
|
113
111
|
- mark_success:
|
|
114
112
|
assign:
|
|
115
113
|
- pass_success: true
|
|
116
|
-
-
|
|
114
|
+
- proceed_to_next_pass:
|
|
115
|
+
next: pass_retry_loop # Exits inner loop because pass_success is now true
|
|
117
116
|
|
|
118
117
|
# CASE C: Failures Found -> Continue Retry Loop (will trigger dispatcher again)
|
|
119
118
|
- condition: ${status_resp.body.state == "HAS_FAILURES"}
|
|
@@ -123,7 +122,8 @@ main:
|
|
|
123
122
|
args:
|
|
124
123
|
text: ${"Pass " + pass_id + " has " + status_resp.body.failureCount + " FAILURES. Attempting Retry."}
|
|
125
124
|
severity: "WARNING"
|
|
126
|
-
-
|
|
125
|
+
- retry_pass:
|
|
126
|
+
next: pass_retry_loop
|
|
127
127
|
|
|
128
128
|
# -----------------------------------------------
|
|
129
129
|
# END RETRY LOOP
|