GateSession

What a gate runs on: the calls, the log, the waits, the state of a run, and what it must put back.

In the namespace fleet::gate. Declared in src/libs/libfleet/fleet/gate/GateSession.hpp.

Detailed description

A live gate of the fleet specs buys machines and changes the coordinator's settings. Every change it makes registers its undo with onExit(), and restore() runs them in reverse, also from the destructor, so a gate that fails, or that the person stops, leaves no machine and no changed setting behind (fleet §FLV-3, node-workers §NWV-1). The live drivers before this were untracked Python, and they no longer reached the door after it became one per user.

In this section