You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hold the app's data-plane calls until the daemon product check passes #3623
At app startup, the frontend's first routed calls (database list, boot loads) can reach whichever daemon holds daemon.sock before the product check (ADR-084 §5) has run and evicted a daemon of another product. Today that daemon serves those first calls, and it may open databases. It writes no state for the other product, but it does open databases the starting app's product should not have opened yet.
Found during the #3414 "Sign-in gate check" analysis (see #3414 (comment)). An app built on core holds its own daemon's opens with existing hooks. This window is about a different daemon answering first, so it needs a core ordering change, not an extension hook. Cases: a leftover daemon outside the shared launchd label, or another macOS user's per-user registration.
@malibio for tomorrow's discussion: the design is proposed in NodeSpaceAI/nodespace-docs#112 (an ADR-084 §4.3 amendment plus a startup-ordering section) and implemented in #3639. Both are held.
Proposal. The shared gRPC channel's connector doesn't dial the socket until a daemon has passed the product check, and the check uses its own one-shot connection. A daemon of another product, or one that doesn't answer, only ever sees GetDaemonVersion. Held calls queue for up to 2 minutes, and the health probe skips while held, so there's no wedged-channel rebuild. No frontend change.
Your automated reviews' points are addressed in the later rounds:
the hold opens only for a daemon that passed the check;
Activity
Hold the app's daemon calls until the startup product check is over (c…
mstomar125 commentedon Oct 5, 2026
@malibio for tomorrow's discussion: the design is proposed in NodeSpaceAI/nodespace-docs#112 (an ADR-084 §4.3 amendment plus a startup-ordering section) and implemented in #3639. Both are held.
Proposal. The shared gRPC channel's connector doesn't dial the socket until a daemon has passed the product check, and the check uses its own one-shot connection. A daemon of another product, or one that doesn't answer, only ever sees
GetDaemonVersion. Held calls queue for up to 2 minutes, and the health probe skips while held, so there's no wedged-channel rebuild. No frontend change.Your automated reviews' points are addressed in the later rounds:
Open questions for the discussion
ensure_daemon_running, the setup task andcheck_daemon_status. Run the daemon as the app's child for another NODESPACE_HOME, never touching the user's registration (held) #3637 (Make the app's daemon management follow NODESPACE_HOME #3616) touches the same function too.EXTENSION_API_VERSIONminor bump? This is open question 2 on docs#112.release.ymlworkflow_dispatchwithplatform=windows-x86before merge would cover it.🤖 Generated with Claude Code