mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 16:03:20 +00:00
* fix(preflight): route landing banner through the runtime-aware preflight slice Landing called window.api.preflight.check directly, which always probes the local client. The preflight slice is the only caller that consults getActiveRuntimeTarget and forwards to preflight.check on the active runtime environment, so while connected to a remote runtime the landing banner reported the client machine's git/gh state instead of the server's. Delegate to refreshPreflightStatus and derive the issue list from state.preflightStatus. This also drops Landing's duplicate probe: the slice dedupes concurrent and forced checks, so the mount/focus/poll paths now share one in-flight request with the rest of the app. * fix(preflight): refresh landing status across runtime sessions * test(preflight): cover paired runtime session races * test: make landing preflight oracle behavioral * fix(preflight): scope runtime session invalidation * test(preflight): cover headed runtime switching * test(preflight): isolate runtime status toast --------- Co-authored-by: Marty <marty@localhost> Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>