moving
Some checks failed
Installer Smoke / installer-smoke (push) Has been cancelled

This commit is contained in:
Oleg Maslov
2026-09-02 10:10:29 +02:00
commit 0c3e2ead3b
3841 changed files with 970576 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
/**
* UX Refactor v2.1 P1b (D3) — boot connect kickoff.
*
* MUST stay main.tsx's FIRST import: ES-module import hoisting evaluates this
* module before any sibling, so the adapter's connect attempt is in flight
* before any component module could possibly issue a request — that is what
* arms the adapter's ensureReady() deferral gate for the entire boot burst
* (ServiceProvider's effect runs LAST among mount effects because it is the
* outermost provider; without this kickoff every child mount fetch would fire
* token-less first).
*
* Errors are swallowed here: ServiceProvider owns retry/backoff and the
* user-facing connection state, and a settled-failed attempt releases (then
* re-arms) the gate rather than wedging it.
*/
import { adapter } from './lib/adapter';
adapter.connect().catch(() => { /* ServiceProvider surfaces connection state */ });