amsd-pipeline-workflow 0.1.10 → 0.1.11
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.
- package/driver/writer-stamps.js +3 -0
- package/package.json +1 -1
package/driver/writer-stamps.js
CHANGED
|
@@ -17,6 +17,9 @@ function applyGateStamps(story, res) {
|
|
|
17
17
|
else if (uit && uit.passed === true) { del('suiteState'); del('suiteStateStep'); }
|
|
18
18
|
const gate = res && res.gate;
|
|
19
19
|
if (gate && gate.ran !== false && gate.passed === false) { set('reviewStatus', 'escalated'); set('reproGate', 'failed'); }
|
|
20
|
+
// A REAL APPROVAL CLEARS AN EARLIER ATTEMPT'S ESCALATION (lib/review-cycle.sh ~:180–195, the pipeline's own: reviewStatus
|
|
21
|
+
// "escalated" → null). A Writer result of 'done' comes only after the review approved. B65: the stale stamp blocked the gate.
|
|
22
|
+
else if (res && res.status === 'done' && story.reviewStatus === 'escalated') set('reviewStatus', null);
|
|
20
23
|
return changed;
|
|
21
24
|
}
|
|
22
25
|
|
package/package.json
CHANGED