deepline 0.3.386 → 0.3.388
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/run-event-catalog.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +118 -2
- package/dist/cli/{auth-XS6JCYYQ.mjs → auth-2DIKNI7P.mjs} +4 -4
- package/dist/cli/auth-Z4NL25WP.js +39 -0
- package/dist/cli/{billing-TAOXCQNA.js → billing-LTUXLRQO.js} +73 -73
- package/dist/cli/{billing-UYOGRJN5.mjs → billing-YAFQ5HOL.mjs} +4 -4
- package/dist/cli/{chunk-VTB43QUQ.js → chunk-2N2KHFOU.js} +10 -9
- package/dist/cli/{chunk-IVI3DXXD.js → chunk-2UFLY7CC.js} +48 -48
- package/dist/cli/{chunk-WBFU7FS3.js → chunk-34I3JQML.js} +15 -15
- package/dist/cli/{chunk-EF2LAJ42.js → chunk-4GNF7MCF.js} +61 -61
- package/dist/cli/{chunk-BE7VBBBF.js → chunk-5SCZSNX4.js} +26 -26
- package/dist/cli/{chunk-FDWCSBSN.mjs → chunk-BECUIDJV.mjs} +1 -1
- package/dist/cli/{chunk-VBDOF5PG.mjs → chunk-E5TZ64CK.mjs} +6 -6
- package/dist/cli/{chunk-5ZLJUJ7C.mjs → chunk-FYSQW6H7.mjs} +4 -4
- package/dist/cli/{chunk-2UJG7NKU.js → chunk-G6IRNEMJ.js} +1 -1
- package/dist/cli/{chunk-FYPGW46P.js → chunk-H7P6DX42.js} +6 -6
- package/dist/cli/{chunk-LFCUXN2T.mjs → chunk-HSE4BI6X.mjs} +2 -2
- package/dist/cli/{chunk-JT3HEWM3.js → chunk-JKDY7FUD.js} +8 -8
- package/dist/cli/{chunk-LGRTWHD4.mjs → chunk-MEWZNXLA.mjs} +2 -1
- package/dist/cli/{chunk-H7EGS5CE.mjs → chunk-NRJPUSLB.mjs} +1 -1
- package/dist/cli/{chunk-4PW2BDZK.mjs → chunk-OHJRJM7E.mjs} +2 -2
- package/dist/cli/{chunk-XOQBP42J.mjs → chunk-QPGEZ4PU.mjs} +1 -1
- package/dist/cli/{chunk-E3Q74ALL.js → chunk-RFZP7MP2.js} +8 -8
- package/dist/cli/{chunk-HVIMJZ7I.mjs → chunk-UCORN5KB.mjs} +5 -5
- package/dist/cli/{chunk-FE3DZ5FP.mjs → chunk-VJOZGWNO.mjs} +2 -2
- package/dist/cli/{chunk-CT6WUUH2.js → chunk-WETP5XUS.js} +50 -50
- package/dist/cli/{chunk-BAYH4UQJ.mjs → chunk-XJ2OSKPI.mjs} +2 -2
- package/dist/cli/{chunk-R23CHTTY.mjs → chunk-XUOAS7EU.mjs} +3 -3
- package/dist/cli/{chunk-FF7SDTBY.js → chunk-YKCMTH5P.js} +2 -2
- package/dist/cli/{chunk-2W7LE4FN.mjs → chunk-YOHRMAY4.mjs} +1 -1
- package/dist/cli/{chunk-ACON3GEY.js → chunk-YXUBGP4Y.js} +226 -226
- package/dist/cli/{chunk-WVLDGKFH.js → chunk-ZFDWBWCQ.js} +4 -4
- package/dist/cli/{csv-CCKEW6PV.mjs → csv-SW5B4K6E.mjs} +3 -3
- package/dist/cli/{csv-GXIQHBZR.js → csv-Y3HV4QXT.js} +12 -12
- package/dist/cli/{db-YEUKP4OU.mjs → db-4RFE5IQD.mjs} +4 -4
- package/dist/cli/{db-6737ER3T.js → db-5KDJZJ6C.js} +29 -29
- package/dist/cli/{describe-FMQRWIJY.js → describe-5XNBGYTP.js} +18 -18
- package/dist/cli/{describe-KJ7TM675.mjs → describe-6DPM37PH.mjs} +8 -8
- package/dist/cli/{executions-L2JCAAL2.js → executions-HQQ6HZUQ.js} +6 -6
- package/dist/cli/{executions-SZC45RMD.mjs → executions-W7U4YG4K.mjs} +4 -4
- package/dist/cli/{feedback-CQQZWVIA.mjs → feedback-CBYEXLGT.mjs} +3 -3
- package/dist/cli/{feedback-KPIIF4IK.js → feedback-GTFLUBFS.js} +7 -7
- package/dist/cli/{git-ZLYTQ6FN.mjs → git-3XPDF4K5.mjs} +4 -4
- package/dist/cli/git-F2AUBR6I.js +23 -0
- package/dist/cli/index.js +117 -105
- package/dist/cli/index.mjs +52 -40
- package/dist/cli/{legacy-noops-32JDLZ5S.js → legacy-noops-FRO5YR7L.js} +7 -7
- package/dist/cli/{legacy-noops-DXLMRDXR.mjs → legacy-noops-IUBG6DMZ.mjs} +4 -4
- package/dist/cli/{monitors-HGXCDDWL.mjs → monitors-2L3ZJT62.mjs} +4 -4
- package/dist/cli/{monitors-3ZISM7I5.js → monitors-LW5N2HWG.js} +85 -85
- package/dist/cli/{org-54KOG55Z.mjs → org-5RN6RRNU.mjs} +4 -4
- package/dist/cli/{org-LDZP75DC.js → org-E3ELO53D.js} +64 -64
- package/dist/cli/{play-U2SVKEUM.mjs → play-KCRWX7DC.mjs} +7 -7
- package/dist/cli/play-SUYAMCPX.js +157 -0
- package/dist/cli/{providers-LOTHJLTP.js → providers-IL7DAKQH.js} +7 -7
- package/dist/cli/{providers-6DVAQFZ7.mjs → providers-WTLOWJDB.mjs} +4 -4
- package/dist/cli/{quickstart-ZIHGTMIV.mjs → quickstart-KXOL5CFD.mjs} +3 -3
- package/dist/cli/{quickstart-533WVIOV.js → quickstart-YZJTOKOX.js} +5 -5
- package/dist/cli/{search-O2LB7XR3.mjs → search-TFYOO37D.mjs} +5 -5
- package/dist/cli/search-UFKDJ5TO.js +26 -0
- package/dist/cli/{secrets-52Y4YQUL.mjs → secrets-3Q6MHCB2.mjs} +4 -4
- package/dist/cli/{secrets-JSTVEKNC.js → secrets-IANLD3A7.js} +13 -13
- package/dist/cli/{sessions-CEROXMYJ.mjs → sessions-FVLRLE6E.mjs} +4 -4
- package/dist/cli/{sessions-MHXVR2N3.js → sessions-ZCZ6FWW4.js} +5 -5
- package/dist/cli/{settings-QCF23GFQ.mjs → settings-4MHQZKQD.mjs} +7 -7
- package/dist/cli/{settings-HQDVF6LE.js → settings-VRNHWJLI.js} +74 -74
- package/dist/cli/{setup-P64QUKKL.js → setup-QH6UM6IR.js} +41 -41
- package/dist/cli/{setup-WTU4QOAJ.mjs → setup-R3U6EATD.mjs} +6 -6
- package/dist/cli/skills-I7URUOO7.js +28 -0
- package/dist/cli/{skills-ISY3KCBW.mjs → skills-Q7BJMZTK.mjs} +4 -4
- package/dist/cli/{tools-AVECFIR6.mjs → tools-5YA7M5EA.mjs} +6 -6
- package/dist/cli/tools-MPJGF7F2.js +40 -0
- package/dist/cli/update-EY7PSSDF.js +28 -0
- package/dist/cli/{update-6GORC3SK.mjs → update-M6HYEZ5G.mjs} +6 -6
- package/dist/cli/{workflow-BKENAS32.mjs → workflow-73Q3PWVZ.mjs} +5 -5
- package/dist/cli/{workflow-JZ3KRLIZ.js → workflow-AAIQODIZ.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +72 -72
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-DZPF7OS4.js +0 -39
- package/dist/cli/git-UYX7YGBC.js +0 -23
- package/dist/cli/play-XKRFQMOT.js +0 -157
- package/dist/cli/search-4HYN2DUB.js +0 -26
- package/dist/cli/skills-KCLC6D7V.js +0 -28
- package/dist/cli/tools-MZW3KW6Z.js +0 -40
- package/dist/cli/update-MEBREHBF.js +0 -28
|
@@ -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.388',
|
|
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: {
|
|
@@ -485,6 +485,15 @@ export const RUN_LOG_RETENTION_MAX_LINES = 25_000;
|
|
|
485
485
|
export const RUN_LOG_RETENTION_MAX_BYTES = 5 * 1024 * 1024;
|
|
486
486
|
export const RUN_LOG_PAGE_MAX_LIMIT = 1_000;
|
|
487
487
|
export const RUN_LOG_PAGE_DEFAULT_LIMIT = RUN_LOG_PAGE_MAX_LIMIT;
|
|
488
|
+
/**
|
|
489
|
+
* Per-fact bound for a retained terminal log tail. Deferred projection splits
|
|
490
|
+
* a larger tail into consecutive facts at write time, so one materialization
|
|
491
|
+
* prefix projects at most eight such facts whatever the tail length. The byte
|
|
492
|
+
* bound counts each line with its context, metadata and identity; a single
|
|
493
|
+
* entry larger than it travels alone rather than being truncated.
|
|
494
|
+
*/
|
|
495
|
+
export const RUN_LOG_TERMINAL_FACT_MAX_LINES = RUN_LOG_PAGE_MAX_LIMIT;
|
|
496
|
+
export const RUN_LOG_TERMINAL_FACT_MAX_BYTES = 256 * 1024;
|
|
488
497
|
export const RUN_LOG_TAIL_DEFAULT_LIMIT = 200;
|
|
489
498
|
export const RUN_LOG_FAILED_VIEW_MAX_LINES = 20;
|
|
490
499
|
export const RUN_LOG_RATE_LIMIT_POLICY = {
|
package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts
CHANGED
|
@@ -35,7 +35,12 @@ import {
|
|
|
35
35
|
type RunEventQueryRetention,
|
|
36
36
|
type RunEventSummaryResult,
|
|
37
37
|
} from '../run-event-query';
|
|
38
|
-
import {
|
|
38
|
+
import {
|
|
39
|
+
RUN_LOG_LEVELS,
|
|
40
|
+
RUN_LOG_TERMINAL_FACT_MAX_BYTES,
|
|
41
|
+
RUN_LOG_TERMINAL_FACT_MAX_LINES,
|
|
42
|
+
type RunLogLevel,
|
|
43
|
+
} from '../run-event-catalog';
|
|
39
44
|
import type { PostgresSchedulerQueryClient } from './postgres';
|
|
40
45
|
import {
|
|
41
46
|
RUN_EVENT_CONVEX_INTERNAL_KIND_SQL_LITERAL,
|
|
@@ -86,7 +91,7 @@ const RUNTIME_EVENT_LOG_POSITION_EXPRESSION = `jsonb_set(
|
|
|
86
91
|
// Migration readiness tracks this projection body independently of scheduler
|
|
87
92
|
// wire and schema versions. Bump when a changed trigger must be reinstalled.
|
|
88
93
|
export const RUNTIME_EVENT_SEARCH_OUTBOX_PROJECTION_MARKER =
|
|
89
|
-
'runtime-event-search-
|
|
94
|
+
'runtime-event-search-direct-receipts-bounded-terminal-log-facts';
|
|
90
95
|
/** Trusted trigger-authored state; absent on already-projected legacy rows. */
|
|
91
96
|
export const RUNTIME_EVENT_DEFERRED_PROJECTION_FIELD =
|
|
92
97
|
'_runtimeSearchProjectionPending';
|
|
@@ -2965,6 +2970,112 @@ export async function attachRuntimeEventSearchTriggers(
|
|
|
2965
2970
|
END
|
|
2966
2971
|
$function$
|
|
2967
2972
|
`);
|
|
2973
|
+
// A retained terminal tail can hold the whole runner log. Split it here, at
|
|
2974
|
+
// the write every producer build shares, so no deferred fact grows with it.
|
|
2975
|
+
// Each chunk is the log.appended item the projector already builds from
|
|
2976
|
+
// terminalLogLines, with its own channelOffset: positions, origin IDs,
|
|
2977
|
+
// contexts and metadata are unchanged, and older projectors read it as is.
|
|
2978
|
+
// Earlier chunks become preceding runner.logs facts; the carrier keeps the
|
|
2979
|
+
// last chunk after its own progress events, so lines stay in causal order.
|
|
2980
|
+
await client.query(`
|
|
2981
|
+
CREATE OR REPLACE FUNCTION ${schema}.split_terminal_log_envelope(observation ${schema}.outbox)
|
|
2982
|
+
RETURNS ${schema}.outbox
|
|
2983
|
+
LANGUAGE plpgsql SECURITY DEFINER SET search_path = pg_catalog AS $function$
|
|
2984
|
+
DECLARE payload jsonb := observation.payload_json; attempt jsonb; line_count integer;
|
|
2985
|
+
has_contexts boolean; has_metadata boolean; has_ids boolean;
|
|
2986
|
+
sizes integer[]; starts integer[] := ARRAY[0]; items jsonb[];
|
|
2987
|
+
chunk_lines integer := 0; chunk_bytes bigint := 0; line_position integer; chunk_number integer;
|
|
2988
|
+
BEGIN
|
|
2989
|
+
attempt := coalesce(NULLIF(payload->'producerAttempt', 'null'::jsonb),
|
|
2990
|
+
payload->'terminalWorkCounterSegment'->'attempt');
|
|
2991
|
+
has_contexts := jsonb_typeof(payload->'terminalLogContexts') = 'array';
|
|
2992
|
+
has_metadata := payload ? 'terminalLogMetadata';
|
|
2993
|
+
has_ids := jsonb_typeof(payload->'terminalLogIds') = 'array';
|
|
2994
|
+
line_count := jsonb_array_length(payload->'terminalLogLines');
|
|
2995
|
+
-- Malformed or unpositioned envelopes stay whole so the projector
|
|
2996
|
+
-- reports them exactly as before. Legacy runs deliver these lines to
|
|
2997
|
+
-- the Convex ledger and keep their single carrier.
|
|
2998
|
+
IF line_count = 0
|
|
2999
|
+
OR NOT coalesce((attempt #>> '{}') ~ '^[1-9][0-9]{0,5}$', false)
|
|
3000
|
+
OR (payload ? 'terminalLogContexts' AND jsonb_typeof(payload->'terminalLogContexts') <> 'null'
|
|
3001
|
+
AND NOT (has_contexts AND jsonb_array_length(payload->'terminalLogContexts') = line_count))
|
|
3002
|
+
OR (has_metadata AND NOT (jsonb_typeof(payload->'terminalLogMetadata') = 'array'
|
|
3003
|
+
AND jsonb_array_length(payload->'terminalLogMetadata') = line_count))
|
|
3004
|
+
OR (payload ? 'terminalLogIds' AND jsonb_typeof(payload->'terminalLogIds') <> 'null'
|
|
3005
|
+
AND NOT (has_ids AND jsonb_array_length(payload->'terminalLogIds') = line_count))
|
|
3006
|
+
OR (payload ? 'terminalProgressEvents'
|
|
3007
|
+
AND jsonb_typeof(payload->'terminalProgressEvents') IS DISTINCT FROM 'array')
|
|
3008
|
+
OR NOT EXISTS (SELECT 1 FROM ${schema}.runs WHERE run_id = observation.run_id
|
|
3009
|
+
AND (run_log_store = 'planet_scale' OR run_event_store = 'planet_scale'))
|
|
3010
|
+
-- A retried producer write conflicts and inserts nothing.
|
|
3011
|
+
OR EXISTS (SELECT 1 FROM ${schema}.outbox WHERE event_id = observation.event_id) THEN
|
|
3012
|
+
RETURN observation;
|
|
3013
|
+
END IF;
|
|
3014
|
+
SELECT array_agg(octet_length(entry.line::text)
|
|
3015
|
+
+ coalesce(octet_length(entry.context::text), 0)
|
|
3016
|
+
+ coalesce(octet_length(entry.metadata::text), 0)
|
|
3017
|
+
+ coalesce(octet_length(entry.id::text), 0) + 8 ORDER BY entry.position)
|
|
3018
|
+
INTO sizes
|
|
3019
|
+
FROM ROWS FROM (
|
|
3020
|
+
jsonb_array_elements(payload->'terminalLogLines'),
|
|
3021
|
+
jsonb_array_elements(CASE WHEN has_contexts THEN payload->'terminalLogContexts' ELSE '[]'::jsonb END),
|
|
3022
|
+
jsonb_array_elements(CASE WHEN has_metadata THEN payload->'terminalLogMetadata' ELSE '[]'::jsonb END),
|
|
3023
|
+
jsonb_array_elements(CASE WHEN has_ids THEN payload->'terminalLogIds' ELSE '[]'::jsonb END)
|
|
3024
|
+
) WITH ORDINALITY AS entry(line, context, metadata, id, position);
|
|
3025
|
+
FOR line_position IN 1..line_count LOOP
|
|
3026
|
+
IF chunk_lines > 0 AND (chunk_lines >= ${RUN_LOG_TERMINAL_FACT_MAX_LINES}
|
|
3027
|
+
OR chunk_bytes + sizes[line_position] > ${RUN_LOG_TERMINAL_FACT_MAX_BYTES}) THEN
|
|
3028
|
+
starts := starts || (line_position - 1);
|
|
3029
|
+
chunk_lines := 0;
|
|
3030
|
+
chunk_bytes := 0;
|
|
3031
|
+
END IF;
|
|
3032
|
+
chunk_lines := chunk_lines + 1;
|
|
3033
|
+
chunk_bytes := chunk_bytes + sizes[line_position];
|
|
3034
|
+
END LOOP;
|
|
3035
|
+
IF cardinality(starts) = 1 THEN
|
|
3036
|
+
RETURN observation;
|
|
3037
|
+
END IF;
|
|
3038
|
+
-- Same item, with the same null stripping, as the projector's envelope.
|
|
3039
|
+
SELECT array_agg(chunked.item ORDER BY chunked.number) INTO items
|
|
3040
|
+
FROM (
|
|
3041
|
+
SELECT width_bucket((entry.position - 1)::integer, starts) AS number,
|
|
3042
|
+
jsonb_strip_nulls(jsonb_build_object(
|
|
3043
|
+
'type', ${RUN_EVENT_KIND_SQL_LITERAL.logAppended}, 'runId', observation.run_id,
|
|
3044
|
+
'source', 'terminal', 'producerAttempt', attempt,
|
|
3045
|
+
'channelOffset', min(entry.position) - 1,
|
|
3046
|
+
'lines', jsonb_agg(entry.line ORDER BY entry.position),
|
|
3047
|
+
'lineContexts', CASE WHEN has_contexts THEN jsonb_agg(entry.context ORDER BY entry.position) END,
|
|
3048
|
+
'lineMetadata', CASE WHEN has_metadata THEN jsonb_agg(entry.metadata ORDER BY entry.position) END,
|
|
3049
|
+
'lineIds', CASE WHEN has_ids THEN jsonb_agg(entry.id ORDER BY entry.position) END
|
|
3050
|
+
)) AS item
|
|
3051
|
+
FROM ROWS FROM (
|
|
3052
|
+
jsonb_array_elements(payload->'terminalLogLines'),
|
|
3053
|
+
jsonb_array_elements(CASE WHEN has_contexts THEN payload->'terminalLogContexts' ELSE '[]'::jsonb END),
|
|
3054
|
+
jsonb_array_elements(CASE WHEN has_metadata THEN payload->'terminalLogMetadata' ELSE '[]'::jsonb END),
|
|
3055
|
+
jsonb_array_elements(CASE WHEN has_ids THEN payload->'terminalLogIds' ELSE '[]'::jsonb END)
|
|
3056
|
+
) WITH ORDINALITY AS entry(line, context, metadata, id, position)
|
|
3057
|
+
GROUP BY 1
|
|
3058
|
+
) AS chunked;
|
|
3059
|
+
FOR chunk_number IN 1..cardinality(items) - 1 LOOP
|
|
3060
|
+
INSERT INTO ${schema}.outbox (event_id, run_id, event_type, payload_json, created_at)
|
|
3061
|
+
VALUES ('terminal-log-chunk:' || observation.event_id || ':' || chunk_number, observation.run_id,
|
|
3062
|
+
${RUN_SCHEDULER_OUTBOX_EVENT_TYPE_SQL_LITERAL.runnerLogs},
|
|
3063
|
+
jsonb_build_object('producerAttempt', attempt,
|
|
3064
|
+
'terminalProgressEvents', jsonb_build_array(items[chunk_number])),
|
|
3065
|
+
observation.created_at + (chunk_number - 1) * interval '1 microsecond')
|
|
3066
|
+
ON CONFLICT (event_id) DO NOTHING;
|
|
3067
|
+
END LOOP;
|
|
3068
|
+
observation.created_at := observation.created_at
|
|
3069
|
+
+ (cardinality(items) - 1) * interval '1 microsecond';
|
|
3070
|
+
observation.payload_json := (payload - 'terminalLogLines' - 'terminalLogContexts'
|
|
3071
|
+
- 'terminalLogMetadata' - 'terminalLogIds')
|
|
3072
|
+
|| jsonb_build_object('terminalProgressEvents',
|
|
3073
|
+
coalesce(payload->'terminalProgressEvents', '[]'::jsonb)
|
|
3074
|
+
|| jsonb_build_array(items[cardinality(items)]));
|
|
3075
|
+
RETURN observation;
|
|
3076
|
+
END
|
|
3077
|
+
$function$
|
|
3078
|
+
`);
|
|
2968
3079
|
await client.query(`
|
|
2969
3080
|
CREATE OR REPLACE FUNCTION ${schema}.search_outbox_event() RETURNS trigger
|
|
2970
3081
|
LANGUAGE plpgsql SECURITY DEFINER SET search_path = pg_catalog AS $function$
|
|
@@ -2973,6 +3084,10 @@ export async function attachRuntimeEventSearchTriggers(
|
|
|
2973
3084
|
IF NEW.payload_json->'${RUNTIME_EVENT_SEARCH_ONLY_FIELD}' = 'true'::jsonb THEN RETURN NEW; END IF;
|
|
2974
3085
|
IF ${schema}.defer_runtime_event_projection_for_run(NEW.run_id)
|
|
2975
3086
|
AND NEW.event_type <> ${RUN_SCHEDULER_OUTBOX_EVENT_TYPE_SQL_LITERAL.runCreated} THEN
|
|
3087
|
+
IF NEW.event_type IN (${RUN_EVENT_TERMINAL_LOG_CARRIER_SQL_LIST})
|
|
3088
|
+
AND jsonb_typeof(NEW.payload_json->'terminalLogLines') = 'array' THEN
|
|
3089
|
+
NEW := ${schema}.split_terminal_log_envelope(NEW);
|
|
3090
|
+
END IF;
|
|
2976
3091
|
IF NEW.event_type = ${RUN_SCHEDULER_OUTBOX_EVENT_TYPE_SQL_LITERAL.runEvents} THEN
|
|
2977
3092
|
-- One cheap Run fence captures whether ingress preceded terminal
|
|
2978
3093
|
-- closure. No indexed log lookup or search mutex runs under it.
|
|
@@ -3204,6 +3319,7 @@ export async function attachRuntimeEventSearchTriggers(
|
|
|
3204
3319
|
${schema}.guard_runtime_outbox_ack(),
|
|
3205
3320
|
${schema}.compact_runtime_outbox_payload(${schema}.outbox),
|
|
3206
3321
|
${schema}.accept_runner_log_payload(), ${schema}.search_outbox_event(),
|
|
3322
|
+
${schema}.split_terminal_log_envelope(${schema}.outbox),
|
|
3207
3323
|
${schema}.compact_run_log_result(), ${schema}.without_log_events(jsonb),
|
|
3208
3324
|
${schema}.convex_projection_event(jsonb), ${schema}.convex_projection_events(jsonb),
|
|
3209
3325
|
${schema}.run_log_metadata(text, jsonb, timestamptz), ${schema}.compact_runner_log_envelope(jsonb), ${schema}.without_runtime_log_tail(jsonb)
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
reportSetupCompleted,
|
|
14
14
|
resolvePendingAuthClaimForResume,
|
|
15
15
|
statusBannerLine
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-OHJRJM7E.mjs";
|
|
17
|
+
import "./chunk-BECUIDJV.mjs";
|
|
18
|
+
import "./chunk-QPGEZ4PU.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-NXGCO4JB.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NRJPUSLB.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
export {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkWETP5XUSjs = require('./chunk-WETP5XUS.js');
|
|
17
|
+
require('./chunk-H7P6DX42.js');
|
|
18
|
+
require('./chunk-ZFDWBWCQ.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-7P5AA3SN.js');
|
|
21
|
+
require('./chunk-G6IRNEMJ.js');
|
|
22
|
+
require('./chunk-OG64RBAC.js');
|
|
23
|
+
require('./chunk-COGTRVWW.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkWETP5XUSjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkWETP5XUSjs.authStatusLine; exports.clearPendingClaim = _chunkWETP5XUSjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkWETP5XUSjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkWETP5XUSjs.handleRegister; exports.handleStatus = _chunkWETP5XUSjs.handleStatus; exports.handleWait = _chunkWETP5XUSjs.handleWait; exports.httpJson = _chunkWETP5XUSjs.httpJson; exports.readPendingAuthClaim = _chunkWETP5XUSjs.readPendingAuthClaim; exports.readStatusBanner = _chunkWETP5XUSjs.readStatusBanner; exports.registerAuthCommands = _chunkWETP5XUSjs.registerAuthCommands; exports.reportSetupCompleted = _chunkWETP5XUSjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkWETP5XUSjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkWETP5XUSjs.statusBannerLine;
|