Skip to main content

Module cloud_installs

Module cloud_installs 

Source
Expand description

The account’s other installs, read back from the relay for the Swarm’s cloud tier (docs/specs/SPEC_SWARM_CLOUD_TIER_2026_11_14.md): the presence records wan_presence publishes, listed by the relay for the signed-in account.

A record is display data. Each one is verified before it is used (the install’s own signature, its id against its key, the bounds), so the relay’s list is trusted for availability and not for correctness; nothing acts on one. The read is on demand, behind a 30-second cache: nothing runs while nobody asks. Signed out, a relay without the route, a refusal or a network error each leave no cloud tier and no error in an answer; after a network error the last good list is kept for ten minutes, ageing as time goes.

Structs§

CloudInstall
One verified record of another install, with when the relay heard from it on this machine’s clock.
CloudView
What the Swarm reads.
NewerInstall
A record of a version this build cannot read (a newer AgentMux published it), as far as it can be told: only the fields a plain reading of it gives, none of them verified, since its signature covers material this build cannot rebuild. It is shown as a computer that needs a newer AgentMux, never as one with agents, and never used for anything else.
Reader
The cache and the one read at a time.
RelaySource
The relay’s list, with the MuxBus sign-in’s token.

Enums§

CloudState
How the last read went.
Fetched
What one read of the relay came to.

Traits§

Source
Where the list is read from.

Functions§

cached
The account’s other installs as they are cached, at once; a read to fill the cache is started when it is old. None before install.
install
Start reading with this srv’s sign-in. The first call wins.
invalidate
A sign-in or sign-out happened: the old list is dropped and the next ask reads again.
split
verified, and the records that are of a newer format than this build reads, each as far as can be told.
verified
The records that verify, with their ages moved onto this machine’s clock. A record the relay heard from age ago was seen age before local_now_ms, whatever this clock says about the relay’s: so a wrong local clock does not make a live machine stale. A goodbye is left out.
view
The account’s other installs now, or None before install (a build with no sign-in to read with).