C++ SCHX ยท rev 4
School-GIT OS ยท current

System Update internals

The browser-side installer for immutable OS releases, including real byte downloads, SHA-256 checks, OPFS writes and pending-version staging.

currentstatus
OS developers ยท Operatorsaudience
School-GIT docssource
SCHX nativeruntime
SCHX / FEATURE LAYER

System flow

1

Fetch release

2

Download each file

3

Verify size/hash

4

Write OPFS

5

Read back

6

Verify again

7

Set pending

SCHX / FEATURE LAYER

Source map

  • app/cdn/update/page.tsx
  • components/cdn/apps/builtins/SystemUpdateApp.tsx
  • lib/cdn/os/client-os-updater.ts
SCHX / FEATURE LAYER

Real install work

System Update streams the real release files rather than animating a fake timer. Every downloaded file is checked against the immutable release descriptor before it is written to the browser OS version directory.

SCHX / FEATURE LAYER

Verify what was actually installed

After writing the slot, the updater reopens the files from OPFS and re-hashes them. This catches storage/write corruption and makes the pending marker represent a verified local slot, not merely a successful network response.

SCHX / FEATURE LAYER

Restart is the activation boundary

Setting pending-version does not modify the already-running JavaScript. A restart/reload transfers control to the bootstrap, which decides whether the pending slot can become active.

SCHX / FEATURE LAYER

Related documentation