49ab5e2b73
Follow-ups to the #102496 salvage in the Electron main process: - pendingForegroundSpawns leaked: promoteInFlightLocalSpawn marked the key even when the pool entry already existed (the common click path), and nothing consumed it. After that backend was reaped, the next dial for the key - normally 10 s roster hydration - spawned as foreground and sat in the reserved slot. Mark only when no entry exists yet; spawnPoolBackend consumes the mark before any early return (remote route included) so it never outlives the dial. - The "waiting for a free local slot" log fired for a foreground request that was granted the reserved slot immediately (condition was queuedCount > 0 after request()). The request now reports `queued`; log only then. - One promotePoolEntry() and one logPoolSpawnFailure() replace three copies of the promote snippet and two copies of the background/foreground log branch; spawnPoolBackend reads entry.spawnPriority instead of a second opts channel; isBackgroundSlotWaitTimeout is an instanceof check (same process as the class, no duck typing).