deepline 0.3.206 → 0.3.207
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/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +6 -5
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +41 -2
- package/dist/cli/index.js +20 -5
- package/dist/cli/index.mjs +20 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.207',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.',
|
|
206
206
|
packageCapabilities: {
|
package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts
CHANGED
|
@@ -748,7 +748,8 @@ export type AbsurdRuntimeWorkerDeps = {
|
|
|
748
748
|
inspectDetachedRunner?: (suspension: DetachedRunnerSuspension) => Promise<{
|
|
749
749
|
exitCode: number | null;
|
|
750
750
|
result: PlayRunnerResult | null;
|
|
751
|
-
|
|
751
|
+
// Written by the runner, possibly an older build: readers default it.
|
|
752
|
+
diagnosis?: { stage: string; detail: string | null };
|
|
752
753
|
} | null>;
|
|
753
754
|
readSandboxCrashDiagnostic?: (
|
|
754
755
|
request: PostgresSchedulerSandboxCrashDiagnosticRequest,
|
|
@@ -4356,7 +4357,7 @@ async function resolveDetachedRunnerOutcome(input: {
|
|
|
4356
4357
|
let inspection: {
|
|
4357
4358
|
exitCode: number | null;
|
|
4358
4359
|
result: PlayRunnerResult | null;
|
|
4359
|
-
diagnosis
|
|
4360
|
+
diagnosis?: { stage: string; detail: string | null };
|
|
4360
4361
|
} | null = null;
|
|
4361
4362
|
let inspectionFailed = false;
|
|
4362
4363
|
if (input.inspectDetachedRunner) {
|
|
@@ -4370,7 +4371,7 @@ async function resolveDetachedRunnerOutcome(input: {
|
|
|
4370
4371
|
runnerAttempt: suspension.runnerAttempt,
|
|
4371
4372
|
sandboxId: suspension.sandboxId,
|
|
4372
4373
|
exitCode: inspection.exitCode,
|
|
4373
|
-
diagnosis: inspection.diagnosis
|
|
4374
|
+
diagnosis: inspection.diagnosis?.stage,
|
|
4374
4375
|
resultStatus: inspection.result.status,
|
|
4375
4376
|
}),
|
|
4376
4377
|
);
|
|
@@ -4384,7 +4385,7 @@ async function resolveDetachedRunnerOutcome(input: {
|
|
|
4384
4385
|
runnerAttempt: suspension.runnerAttempt,
|
|
4385
4386
|
sandboxId: suspension.sandboxId,
|
|
4386
4387
|
exitCode: inspection.exitCode,
|
|
4387
|
-
diagnosis: inspection.diagnosis
|
|
4388
|
+
diagnosis: inspection.diagnosis?.stage,
|
|
4388
4389
|
resultStatus: inspection.result?.status ?? null,
|
|
4389
4390
|
}),
|
|
4390
4391
|
);
|
|
@@ -4421,7 +4422,7 @@ async function resolveDetachedRunnerOutcome(input: {
|
|
|
4421
4422
|
terminalResultFound: false,
|
|
4422
4423
|
inspectionAttempted: Boolean(input.inspectDetachedRunner),
|
|
4423
4424
|
inspectionStage: inspection
|
|
4424
|
-
? safeDiagnosticLabel(inspection.diagnosis
|
|
4425
|
+
? safeDiagnosticLabel(inspection.diagnosis?.stage)
|
|
4425
4426
|
: inspectionFailed
|
|
4426
4427
|
? 'inspection_failed'
|
|
4427
4428
|
: input.inspectDetachedRunner
|
|
@@ -157,6 +157,11 @@ export type PlayDeployOutcome = {
|
|
|
157
157
|
* the deployment into `succeeded_with_warnings`.
|
|
158
158
|
*/
|
|
159
159
|
warning?: string;
|
|
160
|
+
/**
|
|
161
|
+
* The new version exists only because a newer Deepline SDK rebuilt the play:
|
|
162
|
+
* its code and everything it imports match what is live.
|
|
163
|
+
*/
|
|
164
|
+
sdkUpdated?: true;
|
|
160
165
|
error?: string;
|
|
161
166
|
};
|
|
162
167
|
|
|
@@ -294,6 +299,26 @@ function carriesArtifact(
|
|
|
294
299
|
);
|
|
295
300
|
}
|
|
296
301
|
|
|
302
|
+
/**
|
|
303
|
+
* Same code as what is live, different build output. `sourceHash` covers only
|
|
304
|
+
* the entry file and `graphHash` covers every local import, package version,
|
|
305
|
+
* and imported play, so both must match — an edited helper is a real change.
|
|
306
|
+
*/
|
|
307
|
+
export function isSdkUpdated(
|
|
308
|
+
live: DeploymentPlayState['liveRevision'],
|
|
309
|
+
artifact: Pick<
|
|
310
|
+
PlayBundleArtifact,
|
|
311
|
+
'sourceHash' | 'graphHash' | 'artifactHash'
|
|
312
|
+
>,
|
|
313
|
+
): boolean {
|
|
314
|
+
return Boolean(
|
|
315
|
+
live &&
|
|
316
|
+
live.sourceHash === artifact.sourceHash &&
|
|
317
|
+
live.graphHash === artifact.graphHash &&
|
|
318
|
+
live.artifactHash !== artifact.artifactHash,
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
|
|
297
322
|
function annotationForFailure(input: {
|
|
298
323
|
file: string;
|
|
299
324
|
message: string;
|
|
@@ -978,6 +1003,17 @@ export async function runDeployment(
|
|
|
978
1003
|
}
|
|
979
1004
|
|
|
980
1005
|
const playByName = new Map(ordered.map((play) => [play.name, play]));
|
|
1006
|
+
// Against what was live when this build started, so a PR build and the
|
|
1007
|
+
// merge that promotes its revision describe the play the same way.
|
|
1008
|
+
const sdkUpdated = (
|
|
1009
|
+
name: string,
|
|
1010
|
+
): Pick<PlayDeployOutcome, 'sdkUpdated'> => {
|
|
1011
|
+
const artifact = playByName.get(name)?.result.artifact;
|
|
1012
|
+
const live = stateByName.get(name)?.liveRevision ?? null;
|
|
1013
|
+
return artifact && isSdkUpdated(live, artifact)
|
|
1014
|
+
? { sdkUpdated: true }
|
|
1015
|
+
: {};
|
|
1016
|
+
};
|
|
981
1017
|
const outcomes: PlayDeployOutcome[] = [];
|
|
982
1018
|
const toRegister: Array<{
|
|
983
1019
|
play: (typeof ordered)[number];
|
|
@@ -1068,6 +1104,7 @@ export async function runDeployment(
|
|
|
1068
1104
|
file: play.file,
|
|
1069
1105
|
status: 'registered',
|
|
1070
1106
|
version: playState?.workingRevision?.version ?? undefined,
|
|
1107
|
+
...sdkUpdated(play.name),
|
|
1071
1108
|
...(warning ? { warning } : {}),
|
|
1072
1109
|
});
|
|
1073
1110
|
}
|
|
@@ -1115,6 +1152,7 @@ export async function runDeployment(
|
|
|
1115
1152
|
typeof artifact.version === 'number'
|
|
1116
1153
|
? artifact.version
|
|
1117
1154
|
: undefined,
|
|
1155
|
+
...sdkUpdated(item.play.name),
|
|
1118
1156
|
...(warning ? { warning } : {}),
|
|
1119
1157
|
});
|
|
1120
1158
|
}
|
|
@@ -1137,7 +1175,7 @@ export async function runDeployment(
|
|
|
1137
1175
|
summary: outcomes
|
|
1138
1176
|
.map(
|
|
1139
1177
|
(outcome) =>
|
|
1140
|
-
`- \`${outcome.name}\`: ${outcome.status}${outcome.version !== undefined ? ` (v${outcome.version})` : ''}${outcome.warning ? `\n - :warning: ${outcome.warning}` : ''}`,
|
|
1178
|
+
`- \`${outcome.name}\`: ${outcome.status}${outcome.version !== undefined ? ` (v${outcome.version})` : ''}${outcome.sdkUpdated ? ' — SDK updated' : ''}${outcome.warning ? `\n - :warning: ${outcome.warning}` : ''}`,
|
|
1141
1179
|
)
|
|
1142
1180
|
.join('\n'),
|
|
1143
1181
|
});
|
|
@@ -1180,6 +1218,7 @@ export async function runDeployment(
|
|
|
1180
1218
|
previousVersion !== outcome.version
|
|
1181
1219
|
? { previousVersion }
|
|
1182
1220
|
: {}),
|
|
1221
|
+
...(outcome.status === 'promoted' ? sdkUpdated(outcome.name) : {}),
|
|
1183
1222
|
...(outcome.status === 'promoted' && warning ? { warning } : {}),
|
|
1184
1223
|
...(outcome.error ? { error: outcome.error } : {}),
|
|
1185
1224
|
});
|
|
@@ -1246,7 +1285,7 @@ export async function runDeployment(
|
|
|
1246
1285
|
summary: outcomes
|
|
1247
1286
|
.map(
|
|
1248
1287
|
(outcome) =>
|
|
1249
|
-
`- \`${outcome.name}\`: ${outcome.status}${outcome.warning ? `\n - :warning: ${outcome.warning}` : ''}`,
|
|
1288
|
+
`- \`${outcome.name}\`: ${outcome.status}${outcome.sdkUpdated ? ' — SDK updated' : ''}${outcome.warning ? `\n - :warning: ${outcome.warning}` : ''}`,
|
|
1250
1289
|
)
|
|
1251
1290
|
.join('\n'),
|
|
1252
1291
|
});
|
package/dist/cli/index.js
CHANGED
|
@@ -3051,7 +3051,7 @@ var SDK_RELEASE = {
|
|
|
3051
3051
|
// getters keep their established compatibility behavior.
|
|
3052
3052
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3053
3053
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3054
|
-
version: "0.3.
|
|
3054
|
+
version: "0.3.207",
|
|
3055
3055
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3056
3056
|
packageCapabilities: {
|
|
3057
3057
|
updatePreferences: 1
|
|
@@ -21536,6 +21536,11 @@ function carriesArtifact(revision, artifact) {
|
|
|
21536
21536
|
revision && revision.sourceHash === artifact.sourceHash && revision.artifactHash === artifact.artifactHash && revision.graphHash === artifact.graphHash && revision.artifactKind === artifact.artifactKind
|
|
21537
21537
|
);
|
|
21538
21538
|
}
|
|
21539
|
+
function isSdkUpdated(live, artifact) {
|
|
21540
|
+
return Boolean(
|
|
21541
|
+
live && live.sourceHash === artifact.sourceHash && live.graphHash === artifact.graphHash && live.artifactHash !== artifact.artifactHash
|
|
21542
|
+
);
|
|
21543
|
+
}
|
|
21539
21544
|
function annotationForFailure(input2) {
|
|
21540
21545
|
return {
|
|
21541
21546
|
path: input2.file,
|
|
@@ -21970,6 +21975,11 @@ async function runDeployment(params, hooks) {
|
|
|
21970
21975
|
});
|
|
21971
21976
|
}
|
|
21972
21977
|
const playByName = new Map(ordered.map((play) => [play.name, play]));
|
|
21978
|
+
const sdkUpdated = (name) => {
|
|
21979
|
+
const artifact = playByName.get(name)?.result.artifact;
|
|
21980
|
+
const live = stateByName.get(name)?.liveRevision ?? null;
|
|
21981
|
+
return artifact && isSdkUpdated(live, artifact) ? { sdkUpdated: true } : {};
|
|
21982
|
+
};
|
|
21973
21983
|
const outcomes = [];
|
|
21974
21984
|
const toRegister = [];
|
|
21975
21985
|
const toPromote = [];
|
|
@@ -22016,6 +22026,7 @@ async function runDeployment(params, hooks) {
|
|
|
22016
22026
|
file: play.file,
|
|
22017
22027
|
status: "registered",
|
|
22018
22028
|
version: playState?.workingRevision?.version ?? void 0,
|
|
22029
|
+
...sdkUpdated(play.name),
|
|
22019
22030
|
...warning ? { warning } : {}
|
|
22020
22031
|
});
|
|
22021
22032
|
}
|
|
@@ -22057,6 +22068,7 @@ async function runDeployment(params, hooks) {
|
|
|
22057
22068
|
file: item.play.file,
|
|
22058
22069
|
status: "registered",
|
|
22059
22070
|
version: typeof artifact.version === "number" ? artifact.version : void 0,
|
|
22071
|
+
...sdkUpdated(item.play.name),
|
|
22060
22072
|
...warning ? { warning } : {}
|
|
22061
22073
|
});
|
|
22062
22074
|
}
|
|
@@ -22071,7 +22083,7 @@ async function runDeployment(params, hooks) {
|
|
|
22071
22083
|
title: `${ordered.length} play${ordered.length === 1 ? "" : "s"} validated and registered (not deployed)`,
|
|
22072
22084
|
...annotations.length > 0 ? { annotations } : {},
|
|
22073
22085
|
summary: outcomes.map(
|
|
22074
|
-
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.version !== void 0 ? ` (v${outcome.version})` : ""}${outcome.warning ? `
|
|
22086
|
+
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.version !== void 0 ? ` (v${outcome.version})` : ""}${outcome.sdkUpdated ? " \u2014 SDK updated" : ""}${outcome.warning ? `
|
|
22075
22087
|
- :warning: ${outcome.warning}` : ""}`
|
|
22076
22088
|
).join("\n")
|
|
22077
22089
|
});
|
|
@@ -22100,6 +22112,7 @@ async function runDeployment(params, hooks) {
|
|
|
22100
22112
|
status: outcome.status === "promoted" ? "promoted" : "failed",
|
|
22101
22113
|
version: outcome.version,
|
|
22102
22114
|
...outcome.status === "promoted" && typeof previousVersion === "number" && previousVersion !== outcome.version ? { previousVersion } : {},
|
|
22115
|
+
...outcome.status === "promoted" ? sdkUpdated(outcome.name) : {},
|
|
22103
22116
|
...outcome.status === "promoted" && warning ? { warning } : {},
|
|
22104
22117
|
...outcome.error ? { error: outcome.error } : {}
|
|
22105
22118
|
});
|
|
@@ -22146,7 +22159,7 @@ async function runDeployment(params, hooks) {
|
|
|
22146
22159
|
title: `Deployed ${outcomes.filter((o) => o.status === "promoted").length} play(s) (${outcomes.filter((o) => o.status === "unchanged").length} unchanged)`,
|
|
22147
22160
|
...annotations.length > 0 ? { annotations } : {},
|
|
22148
22161
|
summary: outcomes.map(
|
|
22149
|
-
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.warning ? `
|
|
22162
|
+
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.sdkUpdated ? " \u2014 SDK updated" : ""}${outcome.warning ? `
|
|
22150
22163
|
- :warning: ${outcome.warning}` : ""}`
|
|
22151
22164
|
).join("\n")
|
|
22152
22165
|
});
|
|
@@ -22234,8 +22247,9 @@ function topoSortByPlayDependencies(plays) {
|
|
|
22234
22247
|
var MAX_DEPLOY_ATTEMPTS = 3;
|
|
22235
22248
|
function renderOutcome(outcome) {
|
|
22236
22249
|
const version = outcome.version === void 0 ? "" : outcome.previousVersion === void 0 ? ` v${outcome.version}` : ` v${outcome.previousVersion} -> v${outcome.version}`;
|
|
22250
|
+
const sdkUpdated = outcome.sdkUpdated ? " (SDK updated)" : "";
|
|
22237
22251
|
const note = outcome.error ?? outcome.warning;
|
|
22238
|
-
return `${outcome.name} (${outcome.file}): ${outcome.status}${version}${note ? ` - ${note}` : ""}`;
|
|
22252
|
+
return `${outcome.name} (${outcome.file}): ${outcome.status}${version}${sdkUpdated}${note ? ` - ${note}` : ""}`;
|
|
22239
22253
|
}
|
|
22240
22254
|
function printResult(input2) {
|
|
22241
22255
|
const failed = input2.status === "failed" || input2.status === "cancelled";
|
|
@@ -22667,8 +22681,9 @@ function renderDeploymentPlayLines(results) {
|
|
|
22667
22681
|
return plays.flatMap((play) => {
|
|
22668
22682
|
const version = play.version === void 0 ? "" : play.previousVersion === void 0 ? ` v${play.version}` : ` v${play.previousVersion} -> v${play.version}`;
|
|
22669
22683
|
const file = play.file ? ` (${play.file})` : "";
|
|
22684
|
+
const sdkUpdated = play.sdkUpdated ? " (SDK updated)" : "";
|
|
22670
22685
|
return [
|
|
22671
|
-
`${play.name ?? "?"}${file} - ${play.status ?? "?"}${version}`,
|
|
22686
|
+
`${play.name ?? "?"}${file} - ${play.status ?? "?"}${version}${sdkUpdated}`,
|
|
22672
22687
|
...play.error ? [` error: ${play.error}`] : [],
|
|
22673
22688
|
...play.warning ? [` warning: ${play.warning}`] : []
|
|
22674
22689
|
];
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3046,7 +3046,7 @@ var SDK_RELEASE = {
|
|
|
3046
3046
|
// getters keep their established compatibility behavior.
|
|
3047
3047
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3048
3048
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3049
|
-
version: "0.3.
|
|
3049
|
+
version: "0.3.207",
|
|
3050
3050
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3051
3051
|
packageCapabilities: {
|
|
3052
3052
|
updatePreferences: 1
|
|
@@ -21609,6 +21609,11 @@ function carriesArtifact(revision, artifact) {
|
|
|
21609
21609
|
revision && revision.sourceHash === artifact.sourceHash && revision.artifactHash === artifact.artifactHash && revision.graphHash === artifact.graphHash && revision.artifactKind === artifact.artifactKind
|
|
21610
21610
|
);
|
|
21611
21611
|
}
|
|
21612
|
+
function isSdkUpdated(live, artifact) {
|
|
21613
|
+
return Boolean(
|
|
21614
|
+
live && live.sourceHash === artifact.sourceHash && live.graphHash === artifact.graphHash && live.artifactHash !== artifact.artifactHash
|
|
21615
|
+
);
|
|
21616
|
+
}
|
|
21612
21617
|
function annotationForFailure(input2) {
|
|
21613
21618
|
return {
|
|
21614
21619
|
path: input2.file,
|
|
@@ -22043,6 +22048,11 @@ async function runDeployment(params, hooks) {
|
|
|
22043
22048
|
});
|
|
22044
22049
|
}
|
|
22045
22050
|
const playByName = new Map(ordered.map((play) => [play.name, play]));
|
|
22051
|
+
const sdkUpdated = (name) => {
|
|
22052
|
+
const artifact = playByName.get(name)?.result.artifact;
|
|
22053
|
+
const live = stateByName.get(name)?.liveRevision ?? null;
|
|
22054
|
+
return artifact && isSdkUpdated(live, artifact) ? { sdkUpdated: true } : {};
|
|
22055
|
+
};
|
|
22046
22056
|
const outcomes = [];
|
|
22047
22057
|
const toRegister = [];
|
|
22048
22058
|
const toPromote = [];
|
|
@@ -22089,6 +22099,7 @@ async function runDeployment(params, hooks) {
|
|
|
22089
22099
|
file: play.file,
|
|
22090
22100
|
status: "registered",
|
|
22091
22101
|
version: playState?.workingRevision?.version ?? void 0,
|
|
22102
|
+
...sdkUpdated(play.name),
|
|
22092
22103
|
...warning ? { warning } : {}
|
|
22093
22104
|
});
|
|
22094
22105
|
}
|
|
@@ -22130,6 +22141,7 @@ async function runDeployment(params, hooks) {
|
|
|
22130
22141
|
file: item.play.file,
|
|
22131
22142
|
status: "registered",
|
|
22132
22143
|
version: typeof artifact.version === "number" ? artifact.version : void 0,
|
|
22144
|
+
...sdkUpdated(item.play.name),
|
|
22133
22145
|
...warning ? { warning } : {}
|
|
22134
22146
|
});
|
|
22135
22147
|
}
|
|
@@ -22144,7 +22156,7 @@ async function runDeployment(params, hooks) {
|
|
|
22144
22156
|
title: `${ordered.length} play${ordered.length === 1 ? "" : "s"} validated and registered (not deployed)`,
|
|
22145
22157
|
...annotations.length > 0 ? { annotations } : {},
|
|
22146
22158
|
summary: outcomes.map(
|
|
22147
|
-
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.version !== void 0 ? ` (v${outcome.version})` : ""}${outcome.warning ? `
|
|
22159
|
+
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.version !== void 0 ? ` (v${outcome.version})` : ""}${outcome.sdkUpdated ? " \u2014 SDK updated" : ""}${outcome.warning ? `
|
|
22148
22160
|
- :warning: ${outcome.warning}` : ""}`
|
|
22149
22161
|
).join("\n")
|
|
22150
22162
|
});
|
|
@@ -22173,6 +22185,7 @@ async function runDeployment(params, hooks) {
|
|
|
22173
22185
|
status: outcome.status === "promoted" ? "promoted" : "failed",
|
|
22174
22186
|
version: outcome.version,
|
|
22175
22187
|
...outcome.status === "promoted" && typeof previousVersion === "number" && previousVersion !== outcome.version ? { previousVersion } : {},
|
|
22188
|
+
...outcome.status === "promoted" ? sdkUpdated(outcome.name) : {},
|
|
22176
22189
|
...outcome.status === "promoted" && warning ? { warning } : {},
|
|
22177
22190
|
...outcome.error ? { error: outcome.error } : {}
|
|
22178
22191
|
});
|
|
@@ -22219,7 +22232,7 @@ async function runDeployment(params, hooks) {
|
|
|
22219
22232
|
title: `Deployed ${outcomes.filter((o) => o.status === "promoted").length} play(s) (${outcomes.filter((o) => o.status === "unchanged").length} unchanged)`,
|
|
22220
22233
|
...annotations.length > 0 ? { annotations } : {},
|
|
22221
22234
|
summary: outcomes.map(
|
|
22222
|
-
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.warning ? `
|
|
22235
|
+
(outcome) => `- \`${outcome.name}\`: ${outcome.status}${outcome.sdkUpdated ? " \u2014 SDK updated" : ""}${outcome.warning ? `
|
|
22223
22236
|
- :warning: ${outcome.warning}` : ""}`
|
|
22224
22237
|
).join("\n")
|
|
22225
22238
|
});
|
|
@@ -22307,8 +22320,9 @@ function topoSortByPlayDependencies(plays) {
|
|
|
22307
22320
|
var MAX_DEPLOY_ATTEMPTS = 3;
|
|
22308
22321
|
function renderOutcome(outcome) {
|
|
22309
22322
|
const version = outcome.version === void 0 ? "" : outcome.previousVersion === void 0 ? ` v${outcome.version}` : ` v${outcome.previousVersion} -> v${outcome.version}`;
|
|
22323
|
+
const sdkUpdated = outcome.sdkUpdated ? " (SDK updated)" : "";
|
|
22310
22324
|
const note = outcome.error ?? outcome.warning;
|
|
22311
|
-
return `${outcome.name} (${outcome.file}): ${outcome.status}${version}${note ? ` - ${note}` : ""}`;
|
|
22325
|
+
return `${outcome.name} (${outcome.file}): ${outcome.status}${version}${sdkUpdated}${note ? ` - ${note}` : ""}`;
|
|
22312
22326
|
}
|
|
22313
22327
|
function printResult(input2) {
|
|
22314
22328
|
const failed = input2.status === "failed" || input2.status === "cancelled";
|
|
@@ -22740,8 +22754,9 @@ function renderDeploymentPlayLines(results) {
|
|
|
22740
22754
|
return plays.flatMap((play) => {
|
|
22741
22755
|
const version = play.version === void 0 ? "" : play.previousVersion === void 0 ? ` v${play.version}` : ` v${play.previousVersion} -> v${play.version}`;
|
|
22742
22756
|
const file = play.file ? ` (${play.file})` : "";
|
|
22757
|
+
const sdkUpdated = play.sdkUpdated ? " (SDK updated)" : "";
|
|
22743
22758
|
return [
|
|
22744
|
-
`${play.name ?? "?"}${file} - ${play.status ?? "?"}${version}`,
|
|
22759
|
+
`${play.name ?? "?"}${file} - ${play.status ?? "?"}${version}${sdkUpdated}`,
|
|
22745
22760
|
...play.error ? [` error: ${play.error}`] : [],
|
|
22746
22761
|
...play.warning ? [` warning: ${play.warning}`] : []
|
|
22747
22762
|
];
|
package/dist/index.js
CHANGED
|
@@ -864,7 +864,7 @@ var SDK_RELEASE = {
|
|
|
864
864
|
// getters keep their established compatibility behavior.
|
|
865
865
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
866
866
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
867
|
-
version: "0.3.
|
|
867
|
+
version: "0.3.207",
|
|
868
868
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
869
869
|
packageCapabilities: {
|
|
870
870
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
|
|
|
768
768
|
// getters keep their established compatibility behavior.
|
|
769
769
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
770
770
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
771
|
-
version: "0.3.
|
|
771
|
+
version: "0.3.207",
|
|
772
772
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
773
773
|
packageCapabilities: {
|
|
774
774
|
updatePreferences: 1
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.207";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.207";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.js
CHANGED
|
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
|
|
|
74
74
|
// getters keep their established compatibility behavior.
|
|
75
75
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
76
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
-
version: "0.3.
|
|
77
|
+
version: "0.3.207",
|
|
78
78
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
79
79
|
packageCapabilities: {
|
|
80
80
|
updatePreferences: 1
|
package/dist/release.mjs
CHANGED
|
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
|
|
|
48
48
|
// getters keep their established compatibility behavior.
|
|
49
49
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
50
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
-
version: "0.3.
|
|
51
|
+
version: "0.3.207",
|
|
52
52
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
53
53
|
packageCapabilities: {
|
|
54
54
|
updatePreferences: 1
|