@or3/cloud 0.1.69 → 0.1.70
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/cli.mjs +14 -7
- package/package.json +4 -4
package/dist/cli.mjs
CHANGED
|
@@ -31,7 +31,7 @@ import { fileURLToPath } from "node:url";
|
|
|
31
31
|
import { createGunzip } from "node:zlib";
|
|
32
32
|
var execFile = promisify(execFileCallback);
|
|
33
33
|
var PACKAGE_ROOT = resolve(fileURLToPath(new URL("../", import.meta.url)));
|
|
34
|
-
var PACKAGE_VERSION = "0.1.
|
|
34
|
+
var PACKAGE_VERSION = "0.1.70";
|
|
35
35
|
var IMAGE_REPOSITORY = "ghcr.io/saluana/or3-chat";
|
|
36
36
|
var ASSET_ROOT = resolve(fileURLToPath(new URL("../assets/", import.meta.url)));
|
|
37
37
|
var LEGACY_STATE_SCHEMA_VERSION = 1;
|
|
@@ -3124,12 +3124,19 @@ async function collectTargetReadyChecks(directory, mode, env) {
|
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
3126
|
checks.push(databasesOk ? { code: "database-integrity", status: "passed", detail: "auth.sqlite and sync.sqlite quick_check passed with managed ownership." } : { code: "database-integrity", status: "failed", detail: `SQLite integrity or ownership verification failed. ${redact(databaseCheck.stderr.trim(), secretValues(env))}` });
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3127
|
+
if (mode === "public") {
|
|
3128
|
+
const baseUrl = new URL(`https://${env.OR3_PUBLIC_DOMAIN}`);
|
|
3129
|
+
try {
|
|
3130
|
+
validateVerificationHealth(await verificationJson(baseUrl, "/api/health?deep=true"));
|
|
3131
|
+
checks.push({ code: "public-health", status: "passed", detail: `${baseUrl.origin} deep health reports the managed profile.` });
|
|
3132
|
+
} catch (error) {
|
|
3133
|
+
checks.push({ code: "public-health", status: "failed", detail: redact(error instanceof Error ? error.message : String(error)) });
|
|
3134
|
+
}
|
|
3135
|
+
} else {
|
|
3136
|
+
const internal = await run("docker", [
|
|
3137
|
+
...composeArgs(directory, mode, ["exec", "-T", "or3", ...containerNodeCommand(HEALTH_SCRIPT)])
|
|
3138
|
+
], directory);
|
|
3139
|
+
checks.push(internal.ok ? { code: "public-health", status: "passed", detail: "Container-internal deep health reports the managed profile." } : { code: "public-health", status: "failed", detail: `Container-internal deep health failed. ${redact(internal.stderr.trim(), secretValues(env))}` });
|
|
3133
3140
|
}
|
|
3134
3141
|
return { containerId, checks };
|
|
3135
3142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or3/cloud",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.70",
|
|
4
4
|
"description": "Install and operate the OR3 Cloud container distribution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dashboardUpdateProtocol": 1,
|
|
20
20
|
"dashboardUpdateMinimumSourceVersion": "0.1.40",
|
|
21
21
|
"stateSchema": 1,
|
|
22
|
-
"imageDigest": "sha256:
|
|
23
|
-
"operatorImageDigest": "sha256:
|
|
24
|
-
"sourceRevision": "
|
|
22
|
+
"imageDigest": "sha256:98bf853b1f7f4e482ce705b9819c2921be648b30e9ad52980e1f12641fbe8064",
|
|
23
|
+
"operatorImageDigest": "sha256:bd585210d63c09d98073d19bb4c4f6ba598059fe6c91d6b8db7c8f646cd86161",
|
|
24
|
+
"sourceRevision": "bd1f1310af3c1ef9e66de6d438057eed48a9e049"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"dist",
|