deepline 0.1.193 → 0.1.194
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.
|
@@ -1628,6 +1628,42 @@ function workerChildRevisionFingerprint(input: {
|
|
|
1628
1628
|
);
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
1631
|
+
type RuntimeResolvedPlayResponse = {
|
|
1632
|
+
manifest?: PlayRuntimeManifest | null;
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
async function resolveAuthorizedWorkerChildManifest(input: {
|
|
1636
|
+
req: RunRequest;
|
|
1637
|
+
playRef: string;
|
|
1638
|
+
cache: Map<string, PlayRuntimeManifest>;
|
|
1639
|
+
}): Promise<PlayRuntimeManifest | null> {
|
|
1640
|
+
const cached = input.cache.get(input.playRef);
|
|
1641
|
+
if (cached) return cached;
|
|
1642
|
+
const preloaded = input.req.childPlayManifests?.[input.playRef];
|
|
1643
|
+
if (preloaded) {
|
|
1644
|
+
input.cache.set(input.playRef, preloaded);
|
|
1645
|
+
return preloaded;
|
|
1646
|
+
}
|
|
1647
|
+
const response = await postRuntimeApi<RuntimeResolvedPlayResponse>(
|
|
1648
|
+
input.req.baseUrl,
|
|
1649
|
+
input.req.executorToken,
|
|
1650
|
+
{
|
|
1651
|
+
action: 'resolve_play',
|
|
1652
|
+
playRef: input.playRef,
|
|
1653
|
+
artifactKind: 'esm_workers',
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
runtimeTestFaultHeader: input.req.runtimeTestFaultHeader,
|
|
1657
|
+
timeoutMsOverride: 30_000,
|
|
1658
|
+
},
|
|
1659
|
+
);
|
|
1660
|
+
const manifest = response.manifest ?? null;
|
|
1661
|
+
if (manifest) {
|
|
1662
|
+
input.cache.set(input.playRef, manifest);
|
|
1663
|
+
}
|
|
1664
|
+
return manifest;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1631
1667
|
async function childPlayEventKey(input: {
|
|
1632
1668
|
key: string;
|
|
1633
1669
|
workflowId: string;
|
|
@@ -4269,6 +4305,7 @@ function createMinimalWorkerCtx(
|
|
|
4269
4305
|
// lineage snapshot are owned by the Governor (createGovernorForRun above).
|
|
4270
4306
|
// The worker keeps only substrate mechanism here.
|
|
4271
4307
|
const stepCallCounts: Record<string, number> = {};
|
|
4308
|
+
const childManifestCache = new Map<string, PlayRuntimeManifest>();
|
|
4272
4309
|
const secretRedactor = createSecretRedactionContext();
|
|
4273
4310
|
|
|
4274
4311
|
const resolveSecretAuth = async (auth?: SecretAuth) => {
|
|
@@ -6790,7 +6827,11 @@ function createMinimalWorkerCtx(
|
|
|
6790
6827
|
if (!resolvedName) {
|
|
6791
6828
|
throw new Error('ctx.runPlay(...) requires a resolvable play name.');
|
|
6792
6829
|
}
|
|
6793
|
-
const childManifest =
|
|
6830
|
+
const childManifest = await resolveAuthorizedWorkerChildManifest({
|
|
6831
|
+
req,
|
|
6832
|
+
playRef: resolvedName,
|
|
6833
|
+
cache: childManifestCache,
|
|
6834
|
+
});
|
|
6794
6835
|
const receiptKey = buildDurableCtxCallCacheKey({
|
|
6795
6836
|
orgId: req.orgId,
|
|
6796
6837
|
playId: req.playName,
|
|
@@ -6831,7 +6872,7 @@ function createMinimalWorkerCtx(
|
|
|
6831
6872
|
});
|
|
6832
6873
|
if (!childManifest) {
|
|
6833
6874
|
throw new Error(
|
|
6834
|
-
`ctx.runPlay(${normalizedKey}) cannot start ${resolvedName}:
|
|
6875
|
+
`ctx.runPlay(${normalizedKey}) cannot start ${resolvedName}: not callable.`,
|
|
6835
6876
|
);
|
|
6836
6877
|
}
|
|
6837
6878
|
const childIsDatasetBacked = childPipelineUsesCtxDataset(
|
|
@@ -105,10 +105,10 @@ export const SDK_RELEASE = {
|
|
|
105
105
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
106
106
|
// fields shipped in 0.1.153.
|
|
107
107
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
108
|
-
version: '0.1.
|
|
108
|
+
version: '0.1.194',
|
|
109
109
|
apiContract: '2026-06-dataset-handle-results-hard-cutover',
|
|
110
110
|
supportPolicy: {
|
|
111
|
-
latest: '0.1.
|
|
111
|
+
latest: '0.1.194',
|
|
112
112
|
minimumSupported: '0.1.53',
|
|
113
113
|
deprecatedBelow: '0.1.53',
|
|
114
114
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -623,10 +623,10 @@ var SDK_RELEASE = {
|
|
|
623
623
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
624
624
|
// fields shipped in 0.1.153.
|
|
625
625
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
626
|
-
version: "0.1.
|
|
626
|
+
version: "0.1.194",
|
|
627
627
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
628
628
|
supportPolicy: {
|
|
629
|
-
latest: "0.1.
|
|
629
|
+
latest: "0.1.194",
|
|
630
630
|
minimumSupported: "0.1.53",
|
|
631
631
|
deprecatedBelow: "0.1.53",
|
|
632
632
|
commandMinimumSupported: [
|
package/dist/cli/index.mjs
CHANGED
|
@@ -608,10 +608,10 @@ var SDK_RELEASE = {
|
|
|
608
608
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
609
609
|
// fields shipped in 0.1.153.
|
|
610
610
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
611
|
-
version: "0.1.
|
|
611
|
+
version: "0.1.194",
|
|
612
612
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
613
613
|
supportPolicy: {
|
|
614
|
-
latest: "0.1.
|
|
614
|
+
latest: "0.1.194",
|
|
615
615
|
minimumSupported: "0.1.53",
|
|
616
616
|
deprecatedBelow: "0.1.53",
|
|
617
617
|
commandMinimumSupported: [
|
package/dist/index.js
CHANGED
|
@@ -422,10 +422,10 @@ var SDK_RELEASE = {
|
|
|
422
422
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
423
423
|
// fields shipped in 0.1.153.
|
|
424
424
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
425
|
-
version: "0.1.
|
|
425
|
+
version: "0.1.194",
|
|
426
426
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
427
427
|
supportPolicy: {
|
|
428
|
-
latest: "0.1.
|
|
428
|
+
latest: "0.1.194",
|
|
429
429
|
minimumSupported: "0.1.53",
|
|
430
430
|
deprecatedBelow: "0.1.53",
|
|
431
431
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -352,10 +352,10 @@ var SDK_RELEASE = {
|
|
|
352
352
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
353
353
|
// fields shipped in 0.1.153.
|
|
354
354
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
355
|
-
version: "0.1.
|
|
355
|
+
version: "0.1.194",
|
|
356
356
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
357
357
|
supportPolicy: {
|
|
358
|
-
latest: "0.1.
|
|
358
|
+
latest: "0.1.194",
|
|
359
359
|
minimumSupported: "0.1.53",
|
|
360
360
|
deprecatedBelow: "0.1.53",
|
|
361
361
|
commandMinimumSupported: [
|