Conversation Lifetime

An installer daemon keeps one live conversation in memory. A frontend connects to that conversation to show its current questions and progress. The conversation belongs to the daemon rather than to a browser tab.

flowchart LR
    T[Terminal] --> D[Installer daemon]
    B[Browser frontend] --> D
    A[Scripted driver] --> D
    D --> J[Installation or setup job]

A second client can attach to the same live conversation. Its answers affect the same state, so multiple clients are collaborators rather than isolated sessions. Starting a client is not proof that it created a fresh operation.

Disconnects and restarts #

Closing a frontend does not stop an active job. A reconnect can show the current turn while the daemon remains alive. Restarting the daemon loses the conversation; the protocol does not make an interrupted disk operation transactional or provide durable recovery.

Completed and failed conversations are cleared so a later start can create another conversation. Read and preserve a failure result before retrying. Starting again is an additional operation, not an automatic rollback.

Progress and completion #

A successful installation job reaches a result page that offers restart. The restart request and the actual disk boot are separate events. A daemon can accept a restart request without proving the firmware booted the target.

The graphical frontend retains a failed job's result until you request a new conversation. Its log download records the job's output. msip-drive prints a trace, but its abbreviated log display is not a complete audit journal. See msip-drive(1) for automation constraints.

Slow clients and completion #

Each daemon connection has one writer, so complete messages remain in order. The daemon disconnects a client if queued output, including the frame being written, exceeds 4 MiB or writes make no progress for 10 seconds. A client that stops reading does not hold the conversation lock indefinitely.

At conversation completion, final messages drain outside that lock with a shared 10-second deadline. A start request during retirement receives an unavailable result. After retirement finishes, a fresh start can create the next conversation. A disconnected client must not assume that its last action failed or replay it without checking the daemon's state.

Browser input and reconnection #

The graphical frontend limits each incoming browser message and the input it admits to its shared queue. When the queue is full, submission waits for space while the browser continues receiving state updates. An oversized submission is refused with a message on the supplied page.

A stalled write to the daemon ends that connection. The page shows the lost connection while the frontend tries again. Actions queued for the old daemon connection are discarded, and browsers reconnect to fresh state. They are not automatically replayed against another conversation.

An action sent before disconnection can already have taken effect. Check the recovered page and any job result before submitting it again. Closing a tab also does not guarantee that an earlier submission was canceled. If a form is refused for exceeding the message limit, shorten its input before retrying.

The queue limit is not a limit on total process memory or the number of connected browsers. installer-gxwi(1) and oobe-gxwi(1) specify the message limits, queue accounting, and connection timeout.

Edit this page