@haakco/hostingctl 1.0.688 → 1.0.689
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/main.js +11 -9
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/platform/darwin-arm64/hostingctl +0 -0
- package/platform/darwin-x64/hostingctl +0 -0
- package/platform/linux-arm64/hostingctl +0 -0
- package/platform/linux-x64/hostingctl +0 -0
- package/platform/windows-x64/hostingctl.exe +0 -0
package/dist/main.js
CHANGED
|
@@ -46788,8 +46788,8 @@ var CANCELLATION_USAGE = [
|
|
|
46788
46788
|
"so a value read from the cancellation would be stale. --digest is the review's inventoryDigest.",
|
|
46789
46789
|
"Every write needs --confirm; --dry-run describes the change and sends nothing at all.",
|
|
46790
46790
|
"",
|
|
46791
|
-
"
|
|
46792
|
-
"
|
|
46791
|
+
"Any cancellation's deletion destroys the environment, its applications, its databases and its volumes, so its",
|
|
46792
|
+
"live persistent storage is irreversibly removed rather than retained; the retained restore points are the only way back, and purge destroys those too."
|
|
46793
46793
|
].join("\n");
|
|
46794
46794
|
/** Render one `cancellation` answer to a person, never to a value the payload does not carry. */
|
|
46795
46795
|
function cancellationText(report) {
|
|
@@ -46823,8 +46823,9 @@ function requestDescription(terms) {
|
|
|
46823
46823
|
].join("\n");
|
|
46824
46824
|
return [
|
|
46825
46825
|
`${opening} — service ends ${terms.serviceEnd ?? "(no date)"}.`,
|
|
46826
|
-
" The environment keeps serving until that date
|
|
46827
|
-
"
|
|
46826
|
+
" The environment keeps serving until that date. When deletion runs, its live persistent storage is",
|
|
46827
|
+
" irreversibly removed rather than retained; the retained restore points are the only way back, and they are",
|
|
46828
|
+
" gone after the review's recoverable-until date. The request can still be withdrawn until deletion starts."
|
|
46828
46829
|
].join("\n");
|
|
46829
46830
|
}
|
|
46830
46831
|
/** What a withdrawal does, including the case where service had already ended. */
|
|
@@ -46852,8 +46853,8 @@ function reconfirmDescription(environmentUuid, cancellationUuid, reviewGeneratio
|
|
|
46852
46853
|
`Re-confirm the approved deletion scope of environment ${environmentUuid} (cancellation ${cancellationUuid}) at generation ${String(reviewGeneration)}, digest ${inventoryDigest}.`,
|
|
46853
46854
|
" Deletion was approved against a scope that no longer describes this environment, so this states that the",
|
|
46854
46855
|
" scope as it now stands is the scope to delete; the ordinary deletion then continues against it.",
|
|
46855
|
-
" The
|
|
46856
|
-
" recoverable-until date. This cannot be withdrawn."
|
|
46856
|
+
" The environment, its applications, its databases and its volumes are destroyed, so its live persistent storage is irreversibly removed rather than retained;",
|
|
46857
|
+
" the retained restore points are the only way back, and they are gone after the review's recoverable-until date. This cannot be withdrawn."
|
|
46857
46858
|
].join("\n");
|
|
46858
46859
|
}
|
|
46859
46860
|
/** The recorded status in the API's own words, or the absence of an episode said plainly. */
|
|
@@ -47146,6 +47147,7 @@ async function request(context, environmentUuid) {
|
|
|
47146
47147
|
reviewGeneration,
|
|
47147
47148
|
effectiveAt: serviceEnd ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
47148
47149
|
accepted: true,
|
|
47150
|
+
liveStorageDisposalAcknowledged: true,
|
|
47149
47151
|
...timing === "now" ? { deletionAcknowledged: true } : {},
|
|
47150
47152
|
deletionTiming: timing
|
|
47151
47153
|
};
|
|
@@ -79737,7 +79739,7 @@ function writeUpdateState(state, env = process.env) {
|
|
|
79737
79739
|
}
|
|
79738
79740
|
//#endregion
|
|
79739
79741
|
//#region src/version.ts
|
|
79740
|
-
var VERSION = "1.0.
|
|
79742
|
+
var VERSION = "1.0.689";
|
|
79741
79743
|
//#endregion
|
|
79742
79744
|
//#region src/commands/update.ts
|
|
79743
79745
|
/**
|
|
@@ -79812,7 +79814,7 @@ var update = {
|
|
|
79812
79814
|
}, process.env);
|
|
79813
79815
|
return {
|
|
79814
79816
|
...known,
|
|
79815
|
-
current: after ?? "1.0.
|
|
79817
|
+
current: after ?? "1.0.689",
|
|
79816
79818
|
latest: after ?? latest,
|
|
79817
79819
|
upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
|
|
79818
79820
|
action: "run",
|
|
@@ -80094,7 +80096,7 @@ async function printUpdateNotice(options) {
|
|
|
80094
80096
|
}, env, { waitMs: NOTICE_LOCK_WAIT_MS });
|
|
80095
80097
|
} catch {}
|
|
80096
80098
|
if (latest === null) return;
|
|
80097
|
-
if (!isNewerVersion(latest, "1.0.
|
|
80099
|
+
if (!isNewerVersion(latest, "1.0.689")) return;
|
|
80098
80100
|
process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
|
|
80099
80101
|
}
|
|
80100
80102
|
/** Whether an environment variable is set to something, which is how CI and the opt-out are read. */
|