mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-14 02:40:45 +08:00
refactor(authority): complete v0.6-only sql/blob/jobs rollout
This commit is contained in:
@@ -1,19 +1,36 @@
|
||||
import assert from "node:assert/strict";
|
||||
|
||||
import { buildLukerGraphCheckpointV2 } from "../../graph/graph-persistence.js";
|
||||
import {
|
||||
applyAuthorityCheckpointToStore,
|
||||
buildAuthorityConsistencyAudit,
|
||||
buildAuthorityCheckpointImportSnapshot,
|
||||
} from "../../maintenance/authority-consistency.js";
|
||||
import { createAuthorityBlobAdapter } from "../../maintenance/authority-blob-adapter.js";
|
||||
import { AuthorityGraphStore } from "../../sync/authority-graph-store.js";
|
||||
installResolveHooks,
|
||||
toDataModuleUrl,
|
||||
} from "../helpers/register-hooks-compat.mjs";
|
||||
|
||||
installResolveHooks([
|
||||
{
|
||||
specifiers: ["../../../../../script.js"],
|
||||
url: toDataModuleUrl("export function getRequestHeaders() { return {}; }"),
|
||||
},
|
||||
{
|
||||
specifiers: ["../../../../extensions.js"],
|
||||
url: toDataModuleUrl("export const extension_settings = { st_bme: {} };"),
|
||||
},
|
||||
]);
|
||||
|
||||
import {
|
||||
createAuthorityE2eContext,
|
||||
createAuthorityE2eContractGraph,
|
||||
runAuthorityE2eStep,
|
||||
} from "../helpers/authority-e2e-context.mjs";
|
||||
|
||||
const { buildLukerGraphCheckpointV2 } = await import("../../graph/graph-persistence.js");
|
||||
const {
|
||||
applyAuthorityCheckpointToStore,
|
||||
buildAuthorityConsistencyAudit,
|
||||
buildAuthorityCheckpointImportSnapshot,
|
||||
} = await import("../../maintenance/authority-consistency.js");
|
||||
const { createAuthorityBlobAdapter } = await import("../../maintenance/authority-blob-adapter.js");
|
||||
const { AuthorityGraphStore } = await import("../../sync/authority-graph-store.js");
|
||||
|
||||
const context = createAuthorityE2eContext({
|
||||
skipMessage:
|
||||
"authority checkpoint restore E2E skipped: set AUTHORITY_E2E_BASE_URL to run against a real Authority server",
|
||||
|
||||
Reference in New Issue
Block a user