deepline 0.3.133 → 0.3.134
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 +3 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +21 -7
- 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.134',
|
|
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
|
@@ -5250,8 +5250,9 @@ export async function recoverAbsurdRuntimeOverdueDetachedRunnerCeilings(input: {
|
|
|
5250
5250
|
leaseToken: claim.leaseToken,
|
|
5251
5251
|
error: failedResult.error,
|
|
5252
5252
|
result: failedResult,
|
|
5253
|
-
// The
|
|
5254
|
-
//
|
|
5253
|
+
// The fenced SQL statement preserves an authoritative terminal that
|
|
5254
|
+
// wins after claim, while superseding a resumable `suspended`
|
|
5255
|
+
// checkpoint atomically. There is no read-then-write race here.
|
|
5255
5256
|
preserveRunnerTerminal: true,
|
|
5256
5257
|
},
|
|
5257
5258
|
options,
|
|
@@ -6832,9 +6832,11 @@ export async function claimPostgresSchedulerCompletedDetachedRunnerTerminal(
|
|
|
6832
6832
|
* Claim bounded, overdue detached-runner waits for the fixed recovery
|
|
6833
6833
|
* controller. This is intentionally separate from normal engine claiming:
|
|
6834
6834
|
* an old release lane may have zero workers, but a hard execution ceiling is
|
|
6835
|
-
* still an unconditional terminal obligation.
|
|
6836
|
-
* here so its first-write-wins result remains
|
|
6837
|
-
* recovery path.
|
|
6835
|
+
* still an unconditional terminal obligation. An authoritative pushed
|
|
6836
|
+
* terminal is excluded here so its first-write-wins result remains
|
|
6837
|
+
* authoritative for its dedicated recovery path. A persisted `suspended`
|
|
6838
|
+
* receipt is different: it is a resumable checkpoint, not a terminal
|
|
6839
|
+
* outcome, and must not block the hard ceiling from converging.
|
|
6838
6840
|
*/
|
|
6839
6841
|
export async function claimPostgresSchedulerOverdueDetachedRunnerCeilings(
|
|
6840
6842
|
client: PostgresSchedulerQueryClient,
|
|
@@ -6877,7 +6879,10 @@ export async function claimPostgresSchedulerOverdueDetachedRunnerCeilings(
|
|
|
6877
6879
|
) <= clock_timestamp()
|
|
6878
6880
|
AND attempts.status = 'waiting'
|
|
6879
6881
|
AND attempts.lease_token IS NOT NULL
|
|
6880
|
-
AND
|
|
6882
|
+
AND (
|
|
6883
|
+
attempts.runner_result_json IS NULL
|
|
6884
|
+
OR attempts.runner_result_json ->> 'status' = 'suspended'
|
|
6885
|
+
)
|
|
6881
6886
|
AND (
|
|
6882
6887
|
$1::text IS NULL
|
|
6883
6888
|
OR runs.launch_json ->> 'absurdReleaseId' = $1::text
|
|
@@ -6914,7 +6919,10 @@ export async function claimPostgresSchedulerOverdueDetachedRunnerCeilings(
|
|
|
6914
6919
|
AND target.attempt = candidates.attempt
|
|
6915
6920
|
AND target.status = 'waiting'
|
|
6916
6921
|
AND target.lease_token IS NOT NULL
|
|
6917
|
-
AND
|
|
6922
|
+
AND (
|
|
6923
|
+
target.runner_result_json IS NULL
|
|
6924
|
+
OR target.runner_result_json ->> 'status' = 'suspended'
|
|
6925
|
+
)
|
|
6918
6926
|
RETURNING target.run_id, target.attempt, target.lease_token
|
|
6919
6927
|
),
|
|
6920
6928
|
running_runs AS (
|
|
@@ -7014,7 +7022,10 @@ export async function listPostgresSchedulerOverdueDetachedRunnerCeilings(
|
|
|
7014
7022
|
AND runs.suspension_json ->> 'kind' = 'detached_runner'
|
|
7015
7023
|
AND attempts.status = 'waiting'
|
|
7016
7024
|
AND attempts.lease_token IS NOT NULL
|
|
7017
|
-
AND
|
|
7025
|
+
AND (
|
|
7026
|
+
attempts.runner_result_json IS NULL
|
|
7027
|
+
OR attempts.runner_result_json ->> 'status' = 'suspended'
|
|
7028
|
+
)
|
|
7018
7029
|
AND NOT EXISTS (
|
|
7019
7030
|
SELECT 1
|
|
7020
7031
|
FROM ${tableName('attempts', options)} AS newer
|
|
@@ -11485,7 +11496,9 @@ export async function failPostgresSchedulerAttempt(
|
|
|
11485
11496
|
error: string;
|
|
11486
11497
|
result?: unknown;
|
|
11487
11498
|
terminalLogLines?: readonly string[] | null;
|
|
11488
|
-
/** Refuse to overwrite
|
|
11499
|
+
/** Refuse to overwrite an authoritative detached runner terminal that won
|
|
11500
|
+
* after claim. Resumable `suspended` receipts may be superseded by the
|
|
11501
|
+
* hard ceiling in the same fenced statement. */
|
|
11489
11502
|
preserveRunnerTerminal?: boolean;
|
|
11490
11503
|
sandboxCrashDiagnostic?: PostgresSchedulerSandboxCrashDiagnosticRequest;
|
|
11491
11504
|
},
|
|
@@ -11571,6 +11584,7 @@ export async function failPostgresSchedulerAttempt(
|
|
|
11571
11584
|
AND (
|
|
11572
11585
|
$11::boolean = FALSE
|
|
11573
11586
|
OR runner_result_json IS NULL
|
|
11587
|
+
OR runner_result_json ->> 'status' = 'suspended'
|
|
11574
11588
|
)
|
|
11575
11589
|
RETURNING
|
|
11576
11590
|
run_id,
|
package/dist/cli/index.js
CHANGED
|
@@ -3068,7 +3068,7 @@ var SDK_RELEASE = {
|
|
|
3068
3068
|
// getters keep their established compatibility behavior.
|
|
3069
3069
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3070
3070
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3071
|
-
version: "0.3.
|
|
3071
|
+
version: "0.3.134",
|
|
3072
3072
|
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.",
|
|
3073
3073
|
packageCapabilities: {
|
|
3074
3074
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3063,7 +3063,7 @@ var SDK_RELEASE = {
|
|
|
3063
3063
|
// getters keep their established compatibility behavior.
|
|
3064
3064
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3065
3065
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3066
|
-
version: "0.3.
|
|
3066
|
+
version: "0.3.134",
|
|
3067
3067
|
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.",
|
|
3068
3068
|
packageCapabilities: {
|
|
3069
3069
|
updatePreferences: 1
|
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.134",
|
|
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.134",
|
|
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.134";
|
|
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.134";
|
|
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.134",
|
|
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.134",
|
|
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
|