test(workspace): add top-down release gates

This commit is contained in:
huanghuoguoguo
2026-07-19 08:53:39 +08:00
parent 7706634c34
commit 3359951837
26 changed files with 1351 additions and 19 deletions
+6 -1
View File
@@ -166,8 +166,13 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
try:
await self.ping()
self.ap.logger.debug('Heartbeat to Box runtime success.')
except asyncio.CancelledError:
raise
except Exception as e:
self.ap.logger.debug(f'Failed to heartbeat to Box runtime: {e}')
self.ap.logger.warning(f'Heartbeat to Box runtime failed; reconnecting: {e}')
if self.runtime_disconnect_callback is not None:
await self.runtime_disconnect_callback(self)
return
async def ping(self) -> None:
if self._handler is None: