From c7a38d946e8008a57edbbb8593ae0909ce3564a5 Mon Sep 17 00:00:00 2001 From: therain2020 Date: Fri, 29 May 2026 20:49:58 +0800 Subject: [PATCH] fix: one more diag after setupPromise Co-Authored-By: Claude Opus 4.7 --- src/main.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.tsx b/src/main.tsx index accbb1e..4006ff4 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1865,6 +1865,7 @@ async function run(): Promise { agentDefsPromise?.catch(() => {}); process.stderr.write("[DIAG] before setup()\n") await setupPromise; + process.stderr.write("[DIAG] after setupPromise resolved\n") logForDebugging(`[STARTUP] setup() completed in ${Date.now() - setupStart}ms`); profileCheckpoint('action_after_setup');