Files
Pulse/tests
rcourtman 85f2fdc025 Join machines, storage and guests on the map
On a real 64-tile estate the map could not answer the plain questions
about it. A machine said "23 services" and nothing about what they
were. Six backup targets all said the cluster's name, so they read as
one thing six times. Three containers that send their traffic through
a VPN container sat in Media while it sat in Network tools. Nothing
showed that the media server and the subtitle fetcher read the same
30 TB array, or that four of the backup targets are one disk.

Pulse already held every one of those facts, so the map now says them
the way it says the connections it already had: a sentence on hover
and rings on both ends, never a line.

- A machine is joined to everything on it, and its hover counts what
  it runs by box, most first.
- A Proxmox storage shared across a cluster names the nodes it is set
  up on, so a backup target says whose backups it holds and each node
  says where it backs up to.
- A guest is joined to the pool its disk is on (the platform's
  consumer list) and to the pool a share it mounts is on. A mount has
  no name that says where it comes from, so this one is matched by
  size and fill, within 0.05%, and only when exactly one pool fits;
  two different filesystems with data on them almost never come that
  close.
  A backup target is matched to the pool it is stored on the same way.
- A container that other containers use for their network is drawn in
  the box most of them are in, with them after it.

The phone tap test in the map spec scrolled to a tile and then tapped
it. When the live estate redrew the map in between, the scroll held on
to a node that was gone, and the test failed now and then. A tap
scrolls by itself and finds the tile again, so the scroll is gone.

Contract-Neutral: the unified-resources contract is updated in this commit with the rules and their reasons; no rule that frontend-primitives or any other dependent subsystem states changes.
2026-11-20 16:41:34 +00:00
..