@omen.foundation/node-microservice-runtime 0.1.78 → 0.1.79
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/package.json
CHANGED
|
@@ -679,7 +679,7 @@ async function updateManifest({
|
|
|
679
679
|
cid,
|
|
680
680
|
pid,
|
|
681
681
|
serviceId,
|
|
682
|
-
shortImageId,
|
|
682
|
+
shortImageId, // This is now the full image ID (sha256:...) for backend verification
|
|
683
683
|
comments,
|
|
684
684
|
existingManifest,
|
|
685
685
|
discoveredStorage,
|
|
@@ -1086,6 +1086,8 @@ async function main() {
|
|
|
1086
1086
|
// Step 7: Discover storage, components, and dependencies
|
|
1087
1087
|
progress.start('Discovering storage objects and components');
|
|
1088
1088
|
const shortImageId = shortDigest(fullImageId);
|
|
1089
|
+
// Use full image ID (sha256:...) for backend manifest - backend needs full digest to verify image exists
|
|
1090
|
+
// The shortImageId is still used for the registry tag, but backend manifest needs full digest
|
|
1089
1091
|
const existingManifest = await fetchCurrentManifest(apiHost, token, cid, pid);
|
|
1090
1092
|
const discoveredStorage = await discoverStorageObjects('src');
|
|
1091
1093
|
const discoveredComponents = await discoverFederationComponents('src');
|
|
@@ -1105,7 +1107,7 @@ async function main() {
|
|
|
1105
1107
|
cid,
|
|
1106
1108
|
pid,
|
|
1107
1109
|
serviceId,
|
|
1108
|
-
shortImageId,
|
|
1110
|
+
shortImageId: fullImageId, // Use full digest for backend verification
|
|
1109
1111
|
comments: args.comments,
|
|
1110
1112
|
existingManifest,
|
|
1111
1113
|
discoveredStorage,
|