Changelog of jera
Semantic versioning; each release is checked with cargo semver-checks against the one before.
0.3.1 (unreleased)
Additive (cargo semver-checks against crates.io 0.3.0: no semver update required).
- A chain queue can be closed when its domain goes away:
ChainQueue::close(why)stops the waiting units (each gets a STOPPED row that says why), and a later submit is STOPPED at once and returnsAcceptedwith the id of that row. The running unit is let finish, and a unit that defers to a busy machine never starts.is_closed()tells whether the queue was closed, andidle()waits until no unit runs. nornir'sWorkspaces.Removecloses a workspace's lanes and waits for them before its purge. - A running unit finds its own job id on the queue:
ChainQueue::job_id_of(key)gives the id of the unit queued underkey, set before the unit can start (nornir's backfill sweep read it from its submitter, which a fast first turn could beat). - RED 91ef03ae, GREEN 652980c5.