@oisincoveney/pipeline 3.10.0 → 3.10.2
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/dist/argo-workflow.js
CHANGED
|
@@ -12,10 +12,10 @@ const RUNNER_WORKFLOW_START_TASK = "workflow-start";
|
|
|
12
12
|
const RUNNER_WORKFLOW_PAYLOAD_PATH = "/etc/pipeline/payload.json";
|
|
13
13
|
const RUNNER_WORKFLOW_SCHEDULE_PATH = "/etc/pipeline/schedule.yaml";
|
|
14
14
|
const RUNNER_GIT_CREDENTIALS_PATH = "/etc/pipeline/git-credentials";
|
|
15
|
-
const
|
|
16
|
-
expression: "asInt(lastRetry.exitCode) == 70",
|
|
15
|
+
const RUNNER_RETRY_STRATEGY = {
|
|
16
|
+
expression: "lastRetry.status == 'Error' || asInt(lastRetry.exitCode) == 70",
|
|
17
17
|
limit: "3",
|
|
18
|
-
retryPolicy: "
|
|
18
|
+
retryPolicy: "Always"
|
|
19
19
|
};
|
|
20
20
|
const RUNNER_OPENCODE_ENV = [{
|
|
21
21
|
name: "CODEX_AUTH_PER_PROJECT_ACCOUNTS",
|
|
@@ -384,7 +384,7 @@ function runnerLifecycleTemplate(options, volumeMounts) {
|
|
|
384
384
|
volumeMounts
|
|
385
385
|
},
|
|
386
386
|
name: RUNNER_WORKFLOW_START_TASK,
|
|
387
|
-
retryStrategy: { ...
|
|
387
|
+
retryStrategy: { ...RUNNER_RETRY_STRATEGY }
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
function runnerCommandTemplate(task, options, volumeMounts) {
|
|
@@ -412,7 +412,7 @@ function runnerCommandTemplate(task, options, volumeMounts) {
|
|
|
412
412
|
volumeMounts: [...volumeMounts, taskVolumeMount]
|
|
413
413
|
},
|
|
414
414
|
name: task.templateName,
|
|
415
|
-
retryStrategy: { ...
|
|
415
|
+
retryStrategy: { ...RUNNER_RETRY_STRATEGY }
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
418
|
function runnerFinalizerTemplate(options, volumeMounts) {
|
package/dist/config/schemas.d.ts
CHANGED
|
@@ -481,8 +481,8 @@ declare const configSchema: z.ZodObject<{
|
|
|
481
481
|
schedules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
482
482
|
description: z.ZodOptional<z.ZodString>;
|
|
483
483
|
baseline: z.ZodEnum<{
|
|
484
|
-
execute: "execute";
|
|
485
484
|
quick: "quick";
|
|
485
|
+
execute: "execute";
|
|
486
486
|
}>;
|
|
487
487
|
max_parallel_nodes: z.ZodOptional<z.ZodNumber>;
|
|
488
488
|
node_catalog: z.ZodOptional<z.ZodString>;
|
package/dist/moka-submit.d.ts
CHANGED
|
@@ -161,8 +161,8 @@ declare const mokaSubmitOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
161
161
|
}, z.core.$strict>>;
|
|
162
162
|
serviceAccountName: z.ZodOptional<z.ZodString>;
|
|
163
163
|
mode: z.ZodEnum<{
|
|
164
|
-
quick: "quick";
|
|
165
164
|
full: "full";
|
|
165
|
+
quick: "quick";
|
|
166
166
|
}>;
|
|
167
167
|
schedulePath: z.ZodOptional<z.ZodString>;
|
|
168
168
|
scheduleYaml: z.ZodOptional<z.ZodString>;
|
|
@@ -43,8 +43,8 @@ declare const runnerDeliverySchema: z.ZodObject<{
|
|
|
43
43
|
declare const mokaSubmissionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
44
|
kind: z.ZodLiteral<"graph">;
|
|
45
45
|
mode: z.ZodEnum<{
|
|
46
|
-
quick: "quick";
|
|
47
46
|
full: "full";
|
|
47
|
+
quick: "quick";
|
|
48
48
|
}>;
|
|
49
49
|
}, z.core.$strict>, z.ZodObject<{
|
|
50
50
|
argv: z.ZodArray<z.ZodString>;
|
|
@@ -104,8 +104,8 @@ declare const runnerCommandPayloadSchema: z.ZodObject<{
|
|
|
104
104
|
submission: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
105
105
|
kind: z.ZodLiteral<"graph">;
|
|
106
106
|
mode: z.ZodEnum<{
|
|
107
|
-
quick: "quick";
|
|
108
107
|
full: "full";
|
|
108
|
+
quick: "quick";
|
|
109
109
|
}>;
|
|
110
110
|
}, z.core.$strict>, z.ZodObject<{
|
|
111
111
|
argv: z.ZodArray<z.ZodString>;
|
|
@@ -118,6 +118,8 @@ function executeBaselineWorkflow() {
|
|
|
118
118
|
"**/__tests__/**",
|
|
119
119
|
"test/**",
|
|
120
120
|
"tests/**",
|
|
121
|
+
"**/test/**",
|
|
122
|
+
"**/tests/**",
|
|
121
123
|
"**/*.snap"
|
|
122
124
|
],
|
|
123
125
|
require_any: [
|
|
@@ -126,7 +128,9 @@ function executeBaselineWorkflow() {
|
|
|
126
128
|
"**/*_test.*",
|
|
127
129
|
"**/__tests__/**",
|
|
128
130
|
"test/**",
|
|
129
|
-
"tests/**"
|
|
131
|
+
"tests/**",
|
|
132
|
+
"**/test/**",
|
|
133
|
+
"**/tests/**"
|
|
130
134
|
]
|
|
131
135
|
},
|
|
132
136
|
id: "red-test-file-policy",
|
package/package.json
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"prepack": "bun run build:cli"
|
|
128
128
|
},
|
|
129
129
|
"type": "module",
|
|
130
|
-
"version": "3.10.
|
|
130
|
+
"version": "3.10.2",
|
|
131
131
|
"description": "Config-driven multi-agent pipeline runner for repository work",
|
|
132
132
|
"main": "./dist/index.js",
|
|
133
133
|
"types": "./dist/index.d.ts",
|