fix(electron): signal backend readiness over IPC (#1488)

This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-09-27 17:35:40 -05:00
1 parent 407d358f6b
commit 4e652720af
3 files changed
+161

No files matched your search

+5
View File
@@ -300,6 +300,11 @@ async function provisionLocalDesktopUserIfNeeded(): Promise<void> {
duration: Date.now() - initStartTime,
});
// Log output can be filtered by the configured level or split across chunks.
if (process.env.ELECTRON_EMBEDDED === "true") {
process.send?.({ type: "backend-ready" });
}
const gracefulShutdown = async (signal: string) => {
systemLogger.info(`Received ${signal}, initiating graceful shutdown...`, {
operation: "shutdown",