feat(deploy): promote private node reconciliation
This commit is contained in:
@@ -23,8 +23,8 @@ if (extra.length || !/^engine-provider-authority-diagnostics-\d{8}-\d{3}$/.test(
|
||||
}
|
||||
|
||||
const targetSha256 = Object.freeze({
|
||||
"nodedc-source/server/dataProductPublishGrant/providerCatalog.js":
|
||||
"86e23683054860bb21b47e4e60a13db741088ee214a60704fd4fd24a49ea5852",
|
||||
"nodedc-source/server/nodeIntelligence/upstreamProjection.js":
|
||||
"2dfa6b4f37d9bfa8b92a8109d4060d02dd2634ceb8f7924504b83ccf3fdd1523",
|
||||
});
|
||||
const entries = Object.freeze(Object.keys(targetSha256));
|
||||
const artifact = join(artifactRoot, `nodedc-${patchId}.tgz`);
|
||||
@@ -59,9 +59,9 @@ try {
|
||||
entries,
|
||||
targetSha256,
|
||||
services: ["nodedc-backend"],
|
||||
transition: "publish-path-scoped-provider-request-authority",
|
||||
providerPackages: ["gelios.provider.v7", "gelios.provider.v8"],
|
||||
dataProductIds: ["fleet.positions.current.v5", "fleet.units.profile.current.v1"],
|
||||
transition: "private-node-name-reconciliation",
|
||||
validationBoundary: "engine-pinned-private-node-catalog",
|
||||
privateNodeIdentity: "node-id-or-exact-display-name",
|
||||
credentialValues: "preserved",
|
||||
untouched: ["L2 graph", "n8n", "L1", "Engine UI", "databases"],
|
||||
}, null, 2));
|
||||
@@ -85,13 +85,10 @@ async function assertExactSources() {
|
||||
}
|
||||
const source = await readFile(sourcePath, "utf8");
|
||||
for (const marker of [
|
||||
"publish_grant_provider_request_not_exact",
|
||||
"publish_grant_provider_credential_binding_invalid",
|
||||
"publish_grant_provider_transport_policy_not_exact",
|
||||
"publish_grant_provider_request_path_unreachable",
|
||||
"publish_grant_provider_credential_identity_mismatch",
|
||||
"exactRequestMatches",
|
||||
"reachableRequestNodes",
|
||||
"isUnknownPrivateNodeIssue",
|
||||
"issue?.nodeName || issue?.node",
|
||||
"privateResults",
|
||||
"NDC_PRIVATE_NODE_VALIDATED_BY_ENGINE_CATALOG",
|
||||
]) {
|
||||
if (!source.includes(marker)) {
|
||||
throw new Error(`engine_provider_authority_diagnostics_marker_missing:${marker}`);
|
||||
|
||||
Reference in New Issue
Block a user