deepline 0.3.544 → 0.3.545
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/client-core.ts +5 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +5 -1
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +35 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -1
- package/dist/cli/auth-455MB4K6.js +43 -0
- package/dist/cli/{auth-IMWJAHPU.mjs → auth-VZAMAMFW.mjs} +5 -5
- package/dist/cli/{billing-Y55PR2PV.js → billing-ASZJDFH2.js} +92 -92
- package/dist/cli/{billing-YQMW3QJI.mjs → billing-DADQUQEZ.mjs} +8 -8
- package/dist/cli/{chunk-BEQ7RQLT.mjs → chunk-2CBX43LP.mjs} +5 -5
- package/dist/cli/{chunk-22OBDYHP.js → chunk-2FF3O2Y2.js} +12 -12
- package/dist/cli/{chunk-HAQRF6DJ.mjs → chunk-2HFSYH7V.mjs} +2 -2
- package/dist/cli/{chunk-UHIAQPVA.js → chunk-34UKDHRL.js} +26 -26
- package/dist/cli/{chunk-ZHY4T5M6.mjs → chunk-3M2QH3KA.mjs} +1 -1
- package/dist/cli/{chunk-DYDHLBSK.js → chunk-3NG43NXB.js} +53 -53
- package/dist/cli/{chunk-GV45TTI6.mjs → chunk-3TCHX7YK.mjs} +2 -2
- package/dist/cli/{chunk-LW274RO7.mjs → chunk-4NZ3OZNO.mjs} +1 -1
- package/dist/cli/{chunk-PFGOCUH3.mjs → chunk-52C6W7FG.mjs} +1 -1
- package/dist/cli/{chunk-IFIJ4DBJ.js → chunk-5YYWZ43J.js} +2 -2
- package/dist/cli/{chunk-3JDA23NN.mjs → chunk-7JZ27AFH.mjs} +2 -2
- package/dist/cli/{chunk-HXM2JUGD.mjs → chunk-7MFATEUC.mjs} +1 -1
- package/dist/cli/{chunk-COJHT2KF.js → chunk-7MHBJU73.js} +22 -22
- package/dist/cli/{chunk-57G4NYOL.mjs → chunk-7P72EGLK.mjs} +1 -1
- package/dist/cli/{chunk-3KGMM4KS.js → chunk-C6XYSTBW.js} +1 -1
- package/dist/cli/{chunk-ON56ISO6.js → chunk-CJ7DBYEQ.js} +3 -3
- package/dist/cli/{chunk-RUFR4PUO.js → chunk-CXETRZ3G.js} +10 -10
- package/dist/cli/{chunk-C4P2KLWT.js → chunk-D3SXB2NX.js} +41 -41
- package/dist/cli/{chunk-Z44YTSTA.js → chunk-DGKDCZGC.js} +13 -13
- package/dist/cli/{chunk-PDJ4UDCO.js → chunk-DZTVDL2X.js} +8 -8
- package/dist/cli/{chunk-4PKHFW56.js → chunk-EK5C2R7S.js} +15 -15
- package/dist/cli/{chunk-RG34YBDE.js → chunk-ERLW6RPA.js} +2 -2
- package/dist/cli/{chunk-YIRVKMON.mjs → chunk-EWA3M54M.mjs} +1 -1
- package/dist/cli/{chunk-JWVG7ZPX.js → chunk-FB7UPZ6M.js} +3 -3
- package/dist/cli/{chunk-ZY6FL4O4.js → chunk-G5TV6WLV.js} +19 -19
- package/dist/cli/{chunk-PKRW76XG.js → chunk-GFRJU2KB.js} +2 -2
- package/dist/cli/{chunk-Q7ZOWNKR.mjs → chunk-GWDPNOA7.mjs} +1 -1
- package/dist/cli/{chunk-RJPDCSTD.mjs → chunk-HLUNTJBO.mjs} +4 -4
- package/dist/cli/{chunk-LPUBBUKX.mjs → chunk-HPX7LLAM.mjs} +2 -2
- package/dist/cli/{chunk-W7X4KH45.js → chunk-HR5BT42R.js} +99 -99
- package/dist/cli/{chunk-DF2X7GJG.js → chunk-IYJO3RWR.js} +5 -5
- package/dist/cli/{chunk-DVDWAC2M.mjs → chunk-JL5JU3LD.mjs} +2 -2
- package/dist/cli/{chunk-SKS53WM6.mjs → chunk-KRW727W6.mjs} +4 -4
- package/dist/cli/{chunk-HBSWATOU.mjs → chunk-KYO2FICL.mjs} +5 -5
- package/dist/cli/{chunk-HVJQF5BI.mjs → chunk-LTCEZWPZ.mjs} +2 -2
- package/dist/cli/{chunk-5PR4VLLL.mjs → chunk-LWPFMYSO.mjs} +2 -2
- package/dist/cli/{chunk-7GNZEOTH.js → chunk-N4LADLCO.js} +6 -6
- package/dist/cli/{chunk-LQ6RRYXN.mjs → chunk-NAN3A4IF.mjs} +5 -5
- package/dist/cli/{chunk-3I26HMJ7.js → chunk-NCX2JH2F.js} +9 -9
- package/dist/cli/{chunk-UNMNGRPB.js → chunk-NZDZGK35.js} +7 -7
- package/dist/cli/{chunk-7HMMTSDA.js → chunk-OGQYAJSO.js} +5 -5
- package/dist/cli/{chunk-GQHRGBHV.js → chunk-QI57XUGA.js} +5 -5
- package/dist/cli/{chunk-KE6CSCUF.js → chunk-QM7PHHYZ.js} +44 -44
- package/dist/cli/{chunk-JBWOE6AP.js → chunk-TQKHXMV3.js} +16 -16
- package/dist/cli/{chunk-WUEORIOY.mjs → chunk-WP36UBRY.mjs} +1 -1
- package/dist/cli/{chunk-SK3HPU2J.mjs → chunk-XBYQZEUE.mjs} +1 -1
- package/dist/cli/{chunk-WBSGPLH5.mjs → chunk-XGEUPU3L.mjs} +2 -2
- package/dist/cli/{chunk-456RRXAP.mjs → chunk-XMUPZINS.mjs} +5 -5
- package/dist/cli/{chunk-G26VJCNT.js → chunk-YRQKRQDU.js} +4 -4
- package/dist/cli/{chunk-PMW5YP72.mjs → chunk-YWTRCKGD.mjs} +11 -11
- package/dist/cli/{chunk-REEOMNCO.mjs → chunk-Z4Y4BLW7.mjs} +3 -3
- package/dist/cli/{chunk-H4SAHB3Q.mjs → chunk-Z7QM244Q.mjs} +3 -3
- package/dist/cli/concurrent-runs-help-GFWXOKF5.js +21 -0
- package/dist/cli/{concurrent-runs-help-KBWPKSTP.mjs → concurrent-runs-help-YP7ALTDB.mjs} +6 -6
- package/dist/cli/{csv-XGGDZTQI.js → csv-67WT5EGR.js} +13 -13
- package/dist/cli/{csv-M5EBEMZH.mjs → csv-D5ITFSYI.mjs} +4 -4
- package/dist/cli/{db-CVPR54XK.js → db-GZS76X7R.js} +27 -27
- package/dist/cli/{db-M6FJ6J6E.mjs → db-SZYBRFYG.mjs} +6 -6
- package/dist/cli/{describe-X6QA2U3C.mjs → describe-YJ7ZLLLI.mjs} +18 -18
- package/dist/cli/describe-ZRGYAEBT.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-EHTS2XJX.mjs → executions-HMYGR32E.mjs} +6 -6
- package/dist/cli/{executions-VJEEWN22.js → executions-O5USTYGL.js} +8 -8
- package/dist/cli/{feedback-DQPUCUXO.js → feedback-RHLFDCRS.js} +14 -14
- package/dist/cli/{feedback-76VGY4GP.mjs → feedback-Z3NXWYUO.mjs} +6 -6
- package/dist/cli/{git-IY6DKKLR.mjs → git-CLFKXELB.mjs} +5 -5
- package/dist/cli/git-RC4XDATD.js +25 -0
- package/dist/cli/index.js +142 -142
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{integrations-242LE3TQ.mjs → integrations-FOACOBQB.mjs} +7 -7
- package/dist/cli/{integrations-CQSTIKFY.js → integrations-TZ4QEQGV.js} +15 -15
- package/dist/cli/{legacy-noops-SWTSTMRY.mjs → legacy-noops-6F6Y3BV7.mjs} +6 -6
- package/dist/cli/{legacy-noops-U72DO6ZF.js → legacy-noops-QRDOS33V.js} +9 -9
- package/dist/cli/{mcp-L473BKLJ.js → mcp-ETMMDDGB.js} +24 -24
- package/dist/cli/{mcp-JJH6JR52.mjs → mcp-UXRCWOZU.mjs} +4 -4
- package/dist/cli/{monitors-VSYHUBKC.mjs → monitors-6XEWR46R.mjs} +69 -11
- package/dist/cli/{monitors-3TF2DOFD.js → monitors-DITT7QTV.js} +162 -104
- package/dist/cli/{org-YKVI2ZTI.js → org-4DE37X3L.js} +88 -88
- package/dist/cli/{org-S5VIKU2E.mjs → org-CVSSH73G.mjs} +6 -6
- package/dist/cli/{play-DOWEG45Y.js → play-RH6P45CI.js} +317 -317
- package/dist/cli/{play-C7T5A3QM.mjs → play-Y5NCHOKK.mjs} +17 -17
- package/dist/cli/{providers-TAZPPFTB.js → providers-DU42DLOL.js} +9 -9
- package/dist/cli/{providers-BMVVX3VD.mjs → providers-VHUHC4IZ.mjs} +6 -6
- package/dist/cli/{quickstart-A3WKMKTW.mjs → quickstart-HJY5YYE5.mjs} +4 -4
- package/dist/cli/{quickstart-HD6FQXGR.js → quickstart-XJ43JLEC.js} +6 -6
- package/dist/cli/{run-FV7TWNOC.mjs → run-JAIXHVH7.mjs} +23 -23
- package/dist/cli/{run-BVVV2UX7.js → run-JXUS7QFI.js} +43 -43
- package/dist/cli/search-O5VVMXII.js +32 -0
- package/dist/cli/{search-MGK6WIKS.mjs → search-RDMNM2AX.mjs} +7 -7
- package/dist/cli/{search-output-6Y7KEPIE.js → search-output-RKAM2HBH.js} +6 -6
- package/dist/cli/{search-output-GM7LDZKE.mjs → search-output-ZKTR3WTJ.mjs} +4 -4
- package/dist/cli/{secrets-SISXIXSZ.js → secrets-TKFVMAYX.js} +15 -15
- package/dist/cli/{secrets-4RFAR7YI.mjs → secrets-WSW3FTF6.mjs} +6 -6
- package/dist/cli/sessions-3PWFWCHO.js +22 -0
- package/dist/cli/{sessions-CE3OMEG7.mjs → sessions-724BK6VP.mjs} +6 -6
- package/dist/cli/{settings-4HPM3K4A.js → settings-5LJZDAZU.js} +85 -85
- package/dist/cli/{settings-E22IDSX2.mjs → settings-YRC7J75G.mjs} +12 -12
- package/dist/cli/{setup-BDRSNLKX.js → setup-2F3DBSOS.js} +49 -49
- package/dist/cli/{setup-BK65MDZ6.mjs → setup-STNPX5MK.mjs} +9 -9
- package/dist/cli/{skills-FI2GZMR4.mjs → skills-D5PK56FO.mjs} +7 -7
- package/dist/cli/skills-RFOMVXIT.js +36 -0
- package/dist/cli/tools-CAO6EVUW.js +57 -0
- package/dist/cli/{tools-HMMWYUNW.mjs → tools-WOGWMBA3.mjs} +17 -17
- package/dist/cli/update-L4DQZY3G.js +34 -0
- package/dist/cli/{update-WDKBSXV5.mjs → update-PC6XSWMI.mjs} +9 -9
- package/dist/cli/{views-775AUDWQ.js → views-HLCLAPWN.js} +21 -21
- package/dist/cli/{views-JYIJCO23.mjs → views-IIHT4RYQ.mjs} +6 -6
- package/dist/cli/{workflow-4H6KQRFQ.js → workflow-CCZ2A7DI.js} +17 -17
- package/dist/cli/{workflow-FKKHE3IU.mjs → workflow-HK4MZ7LK.mjs} +7 -7
- package/dist/{client-DD_FyJVd.d.ts → client-BQ6yuSjM.d.ts} +1 -1
- package/dist/{client-ANT3pyoa.d.mts → client-DfdUc_MY.d.mts} +1 -1
- package/dist/{client-core-QHmo73k1.d.ts → client-core-3GQ8WMuk.d.ts} +9 -0
- package/dist/{client-core-Dg9tKhdB.d.mts → client-core-ClsNRytk.d.mts} +9 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +114 -114
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-ENBXAKQS.js +0 -43
- package/dist/cli/concurrent-runs-help-TOMLCMV7.js +0 -21
- package/dist/cli/describe-RUODIS6M.js +0 -50
- package/dist/cli/git-RLHTSYRY.js +0 -25
- package/dist/cli/search-VJFCWUZN.js +0 -32
- package/dist/cli/sessions-OWWZJZXH.js +0 -22
- package/dist/cli/skills-ZLBFUAFR.js +0 -36
- package/dist/cli/tools-3K72VE33.js +0 -57
- package/dist/cli/update-QZV6DH5V.js +0 -34
|
@@ -1928,6 +1928,11 @@ export type MonitorsHealth = {
|
|
|
1928
1928
|
next_attempt_at?: number;
|
|
1929
1929
|
summary?: Record<string, unknown>;
|
|
1930
1930
|
}>;
|
|
1931
|
+
/**
|
|
1932
|
+
* With a fleet scope: its failed and blocked members, and the command that
|
|
1933
|
+
* lists each with its reason. Older servers omit this additive field.
|
|
1934
|
+
*/
|
|
1935
|
+
fleet_members?: { failed: number; blocked: number; next: string | null };
|
|
1931
1936
|
/** Bounded sample explaining why normal audit did not settle the row. */
|
|
1932
1937
|
unaudited_monitors: Array<{
|
|
1933
1938
|
monitor_key: string;
|
|
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
|
|
|
205
205
|
// getters keep their established compatibility behavior.
|
|
206
206
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
207
207
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
208
|
-
version: '0.3.
|
|
208
|
+
version: '0.3.545',
|
|
209
209
|
updateSummary: {
|
|
210
210
|
introducedIn: '0.3.90',
|
|
211
211
|
summary:
|
|
@@ -26,6 +26,11 @@ export function fleetDriftCommand(fleetId: string): string {
|
|
|
26
26
|
return `deepline monitors fleets get ${fleetId} --drift`;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/** Problem members by cause, each with its own message, paginated. */
|
|
30
|
+
export function fleetIssuesCommand(fleetId: string): string {
|
|
31
|
+
return `deepline monitors fleets issues ${fleetId}`;
|
|
32
|
+
}
|
|
33
|
+
|
|
29
34
|
/** There is no `fleets list` verb: `get` with no id is the list. */
|
|
30
35
|
export function fleetListCommand(): string {
|
|
31
36
|
return 'deepline monitors fleets get';
|
|
@@ -33,6 +33,7 @@ export const FLEET_BLOCKED_CAUSES = [
|
|
|
33
33
|
'monitors_per_account_limit',
|
|
34
34
|
'rollout_access',
|
|
35
35
|
'identity_occupied',
|
|
36
|
+
'invalid_payload',
|
|
36
37
|
'unsupported_tool',
|
|
37
38
|
'needs_support',
|
|
38
39
|
'unknown_code',
|
|
@@ -86,13 +87,16 @@ export function classifyFleetFailure(error: string | null): FleetFailedCause {
|
|
|
86
87
|
for (const [prefix, cause] of FAILED_PREFIXES) {
|
|
87
88
|
if (message.startsWith(prefix)) return cause;
|
|
88
89
|
}
|
|
89
|
-
return PROVIDER_REJECTION_DETAIL.test(message)
|
|
90
|
+
return PROVIDER_REJECTION_DETAIL.test(message)
|
|
91
|
+
? 'provider_rejected'
|
|
92
|
+
: 'other';
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
const BLOCKED_CAUSES: Readonly<Record<string, FleetBlockedCause>> = {
|
|
93
96
|
[FLEET_BLOCKED_BY.watchedEntities]: 'watched_accounts_limit',
|
|
94
97
|
[FLEET_BLOCKED_BY.monitorsPerEntity]: 'monitors_per_account_limit',
|
|
95
98
|
[FLEET_BLOCKED_BY.rolloutAccess]: 'rollout_access',
|
|
99
|
+
[FLEET_BLOCKED_BY.invalidPayload]: 'invalid_payload',
|
|
96
100
|
[FLEET_REFUSAL.identityOccupied]: 'identity_occupied',
|
|
97
101
|
[FLEET_REFUSAL.batchUnsupported]: 'unsupported_tool',
|
|
98
102
|
[FLEET_REFUSAL.orphanedResource]: 'needs_support',
|
|
@@ -5,6 +5,12 @@ export const FLEET_BLOCKED_BY = {
|
|
|
5
5
|
watchedEntities: OrgLimit.MonitorWatchedEntities,
|
|
6
6
|
monitorsPerEntity: OrgLimit.MonitorsPerEntity,
|
|
7
7
|
rolloutAccess: 'monitor.rollout_access',
|
|
8
|
+
/**
|
|
9
|
+
* The member's rendered payload breaks its monitor tool's payload rules, so
|
|
10
|
+
* the provider would refuse it. Its row carries the field-level reason;
|
|
11
|
+
* fixing the source row or template unblocks it on the next plan.
|
|
12
|
+
*/
|
|
13
|
+
invalidPayload: 'monitor.invalid_payload',
|
|
8
14
|
} as const;
|
|
9
15
|
/** Refusals a fleet's provider work records on a member it could not create. */
|
|
10
16
|
export const FLEET_REFUSAL = {
|
|
@@ -40,6 +40,12 @@ export type DesiredFleetMember = {
|
|
|
40
40
|
/** The rendered monitor definition: `{ key, tool, payload }`. */
|
|
41
41
|
definition: Record<string, unknown>;
|
|
42
42
|
desiredHash: string;
|
|
43
|
+
/**
|
|
44
|
+
* Why this member's payload breaks its monitor tool's payload rules, naming
|
|
45
|
+
* the field. Such a member is planned blocked rather than sent, so one bad
|
|
46
|
+
* source row cannot sink a provider bulk (#10560).
|
|
47
|
+
*/
|
|
48
|
+
payloadRefusal?: string;
|
|
43
49
|
};
|
|
44
50
|
|
|
45
51
|
/** A monitor the fleet already owns, as Convex reports it. */
|
|
@@ -86,6 +92,8 @@ export type PlannedFleetMember = {
|
|
|
86
92
|
desiredHash?: string;
|
|
87
93
|
desiredDefinition?: Record<string, unknown>;
|
|
88
94
|
blockedBy?: string;
|
|
95
|
+
/** The member-specific reason behind `blockedBy`, stored as its error. */
|
|
96
|
+
error?: string;
|
|
89
97
|
/** True when the commit must be given a monitor seed for this key. */
|
|
90
98
|
needsSeed: boolean;
|
|
91
99
|
/** An `adopt` the sync's opt-in authorizes, not a named Batch. */
|
|
@@ -273,9 +281,18 @@ export function planFleetMembers(input: {
|
|
|
273
281
|
let adoptsWithUpdate = 0;
|
|
274
282
|
let adoptsExisting = 0;
|
|
275
283
|
|
|
276
|
-
const refuse = (
|
|
284
|
+
const refuse = (
|
|
285
|
+
member: PlannedFleetMember,
|
|
286
|
+
blockedBy: string,
|
|
287
|
+
error?: string,
|
|
288
|
+
) => {
|
|
277
289
|
blocked[blockedBy] = (blocked[blockedBy] ?? 0) + 1;
|
|
278
|
-
members.push({
|
|
290
|
+
members.push({
|
|
291
|
+
...member,
|
|
292
|
+
action: 'blocked',
|
|
293
|
+
blockedBy,
|
|
294
|
+
...(error === undefined ? {} : { error }),
|
|
295
|
+
});
|
|
279
296
|
};
|
|
280
297
|
|
|
281
298
|
for (const desired of input.desired) {
|
|
@@ -302,6 +319,16 @@ export function planFleetMembers(input: {
|
|
|
302
319
|
owned?.convergence === 'settled' &&
|
|
303
320
|
owned.firstMissingAt === null;
|
|
304
321
|
if (settledOnDesired) continue;
|
|
322
|
+
// The provider keeps running the radar it has; the change that cannot
|
|
323
|
+
// be sent waits, blocked, for a fixed row or template.
|
|
324
|
+
if (desired.payloadRefusal !== undefined) {
|
|
325
|
+
refuse(
|
|
326
|
+
{ ...base, needsSeed: false },
|
|
327
|
+
FLEET_BLOCKED_BY.invalidPayload,
|
|
328
|
+
desired.payloadRefusal,
|
|
329
|
+
);
|
|
330
|
+
continue;
|
|
331
|
+
}
|
|
305
332
|
// A member an older revision marked missing (the removal grace, since
|
|
306
333
|
// removed) is still re-published, which clears that mark through the
|
|
307
334
|
// same guarded transition every other change uses.
|
|
@@ -334,7 +361,12 @@ export function planFleetMembers(input: {
|
|
|
334
361
|
}
|
|
335
362
|
continue;
|
|
336
363
|
}
|
|
337
|
-
|
|
364
|
+
// Before any limit: a member the provider would refuse must not take one
|
|
365
|
+
// of the organization's account slots from a member it would accept.
|
|
366
|
+
if (desired.payloadRefusal !== undefined) {
|
|
367
|
+
refuse(base, FLEET_BLOCKED_BY.invalidPayload, desired.payloadRefusal);
|
|
368
|
+
continue;
|
|
369
|
+
}
|
|
338
370
|
const onEntity = entityCounts.get(entityKey) ?? 0;
|
|
339
371
|
if (onEntity >= input.entitlements.monitorsPerEntity) {
|
|
340
372
|
refuse(base, FLEET_BLOCKED_BY.monitorsPerEntity);
|
|
@@ -1169,8 +1169,17 @@ export function postgresSchedulerNotifyChannel(
|
|
|
1169
1169
|
return `${channel.slice(0, 63 - fingerprint.length - 1)}_${fingerprint}`;
|
|
1170
1170
|
}
|
|
1171
1171
|
const DEFAULT_POLL_INTERVAL_MS = 1_000;
|
|
1172
|
+
/**
|
|
1173
|
+
* An interactive start stream (`observe({ startupPolling: true })`) reads the
|
|
1174
|
+
* run's terminal state every 250 ms for its first 30 s, then every second.
|
|
1175
|
+
* Most attached runs finish inside that window, so a one-second cadence there
|
|
1176
|
+
* added about 0.5 s on average between the runner's terminal commit and the
|
|
1177
|
+
* stream seeing it. Each read is one primary-key lookup of the run row
|
|
1178
|
+
* (`readPostgresSchedulerResult`), not a claim: at most 90 extra reads per
|
|
1179
|
+
* streamed run (3 a second for 30 s), and none for a run that is not streamed.
|
|
1180
|
+
*/
|
|
1172
1181
|
const STARTUP_TERMINAL_POLL_INTERVAL_MS = 250;
|
|
1173
|
-
const STARTUP_TERMINAL_POLL_DURATION_MS =
|
|
1182
|
+
const STARTUP_TERMINAL_POLL_DURATION_MS = 30_000;
|
|
1174
1183
|
const DEFAULT_RESULT_TIMEOUT_MS = 30_000;
|
|
1175
1184
|
|
|
1176
1185
|
const POSTGRES_SCHEDULER_NOT_CONFIGURED_MESSAGE =
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunk3NG43NXBjs = require('./chunk-3NG43NXB.js');
|
|
18
|
+
require('./chunk-G5TV6WLV.js');
|
|
19
|
+
require('./chunk-CJ7DBYEQ.js');
|
|
20
|
+
require('./chunk-YRQKRQDU.js');
|
|
21
|
+
require('./chunk-2GJZLIKW.js');
|
|
22
|
+
require('./chunk-XNYIZMNQ.js');
|
|
23
|
+
require('./chunk-BBTKAASQ.js');
|
|
24
|
+
require('./chunk-C6XYSTBW.js');
|
|
25
|
+
require('./chunk-OG64RBAC.js');
|
|
26
|
+
require('./chunk-COGTRVWW.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunk3NG43NXBjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunk3NG43NXBjs.authStatusLine; exports.clearPendingClaim = _chunk3NG43NXBjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunk3NG43NXBjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunk3NG43NXBjs.handleRegister; exports.handleStatus = _chunk3NG43NXBjs.handleStatus; exports.handleWait = _chunk3NG43NXBjs.handleWait; exports.httpJson = _chunk3NG43NXBjs.httpJson; exports.readPendingAuthClaim = _chunk3NG43NXBjs.readPendingAuthClaim; exports.readStatusBanner = _chunk3NG43NXBjs.readStatusBanner; exports.registerAuthCommands = _chunk3NG43NXBjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunk3NG43NXBjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunk3NG43NXBjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunk3NG43NXBjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunk3NG43NXBjs.statusBannerLine;
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
reportSetupCompleted,
|
|
15
15
|
resolvePendingAuthClaimForResume,
|
|
16
16
|
statusBannerLine
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-Z7QM244Q.mjs";
|
|
18
|
+
import "./chunk-JL5JU3LD.mjs";
|
|
19
|
+
import "./chunk-7MFATEUC.mjs";
|
|
20
|
+
import "./chunk-3M2QH3KA.mjs";
|
|
21
21
|
import "./chunk-CQBIO6HW.mjs";
|
|
22
22
|
import "./chunk-DLIRSHV6.mjs";
|
|
23
23
|
import "./chunk-JL2OTMSG.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-52C6W7FG.mjs";
|
|
25
25
|
import "./chunk-WZYKRD7T.mjs";
|
|
26
26
|
import "./chunk-KRD6H754.mjs";
|
|
27
27
|
export {
|