Own worker: crash → restart → replay

Own worker: crash → restart → replay A sequence diagram generated by Archify. fatal error or worker error terminate() detach {keepOffsets: true} committed offsets survive the restart attach {isolateId, grants, port} after the backoff; the bus port existsbefore the worker new Worker + init {busPort, commitIntervalMs} subscribe {from: 'committed'} deliver from committed + 1 up to one commit interval of handledrecords comes back ready {renderFmt, requires} outside [FLOOR, VERSION] or wrong format:failed, no restart patch (first paint) commits {offsets} at most once per 100 ms Crash Respawn Replay and first paint Isolate C · old worker · Sequence participant Isolate C old worker Kernel · supervisor + loader · Sequence participant Kernel supervisor + loader Bus worker · broker + log · Sequence participant Bus worker broker + log Isolate C · new worker · Sequence participant Isolate C new worker Legend main request return security message