Skip to content

morca-mojo 0.42.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:11
614dae1
  • Links to the code after a run in an image: a pipeline whose runs record a different image than morca register did keeps the links to its code on its page and on its runs' pages; they had gone once a run started. (#584)

  • Steadier kind tests: the deploy test waits for a run to record its version, and the kind test prints more when it fails. (#585)

  • Self-hosted pools: a [pools.<name>] without a provider is a pool whose machines join by hand, any pool can give its workers max_runs, env and secrets, and morca host list|drain|undrain|remove drains and removes a pool's machines. (#587)

  • A pipeline's working set, probed: with learn = "working_set" (and probe_every = N) in morca.toml, the scheduler lowers a probed local or control-placed run's memory.high against its memory pressure, records the working set it held beside the peak, and learns auto memory from it once 3 runs have one. (#588)

  • Runs may offload to swap or zswap: MORCA_RUN_SWAP_PCT (default 0, as before) lets each run's cgroup keep that percent of its limit in swap, so a run a little past its grant slows down instead of being held and killed; each attempt records what it offloaded, learned requests count it, and the Hetzner deploy can turn the server's zswap on with ZSWAP (tools 0.39.0). (#589)

Deploying on Hetzner (docs/hetzner.md), with no checkout of morca: the deploy tools are morca-hetzner 0.39.0. You need new ones only when deploy.sh says so, or the changelog names a change to them.

curl -fsSL https://github.com/morca-dev/morca/releases/download/v0.42.0/morca-hetzner-0.39.0.tar.gz | tar -xz