githolon 0.105.13 → 0.105.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/compile_mountability_entry.js +5 -7
- package/dist/dev-server.mjs +3 -3
- package/dist/full-cli.mjs +541 -226
- package/package.json +2 -2
|
@@ -431,7 +431,7 @@ function prepareManagedPromotion(report, candidateHash, domain, opts = {}) {
|
|
|
431
431
|
domainHash: candidateHash,
|
|
432
432
|
...opts.replaces ? { replaces: opts.replaces } : {},
|
|
433
433
|
retireReplaced: opts.retireReplaced ?? false,
|
|
434
|
-
...
|
|
434
|
+
...report.dispositions ? { dispositions: report.dispositions } : {},
|
|
435
435
|
preflight
|
|
436
436
|
}
|
|
437
437
|
};
|
|
@@ -447,7 +447,6 @@ function prepareManagedRestoration(report, currentHash, priorHash, domain, opts
|
|
|
447
447
|
}
|
|
448
448
|
const acceptanceReason = opts.acceptanceReason?.trim();
|
|
449
449
|
const prepared = prepareManagedPromotion(report, priorHash, domain, {
|
|
450
|
-
dispositions: report.dispositions,
|
|
451
450
|
...acceptanceReason ? { acceptanceReason } : {}
|
|
452
451
|
});
|
|
453
452
|
if (!prepared.ok) {
|
|
@@ -1957,7 +1956,7 @@ async function mountWorkspace(eng, ws, ledger) {
|
|
|
1957
1956
|
throw new Error(`kernel refused restored main ${remoteMain}: ${JSON.stringify(mounted)}`);
|
|
1958
1957
|
}
|
|
1959
1958
|
restored = true;
|
|
1960
|
-
if (!seeded?.seeded) {
|
|
1959
|
+
if (!seeded?.seeded && ledger.readOnly !== true) {
|
|
1961
1960
|
void pushCheckpoint(eng, ws, ledger).catch(() => {
|
|
1962
1961
|
});
|
|
1963
1962
|
}
|
|
@@ -3118,12 +3117,12 @@ async function verifyChain(eng, ws, ledger) {
|
|
|
3118
3117
|
function verifyChainLocal(eng, ws) {
|
|
3119
3118
|
return namedQueryProto(eng, ws, QueryOperation.VERIFY_CHAIN);
|
|
3120
3119
|
}
|
|
3121
|
-
function historyPreflight(eng, ws, domain, candidateHash, atHash,
|
|
3120
|
+
function historyPreflight(eng, ws, domain, candidateHash, atHash, actor = "") {
|
|
3122
3121
|
return namedQueryProto(eng, ws, QueryOperation.HISTORY_PREFLIGHT, {
|
|
3123
3122
|
domain,
|
|
3124
3123
|
candidateHash,
|
|
3125
3124
|
atHash,
|
|
3126
|
-
...
|
|
3125
|
+
...actor.trim() ? { ackBy: actor.trim() } : {}
|
|
3127
3126
|
});
|
|
3128
3127
|
}
|
|
3129
3128
|
function historyRestorePreflight(eng, ws, domain, currentHash, priorHash, atHash, actor) {
|
|
@@ -3150,7 +3149,7 @@ function promotePreflighted(eng, ws, domain, candidateHash, opts = {}) {
|
|
|
3150
3149
|
}
|
|
3151
3150
|
let report;
|
|
3152
3151
|
try {
|
|
3153
|
-
report = historyPreflight(eng, ws, domain, candidateHash, atHash,
|
|
3152
|
+
report = historyPreflight(eng, ws, domain, candidateHash, atHash, actingPrincipal);
|
|
3154
3153
|
} catch (error) {
|
|
3155
3154
|
return { ok: false, stage: "preflight", error: String(error?.message || error) };
|
|
3156
3155
|
}
|
|
@@ -3159,7 +3158,6 @@ function promotePreflighted(eng, ws, domain, candidateHash, opts = {}) {
|
|
|
3159
3158
|
const {
|
|
3160
3159
|
replaces: _replaces,
|
|
3161
3160
|
retireReplaced: _retireReplaced,
|
|
3162
|
-
dispositions: _dispositions,
|
|
3163
3161
|
acceptanceReason: _acceptance,
|
|
3164
3162
|
...authorOpts
|
|
3165
3163
|
} = opts;
|
package/dist/dev-server.mjs
CHANGED
|
@@ -1168,7 +1168,7 @@ async function mountWorkspace(eng, ws, ledger) {
|
|
|
1168
1168
|
throw new Error(`kernel refused restored main ${remoteMain}: ${JSON.stringify(mounted)}`);
|
|
1169
1169
|
}
|
|
1170
1170
|
restored = true;
|
|
1171
|
-
if (!seeded?.seeded) {
|
|
1171
|
+
if (!seeded?.seeded && ledger.readOnly !== true) {
|
|
1172
1172
|
void pushCheckpoint(eng, ws, ledger).catch(() => {
|
|
1173
1173
|
});
|
|
1174
1174
|
}
|
|
@@ -2991,8 +2991,8 @@ function resolveGatewayOperation(spec, opName, method) {
|
|
|
2991
2991
|
|
|
2992
2992
|
// ../cloud/cloudflare-shell/src/kernel-registry.generated.ts
|
|
2993
2993
|
var DEPLOYED_KERNELS = [
|
|
2994
|
-
{ prefix: "
|
|
2995
|
-
{ prefix: "
|
|
2994
|
+
{ prefix: "d37253bc", hash: "d37253bcefd90a180a6a1af96422a9f0724dfca9efd9ae7cff070afa2c410f09", version: "kernel-d37253bc", note: "production (this candidate)", features: ["compoundKeys", "capturedReads", "invariantGate", "surfacedMerge", "fieldProvenance", "nullSemantics", "attestedReads", "conflictSnapshots", "ownedAudience", "temporalEnum"] },
|
|
2995
|
+
{ prefix: "b6bddd8d", hash: "b6bddd8d61390edbe2ee4e5f3c7f21108bdb7800af746d20f568936f63e2d517", version: "kernel-b6bddd8d", note: "test-mint (this candidate) \u2014 feature-equivalent to production", features: ["compoundKeys", "capturedReads", "invariantGate", "surfacedMerge", "fieldProvenance", "nullSemantics", "attestedReads", "conflictSnapshots", "ownedAudience", "temporalEnum"] }
|
|
2996
2996
|
];
|
|
2997
2997
|
|
|
2998
2998
|
// ../cloud/cloudflare-shell/src/staged-intents.ts
|