vercel 50.42.0 → 50.43.0
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/chunks/{chunk-WHT2OU3Y.js → chunk-4YCYEG2P.js} +1 -1
- package/dist/chunks/{chunk-WDMC6E6B.js → chunk-6LZPRERB.js} +1 -1
- package/dist/chunks/{chunk-DWS7HHYM.js → chunk-6N76O7HL.js} +1 -1
- package/dist/chunks/{chunk-WTAJBCJ3.js → chunk-IS2HEMF4.js} +20 -28
- package/dist/chunks/{chunk-YJBNM26E.js → chunk-JJXA2DQW.js} +1 -1
- package/dist/chunks/{chunk-YWKF5RLK.js → chunk-LPOJODAE.js} +1 -1
- package/dist/chunks/{chunk-2DSA4PXQ.js → chunk-LRL5LVRW.js} +2 -2
- package/dist/chunks/{chunk-LFD4G5TR.js → chunk-MRMGEHWD.js} +1 -1
- package/dist/chunks/{chunk-GPDLM3LO.js → chunk-N3CPHW7G.js} +1 -1
- package/dist/chunks/chunk-NELCIT4M.js +178 -0
- package/dist/chunks/{chunk-VXEPP3Q2.js → chunk-NWDCZ56X.js} +1 -1
- package/dist/chunks/{chunk-GZWSWIV2.js → chunk-PGAXAJ3S.js} +17 -7
- package/dist/chunks/{chunk-FZTLIQNB.js → chunk-POULUT5C.js} +1 -1
- package/dist/chunks/{chunk-JAXJRRCF.js → chunk-QGF2WOTI.js} +1 -1
- package/dist/chunks/{chunk-K4DMJBS6.js → chunk-RLQ4HYV2.js} +63 -820
- package/dist/chunks/{chunk-BUPLDSPZ.js → chunk-S4YIOKSN.js} +2 -2
- package/dist/chunks/{chunk-WFPWPAOL.js → chunk-T6NT6N57.js} +5 -5
- package/dist/chunks/{chunk-U6QYLIN2.js → chunk-TWZWQGBN.js} +4 -0
- package/dist/chunks/chunk-U3WLEFHU.js +2886 -0
- package/dist/chunks/{chunk-7N2Y2JC6.js → chunk-UJ4HWFC7.js} +2 -2
- package/dist/chunks/{chunk-HODUFQIC.js → chunk-XDEOTUO6.js} +8 -1533
- package/dist/chunks/{chunk-EXYNQSR4.js → chunk-XRINPEC5.js} +2 -2
- package/dist/chunks/{chunk-JBWWOPE2.js → chunk-XVL4TIJL.js} +6 -6
- package/dist/chunks/{chunk-5Y7GSP7F.js → chunk-Y5YCSB6X.js} +1 -1
- package/dist/chunks/{chunk-6Z4VWCUS.js → chunk-Z6BYDVNY.js} +785 -4
- package/dist/chunks/{compile-vercel-config-Z4KZLLGU.js → compile-vercel-config-EIX3WUIU.js} +2 -2
- package/dist/chunks/{delete-4KBIAO4H.js → delete-IVGKISJP.js} +4 -4
- package/dist/chunks/{disable-YZIHOK45.js → disable-W4IDVFE2.js} +4 -4
- package/dist/chunks/{discard-YEZIKRW3.js → discard-O3Z5KEKS.js} +4 -4
- package/dist/chunks/{edit-XN7K2LGT.js → edit-VCKXJ5PI.js} +6 -6
- package/dist/chunks/{enable-7RMOQCA7.js → enable-W6LITRKZ.js} +4 -4
- package/dist/chunks/{export-STD26SRF.js → export-6NAP7EMV.js} +4 -4
- package/dist/chunks/{list-POMF3RFM.js → list-7HDEUZMZ.js} +3 -3
- package/dist/chunks/{list-7FLSUFTH.js → list-W33KGD4I.js} +3 -3
- package/dist/chunks/{publish-ACW7QRZO.js → publish-RI3FRWUA.js} +4 -4
- package/dist/chunks/{query-S3HEFFKI.js → query-5YQQ62WD.js} +53 -107
- package/dist/chunks/{reorder-OYSUU3C5.js → reorder-7GWG5VLG.js} +4 -4
- package/dist/chunks/{restore-HB2NM3FG.js → restore-AOSI5KWX.js} +4 -4
- package/dist/chunks/{routes-HQB42MQG.js → routes-OFD6HJOW.js} +2 -2
- package/dist/chunks/schema-QL4EUCYG.js +153 -0
- package/dist/commands/build/index.js +12 -12
- package/dist/commands/deploy/index.js +83 -15
- package/dist/commands/dev/index.js +182 -54
- package/dist/commands/env/index.js +8 -8
- package/dist/commands/link/index.js +10 -10
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +6070 -2581
- package/dist/index.js +173 -74
- package/dist/version.mjs +1 -1
- package/package.json +20 -20
- package/dist/chunks/chunk-5C5NREZ5.js +0 -252
- package/dist/chunks/chunk-TUP5ROJJ.js +0 -358
- package/dist/chunks/schema-THMAHKGA.js +0 -192
|
@@ -13,31 +13,31 @@ import {
|
|
|
13
13
|
var schemaSubcommand = {
|
|
14
14
|
name: "schema",
|
|
15
15
|
aliases: [],
|
|
16
|
-
description: "List available
|
|
16
|
+
description: "List available metrics or inspect a specific metric.",
|
|
17
17
|
arguments: [],
|
|
18
18
|
options: [
|
|
19
19
|
{
|
|
20
|
-
name: "
|
|
21
|
-
shorthand: "
|
|
20
|
+
name: "metric",
|
|
21
|
+
shorthand: "m",
|
|
22
22
|
type: String,
|
|
23
23
|
deprecated: false,
|
|
24
|
-
description: "Show details for a specific
|
|
24
|
+
description: "Show details for a specific metric",
|
|
25
25
|
argument: "NAME"
|
|
26
26
|
},
|
|
27
27
|
formatOption
|
|
28
28
|
],
|
|
29
29
|
examples: [
|
|
30
30
|
{
|
|
31
|
-
name: "List all
|
|
31
|
+
name: "List all metrics",
|
|
32
32
|
value: `${packageName} metrics schema`
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
name: "Show
|
|
36
|
-
value: `${packageName} metrics schema
|
|
35
|
+
name: "Show metric details",
|
|
36
|
+
value: `${packageName} metrics schema --metric vercel.function_execution`
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
name: "Schema as JSON for agents",
|
|
40
|
-
value: `${packageName} metrics schema
|
|
40
|
+
value: `${packageName} metrics schema --metric vercel.edge_requests.count --format=json`
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
};
|
|
@@ -63,19 +63,11 @@ var metricsCommand = {
|
|
|
63
63
|
],
|
|
64
64
|
options: [
|
|
65
65
|
{
|
|
66
|
-
name: "
|
|
67
|
-
shorthand: "e",
|
|
68
|
-
type: String,
|
|
69
|
-
deprecated: false,
|
|
70
|
-
description: "Event type to query (e.g., edgeRequest, functionExecution)",
|
|
71
|
-
argument: "NAME"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: "measure",
|
|
66
|
+
name: "metric",
|
|
75
67
|
shorthand: "m",
|
|
76
68
|
type: String,
|
|
77
69
|
deprecated: false,
|
|
78
|
-
description: "
|
|
70
|
+
description: "Metric id to query (e.g., vercel.edge_requests.count)",
|
|
79
71
|
argument: "NAME"
|
|
80
72
|
},
|
|
81
73
|
{
|
|
@@ -154,39 +146,39 @@ var metricsCommand = {
|
|
|
154
146
|
examples: [
|
|
155
147
|
{
|
|
156
148
|
name: "5xx errors by error code in the last hour",
|
|
157
|
-
value: `${packageName} metrics
|
|
149
|
+
value: `${packageName} metrics --metric vercel.function_execution.count -f "http_status ge 500" --group-by error_code --since 1h`
|
|
158
150
|
},
|
|
159
151
|
{
|
|
160
152
|
name: "Function invocations by HTTP status code",
|
|
161
|
-
value: `${packageName} metrics
|
|
153
|
+
value: `${packageName} metrics --metric vercel.function_execution.count --group-by http_status --since 6h`
|
|
162
154
|
},
|
|
163
155
|
{
|
|
164
156
|
name: "Function duration by route",
|
|
165
|
-
value: `${packageName} metrics
|
|
157
|
+
value: `${packageName} metrics --metric vercel.function_execution.request_duration_ms -a avg --group-by route --since 1h`
|
|
166
158
|
},
|
|
167
159
|
{
|
|
168
160
|
name: "AI Gateway costs by provider",
|
|
169
|
-
value: `${packageName} metrics
|
|
161
|
+
value: `${packageName} metrics --metric vercel.ai_gateway_request.cost -a sum --group-by ai_provider --since 7d`
|
|
170
162
|
},
|
|
171
163
|
{
|
|
172
164
|
name: "Core Web Vitals (LCP) by route",
|
|
173
|
-
value: `${packageName} metrics
|
|
165
|
+
value: `${packageName} metrics --metric vercel.speed_insights_metric.lcp -a p75 --group-by route --since 7d`
|
|
174
166
|
},
|
|
175
167
|
{
|
|
176
|
-
name: "List available
|
|
168
|
+
name: "List available metrics",
|
|
177
169
|
value: `${packageName} metrics schema`
|
|
178
170
|
},
|
|
179
171
|
{
|
|
180
172
|
name: "Function executions matching a path pattern",
|
|
181
|
-
value: `${packageName} metrics
|
|
173
|
+
value: `${packageName} metrics --metric vercel.function_execution.count -f "contains(request_path, '/api')" --group-by route --since 1h`
|
|
182
174
|
},
|
|
183
175
|
{
|
|
184
|
-
name: "Show schema for
|
|
185
|
-
value: `${packageName} metrics schema
|
|
176
|
+
name: "Show schema for a metric prefix",
|
|
177
|
+
value: `${packageName} metrics schema --metric vercel.edge_requests`
|
|
186
178
|
},
|
|
187
179
|
{
|
|
188
180
|
name: "Team-wide function executions by project",
|
|
189
|
-
value: `${packageName} metrics --all
|
|
181
|
+
value: `${packageName} metrics --all --metric vercel.function_execution.count --group-by project_id --since 24h`
|
|
190
182
|
}
|
|
191
183
|
]
|
|
192
184
|
};
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
TelemetryClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U3WLEFHU.js";
|
|
10
10
|
|
|
11
11
|
// src/util/telemetry/commands/routes/index.ts
|
|
12
12
|
var RoutesTelemetryClient = class extends TelemetryClient {
|
|
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
AGENT_REASON,
|
|
9
9
|
AGENT_STATUS
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TWZWQGBN.js";
|
|
11
11
|
import {
|
|
12
12
|
buildCommandWithYes,
|
|
13
13
|
getLinkedProject,
|
|
14
14
|
outputAgentError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RLQ4HYV2.js";
|
|
16
16
|
import {
|
|
17
17
|
getCommandName,
|
|
18
18
|
getCommandNamePlain,
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
isAPIError
|
|
9
|
+
} from "./chunk-A4NVECX5.js";
|
|
10
|
+
import {
|
|
11
|
+
output_manager_default
|
|
12
|
+
} from "./chunk-ZQKJVHXY.js";
|
|
13
|
+
|
|
14
|
+
// src/commands/metrics/output.ts
|
|
15
|
+
function getRollupColumnName(metric, aggregation) {
|
|
16
|
+
return `${metric.replace(/\./g, "_")}_${aggregation}`;
|
|
17
|
+
}
|
|
18
|
+
function formatQueryJson(query, response) {
|
|
19
|
+
return JSON.stringify(
|
|
20
|
+
{
|
|
21
|
+
query,
|
|
22
|
+
summary: response.summary ?? [],
|
|
23
|
+
data: response.data ?? [],
|
|
24
|
+
statistics: response.statistics ?? {}
|
|
25
|
+
},
|
|
26
|
+
null,
|
|
27
|
+
2
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
function formatErrorJson(code, message, allowedValues) {
|
|
31
|
+
const error = {
|
|
32
|
+
code,
|
|
33
|
+
message
|
|
34
|
+
};
|
|
35
|
+
if (allowedValues && allowedValues.length > 0) {
|
|
36
|
+
error.allowedValues = allowedValues;
|
|
37
|
+
}
|
|
38
|
+
return JSON.stringify({ error }, null, 2);
|
|
39
|
+
}
|
|
40
|
+
function handleApiError(err, jsonOutput, client, overrides = {}) {
|
|
41
|
+
let code;
|
|
42
|
+
let message;
|
|
43
|
+
const override = overrides[err.status];
|
|
44
|
+
if (override) {
|
|
45
|
+
code = override.code || err.code || "BAD_REQUEST";
|
|
46
|
+
message = override.message;
|
|
47
|
+
} else {
|
|
48
|
+
switch (err.status) {
|
|
49
|
+
case 402:
|
|
50
|
+
code = err.code || "PAYMENT_REQUIRED";
|
|
51
|
+
message = err.serverMessage || "This feature requires an Observability Plus subscription. Upgrade at https://vercel.com/dashboard/settings/billing";
|
|
52
|
+
break;
|
|
53
|
+
case 429:
|
|
54
|
+
code = err.code || "RATE_LIMITED";
|
|
55
|
+
message = err.serverMessage || "You have reached the metrics query rate limit. Please wait and try again. If you need a higher limit, request one from your Vercel account team.";
|
|
56
|
+
break;
|
|
57
|
+
case 403:
|
|
58
|
+
code = "FORBIDDEN";
|
|
59
|
+
message = "You do not have permission to query metrics for this project/team.";
|
|
60
|
+
break;
|
|
61
|
+
case 500:
|
|
62
|
+
code = "INTERNAL_ERROR";
|
|
63
|
+
message = "An internal error occurred. Please try again later.";
|
|
64
|
+
break;
|
|
65
|
+
case 504:
|
|
66
|
+
code = "TIMEOUT";
|
|
67
|
+
message = "The query timed out. Try a shorter time range or fewer groups.";
|
|
68
|
+
break;
|
|
69
|
+
case 400:
|
|
70
|
+
code = err.code || "BAD_REQUEST";
|
|
71
|
+
message = err.serverMessage || `API error (${err.status})`;
|
|
72
|
+
break;
|
|
73
|
+
default:
|
|
74
|
+
code = err.code || "BAD_REQUEST";
|
|
75
|
+
message = err.serverMessage || `API error (${err.status})`;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (jsonOutput) {
|
|
79
|
+
client.stdout.write(formatErrorJson(code, message, err.allowedValues));
|
|
80
|
+
} else {
|
|
81
|
+
output_manager_default.error(message);
|
|
82
|
+
if (err.allowedValues && err.allowedValues.length > 0) {
|
|
83
|
+
output_manager_default.print(`
|
|
84
|
+
Available values: ${err.allowedValues.join(", ")}
|
|
85
|
+
`);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// src/commands/metrics/schema-api.ts
|
|
92
|
+
function toMetricDetail(metric) {
|
|
93
|
+
return {
|
|
94
|
+
id: metric.id,
|
|
95
|
+
description: metric.description,
|
|
96
|
+
dimensions: metric.dimensions,
|
|
97
|
+
unit: metric.unit,
|
|
98
|
+
aggregations: metric.aggregations,
|
|
99
|
+
defaultAggregation: metric.defaultAggregation
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function getDefaultAggregation(detail, metricId) {
|
|
103
|
+
return detail.find((metric) => metric.id === metricId)?.defaultAggregation;
|
|
104
|
+
}
|
|
105
|
+
async function fetchMetricList(client, accountId) {
|
|
106
|
+
const { metrics } = await client.fetch(
|
|
107
|
+
"/v2/observability/schema",
|
|
108
|
+
{ accountId }
|
|
109
|
+
);
|
|
110
|
+
return metrics;
|
|
111
|
+
}
|
|
112
|
+
async function fetchMetricDetail(client, accountId, metricId) {
|
|
113
|
+
const detail = await client.fetch(
|
|
114
|
+
`/v2/observability/schema/${encodeURIComponent(metricId)}`,
|
|
115
|
+
{ accountId }
|
|
116
|
+
);
|
|
117
|
+
return detail.map(toMetricDetail);
|
|
118
|
+
}
|
|
119
|
+
async function fetchMetricListOrExit(client, accountId, jsonOutput) {
|
|
120
|
+
try {
|
|
121
|
+
return await fetchMetricList(client, accountId);
|
|
122
|
+
} catch (err) {
|
|
123
|
+
if (isAPIError(err)) {
|
|
124
|
+
return handleApiError(err, jsonOutput, client, {
|
|
125
|
+
401: {
|
|
126
|
+
code: "SCHEMA_UNAUTHORIZED",
|
|
127
|
+
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
128
|
+
},
|
|
129
|
+
403: {
|
|
130
|
+
code: "SCHEMA_UNAUTHORIZED",
|
|
131
|
+
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
const message = err instanceof Error ? `Failed to fetch metrics schema: ${err.message}` : `Failed to fetch metrics schema: ${String(err)}`;
|
|
136
|
+
if (jsonOutput) {
|
|
137
|
+
client.stdout.write(formatErrorJson("SCHEMA_FETCH_FAILED", message));
|
|
138
|
+
} else {
|
|
139
|
+
output_manager_default.error(message);
|
|
140
|
+
}
|
|
141
|
+
return 1;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
async function fetchMetricDetailOrExit(client, accountId, metricId, jsonOutput) {
|
|
145
|
+
try {
|
|
146
|
+
return await fetchMetricDetail(client, accountId, metricId);
|
|
147
|
+
} catch (err) {
|
|
148
|
+
if (isAPIError(err)) {
|
|
149
|
+
return handleApiError(err, jsonOutput, client, {
|
|
150
|
+
401: {
|
|
151
|
+
code: "SCHEMA_UNAUTHORIZED",
|
|
152
|
+
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
153
|
+
},
|
|
154
|
+
403: {
|
|
155
|
+
code: "SCHEMA_UNAUTHORIZED",
|
|
156
|
+
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
const message = err instanceof Error ? `Failed to fetch metrics schema: ${err.message}` : `Failed to fetch metrics schema: ${String(err)}`;
|
|
161
|
+
if (jsonOutput) {
|
|
162
|
+
client.stdout.write(formatErrorJson("SCHEMA_FETCH_FAILED", message));
|
|
163
|
+
} else {
|
|
164
|
+
output_manager_default.error(message);
|
|
165
|
+
}
|
|
166
|
+
return 1;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export {
|
|
171
|
+
getRollupColumnName,
|
|
172
|
+
formatQueryJson,
|
|
173
|
+
formatErrorJson,
|
|
174
|
+
handleApiError,
|
|
175
|
+
getDefaultAggregation,
|
|
176
|
+
fetchMetricListOrExit,
|
|
177
|
+
fetchMetricDetailOrExit
|
|
178
|
+
};
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XDEOTUO6.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
} from "./chunk-U5J73OA3.js";
|
|
20
20
|
import {
|
|
21
21
|
getScope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NWDCZ56X.js";
|
|
23
23
|
import {
|
|
24
24
|
showPluginTipIfNeeded
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MRMGEHWD.js";
|
|
26
26
|
import {
|
|
27
27
|
CommandTimeout
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z6BYDVNY.js";
|
|
29
29
|
import {
|
|
30
30
|
ua_default
|
|
31
31
|
} from "./chunk-Q6BEDVOU.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
require_dist as require_dist3,
|
|
36
36
|
require_lib3 as require_lib,
|
|
37
37
|
require_pluralize
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RLQ4HYV2.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -4444,7 +4444,9 @@ async function processDeployment({
|
|
|
4444
4444
|
stopSpinner();
|
|
4445
4445
|
return event.payload;
|
|
4446
4446
|
}
|
|
4447
|
-
if (event.type === "ready" &&
|
|
4447
|
+
if (event.type === "ready" && !withFullLogs) {
|
|
4448
|
+
const v1ChecksPending = event.payload.checksState && event.payload.checksState !== "completed";
|
|
4449
|
+
const v2ChecksPending = event.payload.checks?.["deployment-alias"]?.state === "pending";
|
|
4448
4450
|
stopSpinner();
|
|
4449
4451
|
process.stderr.write(eraseLines(2));
|
|
4450
4452
|
const isProdDeployment = event.payload.target === "production";
|
|
@@ -4458,7 +4460,11 @@ async function processDeployment({
|
|
|
4458
4460
|
) + `
|
|
4459
4461
|
`
|
|
4460
4462
|
);
|
|
4461
|
-
|
|
4463
|
+
if (v1ChecksPending || v2ChecksPending) {
|
|
4464
|
+
output_manager_default.spinner("Running Checks...", 0);
|
|
4465
|
+
} else {
|
|
4466
|
+
output_manager_default.spinner("Completing...", 0);
|
|
4467
|
+
}
|
|
4462
4468
|
}
|
|
4463
4469
|
if (event.type === "checks-running" && !withFullLogs) {
|
|
4464
4470
|
output_manager_default.spinner("Running Checks...", 0);
|
|
@@ -4467,6 +4473,10 @@ async function processDeployment({
|
|
|
4467
4473
|
stopSpinner();
|
|
4468
4474
|
return event.payload;
|
|
4469
4475
|
}
|
|
4476
|
+
if (event.type === "checks-v2-failed") {
|
|
4477
|
+
stopSpinner();
|
|
4478
|
+
return event.payload;
|
|
4479
|
+
}
|
|
4470
4480
|
if (event.type === "error") {
|
|
4471
4481
|
stopSpinner();
|
|
4472
4482
|
if (!archive) {
|