@arcote.tech/arc-cli 0.7.13 → 0.7.14
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/index.js +2 -2
- package/package.json +9 -9
- package/src/deploy/deploy-env.ts +7 -2
package/dist/index.js
CHANGED
|
@@ -37858,8 +37858,8 @@ async function digQuery(server, type, name) {
|
|
|
37858
37858
|
}
|
|
37859
37859
|
|
|
37860
37860
|
// src/deploy/deploy-env.ts
|
|
37861
|
-
var HEALTH_RETRIES =
|
|
37862
|
-
var HEALTH_DELAY_MS =
|
|
37861
|
+
var HEALTH_RETRIES = 30;
|
|
37862
|
+
var HEALTH_DELAY_MS = 2000;
|
|
37863
37863
|
async function updateEnvDeployment(opts) {
|
|
37864
37864
|
const { target, cfg, env: env2, fullRef } = opts;
|
|
37865
37865
|
const upperEnv = env2.toUpperCase().replace(/-/g, "_");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcote.tech/arc-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"description": "CLI tool for Arc framework",
|
|
5
5
|
"module": "index.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"build": "bun build --target=bun ./src/index.ts --outdir=dist --external @arcote.tech/arc --external @arcote.tech/arc-ds --external @arcote.tech/arc-react --external @arcote.tech/platform --external '@opentelemetry/*' && chmod +x dist/index.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@arcote.tech/arc": "^0.7.
|
|
16
|
-
"@arcote.tech/arc-ds": "^0.7.
|
|
17
|
-
"@arcote.tech/arc-react": "^0.7.
|
|
18
|
-
"@arcote.tech/arc-host": "^0.7.
|
|
19
|
-
"@arcote.tech/arc-adapter-db-sqlite": "^0.7.
|
|
20
|
-
"@arcote.tech/arc-adapter-db-postgres": "^0.7.
|
|
21
|
-
"@arcote.tech/arc-otel": "^0.7.
|
|
15
|
+
"@arcote.tech/arc": "^0.7.14",
|
|
16
|
+
"@arcote.tech/arc-ds": "^0.7.14",
|
|
17
|
+
"@arcote.tech/arc-react": "^0.7.14",
|
|
18
|
+
"@arcote.tech/arc-host": "^0.7.14",
|
|
19
|
+
"@arcote.tech/arc-adapter-db-sqlite": "^0.7.14",
|
|
20
|
+
"@arcote.tech/arc-adapter-db-postgres": "^0.7.14",
|
|
21
|
+
"@arcote.tech/arc-otel": "^0.7.14",
|
|
22
22
|
"@opentelemetry/api": "^1.9.0",
|
|
23
23
|
"@opentelemetry/api-logs": "^0.57.0",
|
|
24
24
|
"@opentelemetry/core": "^1.30.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@opentelemetry/sdk-trace-base": "^1.30.0",
|
|
32
32
|
"@opentelemetry/sdk-trace-node": "^1.30.0",
|
|
33
33
|
"@opentelemetry/semantic-conventions": "^1.27.0",
|
|
34
|
-
"@arcote.tech/platform": "^0.7.
|
|
34
|
+
"@arcote.tech/platform": "^0.7.14",
|
|
35
35
|
"@clack/prompts": "^0.9.0",
|
|
36
36
|
"commander": "^11.1.0",
|
|
37
37
|
"chokidar": "^3.5.3",
|
package/src/deploy/deploy-env.ts
CHANGED
|
@@ -34,8 +34,13 @@ export interface UpdateEnvDeploymentResult {
|
|
|
34
34
|
redeployed: boolean;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
// Budżet health checku liczony pod ZIMNY START świeżego obrazu: ładowanie
|
|
38
|
+
// server context + dużego host.js + podłączenie telemetrii potrafi przekroczyć
|
|
39
|
+
// ~10-20s, przez co poprzednie 10×1s dawało false-negatywy ("health check did
|
|
40
|
+
// not pass within retries") mimo że kontener wstawał poprawnie (RestartCount=0).
|
|
41
|
+
// 30×2s ≈ 60s ściany (plus narzut SSH na próbę) — z zapasem na cold start.
|
|
42
|
+
const HEALTH_RETRIES = 30;
|
|
43
|
+
const HEALTH_DELAY_MS = 2000;
|
|
39
44
|
|
|
40
45
|
export async function updateEnvDeployment(
|
|
41
46
|
opts: UpdateEnvDeploymentOptions,
|