deepline 0.3.255 → 0.3.257
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/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +22 -1
- 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.257',
|
|
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: {
|
|
@@ -957,6 +957,24 @@
|
|
|
957
957
|
"failureAlert": "convex_action_wrapper",
|
|
958
958
|
"domainReportRequired": true
|
|
959
959
|
},
|
|
960
|
+
{
|
|
961
|
+
"id": "convex.cleanup-expired-legacy-run-logs",
|
|
962
|
+
"name": "Cleanup expired legacy run logs",
|
|
963
|
+
"scheduler": "convex_cron",
|
|
964
|
+
"cadence": "27 4 * * *",
|
|
965
|
+
"timezone": "UTC",
|
|
966
|
+
"source": "packages/convex/crons.ts",
|
|
967
|
+
"locator": "cleanup expired legacy run logs",
|
|
968
|
+
"owner": "runtime",
|
|
969
|
+
"criticality": "maintenance",
|
|
970
|
+
"purpose": "Expire enrolled terminal legacy log bodies after seven days, using a parent replay fence and indexed pending work. Disabled by default.",
|
|
971
|
+
"successDefinition": "Each page deletes chunks or removes a due key; preserved lifecycle, output, checkpoints and replay metadata remain intact.",
|
|
972
|
+
"failureDefinition": "An eligible body remains indefinitely or a late replay recreates an expired body.",
|
|
973
|
+
"startGraceMs": 120000,
|
|
974
|
+
"runTimeoutMs": 1800000,
|
|
975
|
+
"failureAlert": "convex_action_wrapper",
|
|
976
|
+
"domainReportRequired": true
|
|
977
|
+
},
|
|
960
978
|
{
|
|
961
979
|
"id": "convex.cleanup-expired-analytics-ip2company-cache",
|
|
962
980
|
"name": "Cleanup expired Analytics IP2Company cache entries",
|
|
@@ -13,6 +13,7 @@ export const MANUALLY_RUNNABLE_CONVEX_CRON_JOB_IDS = [
|
|
|
13
13
|
'convex.record-neon-managed-project-usage',
|
|
14
14
|
'convex.cleanup-expired-mcp-oauth-codes',
|
|
15
15
|
'convex.cleanup-expired-api-key-claims',
|
|
16
|
+
'convex.cleanup-expired-legacy-run-logs',
|
|
16
17
|
'convex.cleanup-expired-analytics-ip2company-cache',
|
|
17
18
|
'convex.cleanup-expired-domain-health-cache',
|
|
18
19
|
'convex.refresh-tool-usage-popularity',
|
|
@@ -309,7 +309,9 @@ const POSTGRES_SCHEDULER_SCHEMA_INIT_STATEMENT_TIMEOUT_MS = 60_000;
|
|
|
309
309
|
// v48 expands optional compact-log columns and readers before writer enablement.
|
|
310
310
|
// v49 installs transactional compact-log writers; only new admissions opt in.
|
|
311
311
|
// v50 adds a partial run-scoped outbox index for projection lease verification.
|
|
312
|
-
|
|
312
|
+
// v51 also creates that index in isolated (transactional) bootstraps and makes
|
|
313
|
+
// deploy readiness require it; v50 only built it on the concurrent path.
|
|
314
|
+
export const POSTGRES_SCHEDULER_SCHEMA_VERSION = 51;
|
|
313
315
|
const POSTGRES_SCHEDULER_SCHEMA_MIGRATIONS_TABLE =
|
|
314
316
|
'scheduler_schema_migrations';
|
|
315
317
|
export const POSTGRES_SCHEDULER_OPEN_RECOVERY_INDEX =
|
|
@@ -1829,6 +1831,15 @@ export async function hasCurrentPostgresSchedulerSchemaShape(
|
|
|
1829
1831
|
AND index_row.indrelid = to_regclass($3)
|
|
1830
1832
|
AND index_row.indisready AND index_row.indisvalid
|
|
1831
1833
|
)
|
|
1834
|
+
AND EXISTS (
|
|
1835
|
+
SELECT 1 FROM pg_index AS index_row
|
|
1836
|
+
JOIN pg_class AS index_class ON index_class.oid = index_row.indexrelid
|
|
1837
|
+
JOIN pg_namespace AS index_namespace ON index_namespace.oid = index_class.relnamespace
|
|
1838
|
+
WHERE index_namespace.nspname = $1
|
|
1839
|
+
AND index_class.relname = 'runtime_scheduler_outbox_run_pending_order_idx'
|
|
1840
|
+
AND index_row.indrelid = to_regclass($3)
|
|
1841
|
+
AND index_row.indisready AND index_row.indisvalid
|
|
1842
|
+
)
|
|
1832
1843
|
AND EXISTS (
|
|
1833
1844
|
SELECT 1 FROM pg_index AS index_row
|
|
1834
1845
|
JOIN pg_class AS index_class ON index_class.oid = index_row.indexrelid
|
|
@@ -3805,6 +3816,16 @@ export async function ensurePostgresSchedulerSchema(
|
|
|
3805
3816
|
ON ${tableName('outbox', options)} (created_at, event_id)
|
|
3806
3817
|
WHERE delivered_at IS NULL AND failed_at IS NULL
|
|
3807
3818
|
`);
|
|
3819
|
+
await client.query(`
|
|
3820
|
+
CREATE INDEX IF NOT EXISTS runtime_scheduler_outbox_run_pending_order_idx
|
|
3821
|
+
ON ${tableName('outbox', options)} (
|
|
3822
|
+
run_id,
|
|
3823
|
+
(CASE event_type WHEN 'run.created' THEN 0 WHEN 'run.started' THEN 1 ELSE 2 END),
|
|
3824
|
+
created_at,
|
|
3825
|
+
event_id
|
|
3826
|
+
)
|
|
3827
|
+
WHERE delivered_at IS NULL
|
|
3828
|
+
`);
|
|
3808
3829
|
await client.query(`
|
|
3809
3830
|
CREATE INDEX IF NOT EXISTS runtime_scheduler_outbox_lease_health_idx
|
|
3810
3831
|
ON ${tableName('outbox', options)}
|
package/dist/cli/index.js
CHANGED
|
@@ -3507,7 +3507,7 @@ var SDK_RELEASE = {
|
|
|
3507
3507
|
// getters keep their established compatibility behavior.
|
|
3508
3508
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3509
3509
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3510
|
-
version: "0.3.
|
|
3510
|
+
version: "0.3.257",
|
|
3511
3511
|
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.",
|
|
3512
3512
|
packageCapabilities: {
|
|
3513
3513
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3502,7 +3502,7 @@ var SDK_RELEASE = {
|
|
|
3502
3502
|
// getters keep their established compatibility behavior.
|
|
3503
3503
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3504
3504
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3505
|
-
version: "0.3.
|
|
3505
|
+
version: "0.3.257",
|
|
3506
3506
|
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.",
|
|
3507
3507
|
packageCapabilities: {
|
|
3508
3508
|
updatePreferences: 1
|
package/dist/index.js
CHANGED
|
@@ -1320,7 +1320,7 @@ var SDK_RELEASE = {
|
|
|
1320
1320
|
// getters keep their established compatibility behavior.
|
|
1321
1321
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1322
1322
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1323
|
-
version: "0.3.
|
|
1323
|
+
version: "0.3.257",
|
|
1324
1324
|
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.",
|
|
1325
1325
|
packageCapabilities: {
|
|
1326
1326
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -1224,7 +1224,7 @@ var SDK_RELEASE = {
|
|
|
1224
1224
|
// getters keep their established compatibility behavior.
|
|
1225
1225
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1226
1226
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1227
|
-
version: "0.3.
|
|
1227
|
+
version: "0.3.257",
|
|
1228
1228
|
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.",
|
|
1229
1229
|
packageCapabilities: {
|
|
1230
1230
|
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.257";
|
|
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.257";
|
|
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.257",
|
|
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.257",
|
|
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
|