deepline 0.3.242 → 0.3.243
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-shared.ts +16 -17
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.mjs +1 -1
- 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.243',
|
|
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: {
|
|
@@ -555,29 +555,28 @@ export const ABSURD_RUNTIME_POOL_MAX_CLIENTS =
|
|
|
555
555
|
RUNTIME_SCHEDULER_CONTROL_PLANE_MAX_CLIENTS;
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
*
|
|
558
|
+
* Vercel Fluid invocations share a process and its scheduler pool. A single
|
|
559
|
+
* client serializes unrelated launches, reads, and critical lease lookups;
|
|
560
|
+
* one held connection can make every other request hit its acquire timeout.
|
|
561
|
+
* Use the shared two-client control-plane budget so another request can make
|
|
562
|
+
* progress while keeping each instance's PgBouncer footprint bounded.
|
|
563
563
|
*/
|
|
564
|
-
export const ABSURD_SERVERLESS_POOL_MAX_CLIENTS =
|
|
564
|
+
export const ABSURD_SERVERLESS_POOL_MAX_CLIENTS =
|
|
565
|
+
RUNTIME_SCHEDULER_CONTROL_PLANE_MAX_CLIENTS;
|
|
565
566
|
|
|
566
567
|
/**
|
|
567
|
-
* A Vercel isolate may survive long after
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
* ordinary 30-second idle lifetime.
|
|
568
|
+
* A Vercel isolate may survive long after a webhook has returned. Keep its
|
|
569
|
+
* scheduler clients only long enough to reuse them for an immediate follow-up,
|
|
570
|
+
* then return idle PgBouncer clients before the source's delayed Workpool
|
|
571
|
+
* recovery is due. The worker fleet keeps the ordinary 30-second idle lifetime.
|
|
572
572
|
*/
|
|
573
573
|
export const ABSURD_SERVERLESS_POOL_IDLE_TIMEOUT_MS = 1_000;
|
|
574
574
|
|
|
575
|
-
//
|
|
576
|
-
//
|
|
577
|
-
//
|
|
578
|
-
//
|
|
579
|
-
//
|
|
580
|
-
// Other one-client Workpool adapters can still overlap during rollout.
|
|
575
|
+
// Ordinary Vercel requests share the bounded control-plane pool above. The
|
|
576
|
+
// private batch adapter is different: Workpool elects one global up-to-1,024-
|
|
577
|
+
// source collection before entering this context, so one batch request may use
|
|
578
|
+
// its larger bounded scheduler capacity without multiplying it per source.
|
|
579
|
+
// Other Workpool adapters can still overlap during rollout.
|
|
581
580
|
type ServerlessAdmissionPoolContext = {
|
|
582
581
|
maxClients: number;
|
|
583
582
|
maxAcquireQueueDepth: number;
|
|
@@ -16289,6 +16289,10 @@ export async function renewPostgresRunLedgerDelivery(
|
|
|
16289
16289
|
throw new RunLedgerProjectionLeaseLostError('delivery_lease_not_current');
|
|
16290
16290
|
}
|
|
16291
16291
|
|
|
16292
|
+
// A projection receipt has always admitted at most eight ordered outbox facts.
|
|
16293
|
+
// Share that existing boundary between its SQL snapshot and prefix validation.
|
|
16294
|
+
const RUN_LEDGER_PROJECTION_PREFIX_MAX_FACTS = 8;
|
|
16295
|
+
|
|
16292
16296
|
/** Only the currently claimed causal prefix may use the projection write path. */
|
|
16293
16297
|
export async function assertPostgresRunLedgerDelivery(
|
|
16294
16298
|
client: PostgresSchedulerQueryClient,
|
|
@@ -16329,6 +16333,10 @@ export async function assertPostgresRunLedgerDelivery(
|
|
|
16329
16333
|
WHERE outbox.run_id = $1 AND runs.org_id = $2
|
|
16330
16334
|
AND outbox.delivered_at IS NULL
|
|
16331
16335
|
ORDER BY ${runLedgerOrderSql('outbox')}
|
|
16336
|
+
-- Later producer facts cannot belong to this receipt. Do not hydrate their
|
|
16337
|
+
-- payloads while proving the current causal prefix; the next lease proves
|
|
16338
|
+
-- their own delivery without changing the drain's convergence behavior.
|
|
16339
|
+
LIMIT ${RUN_LEDGER_PROJECTION_PREFIX_MAX_FACTS}
|
|
16332
16340
|
`,
|
|
16333
16341
|
[input.runId, input.orgId],
|
|
16334
16342
|
);
|
|
@@ -16461,7 +16469,7 @@ export async function assertPostgresRunLedgerDelivery(
|
|
|
16461
16469
|
) {
|
|
16462
16470
|
break;
|
|
16463
16471
|
}
|
|
16464
|
-
if (terminal || prefix.length >=
|
|
16472
|
+
if (terminal || prefix.length >= RUN_LEDGER_PROJECTION_PREFIX_MAX_FACTS) {
|
|
16465
16473
|
break;
|
|
16466
16474
|
}
|
|
16467
16475
|
}
|
|
@@ -17685,7 +17693,7 @@ export async function dispatchRunLedgerOutboxToLedgerThroughEventWithClientScope
|
|
|
17685
17693
|
input.maxEvents === undefined
|
|
17686
17694
|
? null
|
|
17687
17695
|
: Math.max(1, Math.min(32, input.maxEvents));
|
|
17688
|
-
const batchSize =
|
|
17696
|
+
const batchSize = RUN_LEDGER_PROJECTION_PREFIX_MAX_FACTS;
|
|
17689
17697
|
const eventIds: string[] = [];
|
|
17690
17698
|
const failedEventIds: string[] = [];
|
|
17691
17699
|
const retryingEventIds: string[] = [];
|
package/dist/cli/index.js
CHANGED
|
@@ -3473,7 +3473,7 @@ var SDK_RELEASE = {
|
|
|
3473
3473
|
// getters keep their established compatibility behavior.
|
|
3474
3474
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3475
3475
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3476
|
-
version: "0.3.
|
|
3476
|
+
version: "0.3.243",
|
|
3477
3477
|
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.",
|
|
3478
3478
|
packageCapabilities: {
|
|
3479
3479
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3468,7 +3468,7 @@ var SDK_RELEASE = {
|
|
|
3468
3468
|
// getters keep their established compatibility behavior.
|
|
3469
3469
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3470
3470
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3471
|
-
version: "0.3.
|
|
3471
|
+
version: "0.3.243",
|
|
3472
3472
|
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.",
|
|
3473
3473
|
packageCapabilities: {
|
|
3474
3474
|
updatePreferences: 1
|
package/dist/index.js
CHANGED
|
@@ -1286,7 +1286,7 @@ var SDK_RELEASE = {
|
|
|
1286
1286
|
// getters keep their established compatibility behavior.
|
|
1287
1287
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1288
1288
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1289
|
-
version: "0.3.
|
|
1289
|
+
version: "0.3.243",
|
|
1290
1290
|
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.",
|
|
1291
1291
|
packageCapabilities: {
|
|
1292
1292
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -1190,7 +1190,7 @@ var SDK_RELEASE = {
|
|
|
1190
1190
|
// getters keep their established compatibility behavior.
|
|
1191
1191
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1192
1192
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1193
|
-
version: "0.3.
|
|
1193
|
+
version: "0.3.243",
|
|
1194
1194
|
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.",
|
|
1195
1195
|
packageCapabilities: {
|
|
1196
1196
|
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.243";
|
|
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.243";
|
|
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.243",
|
|
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.243",
|
|
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
|