@atolis-hq/wake 0.3.8 → 0.3.10
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.
|
@@ -16,10 +16,10 @@ export function createRunnerPipeline(stages) {
|
|
|
16
16
|
await stages.runSchedules();
|
|
17
17
|
if (await isPaused())
|
|
18
18
|
return { kind: 'paused' };
|
|
19
|
-
await stages.
|
|
19
|
+
const result = await stages.advance(options);
|
|
20
20
|
if (await isPaused())
|
|
21
21
|
return { kind: 'paused' };
|
|
22
|
-
|
|
22
|
+
await stages.react();
|
|
23
23
|
if (await isPaused())
|
|
24
24
|
return { kind: 'paused' };
|
|
25
25
|
await stages.publishAgentRuns?.();
|
|
@@ -104,5 +104,8 @@ function parseGitHubIssueKey(key) {
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
function sameLabels(left, right) {
|
|
107
|
-
|
|
107
|
+
const normalizedLeft = [...left].sort();
|
|
108
|
+
const normalizedRight = [...right].sort();
|
|
109
|
+
return (normalizedLeft.length === normalizedRight.length &&
|
|
110
|
+
normalizedLeft.every((label, index) => label === normalizedRight[index]));
|
|
108
111
|
}
|