Repository navigation
turri 0.4.0
npm install -g @turri-dev/cli
turri doctorNew
- Launches across a
requireschain replace one another: each module of a chain is launched from its own codebase, so the server of the module below used to keep its port and every launch above it failed. Now a launch stops what launches of the modules below it started - their code is in it - waits for one of them under way, and says what it stopped. The newest build of the chain is what answers at its URL. - A launch takes what turri's own launches hold: a port held by a server another module's launch started is taken, and said; anything else such a server holds - a socket, a lock or pid file, a container name - the launch agent frees with
stop_launched. A process turri did not start, or another running turri's, is never stopped. - What holds a port is said truthfully: this turri's launch, an earlier session's, another turri still running, or a program turri did not start - with the launch, module and commit, and how you free it from the chat. No launch claims a server turri started is someone else's.
- The sentinel tests a lower module's pulse in the launch above it, which holds its code, and asks turri what holds a port with
who_holds- its sandboxed shell cannot see other processes.
Fixed
- Two modules' servers with the same name no longer stop each other, and turri no longer loses track of one.
- A launch exports the module it was asked for, even when a module is built on it meanwhile.
activategives its log's whole path, so the launch summary points at the right file.turri init-confignamesturri doctoronce, without the removed--models.
For hosts
- A launch's
summaryis the launch agent's words alone - where it runs, or why it did not come up. What turri stopped for it isstopped: one entry a process -why(below,held,left-behind),module,launch,commit,name,pid,url,held- filled in as it happens.launchText(launch)puts the two together as the chat reads them;LaunchStoppedis exported with it. - A launch whose servers a newer launch stopped comes again through
onLaunchwithreplacedBy- which may now name a launch of another module. - New ledger events:
launch.freedandlaunch.replaced.