refactor(authority): complete v0.6-only sql/blob/jobs rollout

This commit is contained in:
Youzini-afk
2026-04-28 21:45:21 +08:00
parent a5b822682a
commit a7e2edac88
23 changed files with 1816 additions and 212 deletions

View File

@@ -1,17 +1,34 @@
import assert from "node:assert/strict";
import {
buildAuthorityDiagnosticsBundle,
buildAuthorityPerformanceBaseline,
writeAuthorityDiagnosticsBundle,
} from "../../maintenance/authority-diagnostics-bundle.js";
import { createAuthorityBlobAdapter } from "../../maintenance/authority-blob-adapter.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 {
buildAuthorityDiagnosticsBundle,
buildAuthorityPerformanceBaseline,
writeAuthorityDiagnosticsBundle,
} = await import("../../maintenance/authority-diagnostics-bundle.js");
const { createAuthorityBlobAdapter } = await import("../../maintenance/authority-blob-adapter.js");
const context = createAuthorityE2eContext({
skipMessage:
"authority diagnostics E2E skipped: set AUTHORITY_E2E_BASE_URL to run against a real Authority server",