@kumori/aurora-backend-handler 1.0.84 → 1.0.85
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 +1 -1
- package/websocket-manager.ts +5 -3
package/package.json
CHANGED
package/websocket-manager.ts
CHANGED
|
@@ -706,6 +706,8 @@ const handleEvent = async (message: WSMessage) => {
|
|
|
706
706
|
if (
|
|
707
707
|
revisionResult.serviceDeploymentErrorEvent &&
|
|
708
708
|
resolvedRevisionService &&
|
|
709
|
+
resolvedRevisionService.error &&
|
|
710
|
+
resolvedRevisionService.status?.code !== "REMOVING_SERVICE" &&
|
|
709
711
|
String(entityId) ===
|
|
710
712
|
String(revisionResult.updatedService?.currentRevision)
|
|
711
713
|
) {
|
|
@@ -1917,13 +1919,13 @@ const resolveServiceStatus = (service: Service): Service => {
|
|
|
1917
1919
|
return service;
|
|
1918
1920
|
}
|
|
1919
1921
|
|
|
1920
|
-
if (service.error) {
|
|
1921
|
-
return service;
|
|
1922
|
-
}
|
|
1923
1922
|
const revisionKey = `${service.tenant}/${service.name}-${service.currentRevision}`;
|
|
1924
1923
|
const currentRevision = revisionsMap.get(revisionKey);
|
|
1925
1924
|
|
|
1926
1925
|
if (!currentRevision) {
|
|
1926
|
+
if (service.error) {
|
|
1927
|
+
return service;
|
|
1928
|
+
}
|
|
1927
1929
|
return service;
|
|
1928
1930
|
}
|
|
1929
1931
|
|