deepline 0.2.43 → 0.2.44
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/cli/index.js +30 -8
- package/dist/cli/index.mjs +30 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -160,7 +160,7 @@ export const SDK_RELEASE = {
|
|
|
160
160
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
161
161
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
162
162
|
// release keeps lazy paging semantics independent of row residency.
|
|
163
|
-
version: '0.2.
|
|
163
|
+
version: '0.2.44',
|
|
164
164
|
contracts: {
|
|
165
165
|
api: {
|
|
166
166
|
name: 'sdk-http-api',
|
package/dist/cli/index.js
CHANGED
|
@@ -1044,7 +1044,7 @@ var SDK_RELEASE = {
|
|
|
1044
1044
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1045
1045
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1046
1046
|
// release keeps lazy paging semantics independent of row residency.
|
|
1047
|
-
version: "0.2.
|
|
1047
|
+
version: "0.2.44",
|
|
1048
1048
|
contracts: {
|
|
1049
1049
|
api: {
|
|
1050
1050
|
name: "sdk-http-api",
|
|
@@ -27226,6 +27226,7 @@ async function buildEnrichFailureReport(input2) {
|
|
|
27226
27226
|
config: input2.config,
|
|
27227
27227
|
rows: input2.rows,
|
|
27228
27228
|
rowRange: input2.rowRange,
|
|
27229
|
+
runOutcome: input2.runOutcome,
|
|
27229
27230
|
client: input2.client,
|
|
27230
27231
|
outputPath: input2.reportOutputPath ?? input2.exportResult?.path ?? input2.outputPath ?? null,
|
|
27231
27232
|
followUpOutputPath: input2.followUpOutputPath,
|
|
@@ -28594,7 +28595,15 @@ async function maybeEmitEnrichFailureReport(input2) {
|
|
|
28594
28595
|
rows: input2.rowRange
|
|
28595
28596
|
});
|
|
28596
28597
|
if (jobs.length > 0) {
|
|
28597
|
-
|
|
28598
|
+
const failedRows = new Set(jobs.map((job) => job.row_id)).size;
|
|
28599
|
+
if (input2.runOutcome === "failed") {
|
|
28600
|
+
process.stderr.write("Execution failed.\n");
|
|
28601
|
+
} else {
|
|
28602
|
+
process.stderr.write(
|
|
28603
|
+
`Enrichment completed with failures in ${failedRows} ${failedRows === 1 ? "row" : "rows"}.
|
|
28604
|
+
`
|
|
28605
|
+
);
|
|
28606
|
+
}
|
|
28598
28607
|
process.stderr.write("Failure preview (up to 5 failed jobs):\n");
|
|
28599
28608
|
process.stderr.write("job_id row_id col_index column status error\n");
|
|
28600
28609
|
for (const job of jobs.slice(0, 5)) {
|
|
@@ -28645,14 +28654,24 @@ async function maybeEmitEnrichFailureReport(input2) {
|
|
|
28645
28654
|
process.stderr.write(`Full enrich report: ${reportPath}
|
|
28646
28655
|
`);
|
|
28647
28656
|
}
|
|
28648
|
-
|
|
28649
|
-
|
|
28650
|
-
|
|
28657
|
+
if (jobs.length > 0) {
|
|
28658
|
+
if (input2.runOutcome === "failed") {
|
|
28659
|
+
process.stderr.write("Enrichment failed. See report above.\n");
|
|
28660
|
+
}
|
|
28661
|
+
} else {
|
|
28662
|
+
process.stderr.write(
|
|
28663
|
+
"Enrichment produced no values for at least one requested waterfall. See issue preview above.\n"
|
|
28664
|
+
);
|
|
28665
|
+
}
|
|
28651
28666
|
return { path: reportPath, jobs, issues: allEnrichIssues };
|
|
28652
28667
|
}
|
|
28653
|
-
|
|
28654
|
-
|
|
28655
|
-
|
|
28668
|
+
if (jobs.length > 0) {
|
|
28669
|
+
if (input2.runOutcome === "failed") {
|
|
28670
|
+
process.stderr.write("Enrichment failed.\n");
|
|
28671
|
+
}
|
|
28672
|
+
} else {
|
|
28673
|
+
process.stderr.write("Enrichment needs attention.\n");
|
|
28674
|
+
}
|
|
28656
28675
|
return { path: "", jobs, issues: allEnrichIssues };
|
|
28657
28676
|
}
|
|
28658
28677
|
function mergePreferredColumns(preferredColumns, rows) {
|
|
@@ -29574,6 +29593,7 @@ function registerEnrichCommand(program) {
|
|
|
29574
29593
|
config,
|
|
29575
29594
|
rows: rowsForFailureReport,
|
|
29576
29595
|
rowRange: rows,
|
|
29596
|
+
runOutcome: "failed",
|
|
29577
29597
|
client: client2,
|
|
29578
29598
|
exportResult: committedExportResult2,
|
|
29579
29599
|
outputPath,
|
|
@@ -29606,6 +29626,7 @@ function registerEnrichCommand(program) {
|
|
|
29606
29626
|
config,
|
|
29607
29627
|
rows: rowsForFailureReport,
|
|
29608
29628
|
rowRange: rows,
|
|
29629
|
+
runOutcome: "completed",
|
|
29609
29630
|
client: client2,
|
|
29610
29631
|
exportResult,
|
|
29611
29632
|
outputPath,
|
|
@@ -29645,6 +29666,7 @@ function registerEnrichCommand(program) {
|
|
|
29645
29666
|
config,
|
|
29646
29667
|
rows: rowsForFailureReport,
|
|
29647
29668
|
rowRange: rows,
|
|
29669
|
+
runOutcome: "completed",
|
|
29648
29670
|
client: client2,
|
|
29649
29671
|
outputPath: failureReportOutputPath ?? exportResult?.path ?? null,
|
|
29650
29672
|
followUpOutputPath: enrichIssueFollowUpOutputPath,
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1030,7 +1030,7 @@ var SDK_RELEASE = {
|
|
|
1030
1030
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1031
1031
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1032
1032
|
// release keeps lazy paging semantics independent of row residency.
|
|
1033
|
-
version: "0.2.
|
|
1033
|
+
version: "0.2.44",
|
|
1034
1034
|
contracts: {
|
|
1035
1035
|
api: {
|
|
1036
1036
|
name: "sdk-http-api",
|
|
@@ -27270,6 +27270,7 @@ async function buildEnrichFailureReport(input2) {
|
|
|
27270
27270
|
config: input2.config,
|
|
27271
27271
|
rows: input2.rows,
|
|
27272
27272
|
rowRange: input2.rowRange,
|
|
27273
|
+
runOutcome: input2.runOutcome,
|
|
27273
27274
|
client: input2.client,
|
|
27274
27275
|
outputPath: input2.reportOutputPath ?? input2.exportResult?.path ?? input2.outputPath ?? null,
|
|
27275
27276
|
followUpOutputPath: input2.followUpOutputPath,
|
|
@@ -28638,7 +28639,15 @@ async function maybeEmitEnrichFailureReport(input2) {
|
|
|
28638
28639
|
rows: input2.rowRange
|
|
28639
28640
|
});
|
|
28640
28641
|
if (jobs.length > 0) {
|
|
28641
|
-
|
|
28642
|
+
const failedRows = new Set(jobs.map((job) => job.row_id)).size;
|
|
28643
|
+
if (input2.runOutcome === "failed") {
|
|
28644
|
+
process.stderr.write("Execution failed.\n");
|
|
28645
|
+
} else {
|
|
28646
|
+
process.stderr.write(
|
|
28647
|
+
`Enrichment completed with failures in ${failedRows} ${failedRows === 1 ? "row" : "rows"}.
|
|
28648
|
+
`
|
|
28649
|
+
);
|
|
28650
|
+
}
|
|
28642
28651
|
process.stderr.write("Failure preview (up to 5 failed jobs):\n");
|
|
28643
28652
|
process.stderr.write("job_id row_id col_index column status error\n");
|
|
28644
28653
|
for (const job of jobs.slice(0, 5)) {
|
|
@@ -28689,14 +28698,24 @@ async function maybeEmitEnrichFailureReport(input2) {
|
|
|
28689
28698
|
process.stderr.write(`Full enrich report: ${reportPath}
|
|
28690
28699
|
`);
|
|
28691
28700
|
}
|
|
28692
|
-
|
|
28693
|
-
|
|
28694
|
-
|
|
28701
|
+
if (jobs.length > 0) {
|
|
28702
|
+
if (input2.runOutcome === "failed") {
|
|
28703
|
+
process.stderr.write("Enrichment failed. See report above.\n");
|
|
28704
|
+
}
|
|
28705
|
+
} else {
|
|
28706
|
+
process.stderr.write(
|
|
28707
|
+
"Enrichment produced no values for at least one requested waterfall. See issue preview above.\n"
|
|
28708
|
+
);
|
|
28709
|
+
}
|
|
28695
28710
|
return { path: reportPath, jobs, issues: allEnrichIssues };
|
|
28696
28711
|
}
|
|
28697
|
-
|
|
28698
|
-
|
|
28699
|
-
|
|
28712
|
+
if (jobs.length > 0) {
|
|
28713
|
+
if (input2.runOutcome === "failed") {
|
|
28714
|
+
process.stderr.write("Enrichment failed.\n");
|
|
28715
|
+
}
|
|
28716
|
+
} else {
|
|
28717
|
+
process.stderr.write("Enrichment needs attention.\n");
|
|
28718
|
+
}
|
|
28700
28719
|
return { path: "", jobs, issues: allEnrichIssues };
|
|
28701
28720
|
}
|
|
28702
28721
|
function mergePreferredColumns(preferredColumns, rows) {
|
|
@@ -29618,6 +29637,7 @@ function registerEnrichCommand(program) {
|
|
|
29618
29637
|
config,
|
|
29619
29638
|
rows: rowsForFailureReport,
|
|
29620
29639
|
rowRange: rows,
|
|
29640
|
+
runOutcome: "failed",
|
|
29621
29641
|
client: client2,
|
|
29622
29642
|
exportResult: committedExportResult2,
|
|
29623
29643
|
outputPath,
|
|
@@ -29650,6 +29670,7 @@ function registerEnrichCommand(program) {
|
|
|
29650
29670
|
config,
|
|
29651
29671
|
rows: rowsForFailureReport,
|
|
29652
29672
|
rowRange: rows,
|
|
29673
|
+
runOutcome: "completed",
|
|
29653
29674
|
client: client2,
|
|
29654
29675
|
exportResult,
|
|
29655
29676
|
outputPath,
|
|
@@ -29689,6 +29710,7 @@ function registerEnrichCommand(program) {
|
|
|
29689
29710
|
config,
|
|
29690
29711
|
rows: rowsForFailureReport,
|
|
29691
29712
|
rowRange: rows,
|
|
29713
|
+
runOutcome: "completed",
|
|
29692
29714
|
client: client2,
|
|
29693
29715
|
outputPath: failureReportOutputPath ?? exportResult?.path ?? null,
|
|
29694
29716
|
followUpOutputPath: enrichIssueFollowUpOutputPath,
|
package/dist/index.js
CHANGED
|
@@ -763,7 +763,7 @@ var SDK_RELEASE = {
|
|
|
763
763
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
764
764
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
765
765
|
// release keeps lazy paging semantics independent of row residency.
|
|
766
|
-
version: "0.2.
|
|
766
|
+
version: "0.2.44",
|
|
767
767
|
contracts: {
|
|
768
768
|
api: {
|
|
769
769
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -689,7 +689,7 @@ var SDK_RELEASE = {
|
|
|
689
689
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
690
690
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
691
691
|
// release keeps lazy paging semantics independent of row residency.
|
|
692
|
-
version: "0.2.
|
|
692
|
+
version: "0.2.44",
|
|
693
693
|
contracts: {
|
|
694
694
|
api: {
|
|
695
695
|
name: "sdk-http-api",
|