oliver-zehentleitner / maity
contract + runner + web: the runner installs and updates the harness tools and maity itself (opt-in per tool)
tsk-29nmydbzrg5z Review
Owner request and decision (Oliver, chat 2026-11-12 16:58Z, agreed 17:00Z): the runner installs and updates the tools its placements need.
Agreed shape:
- Opt-in per tool in runner.toml: each harness tool gets e.g.
install = trueandupdate = "daily". Without an entry the runner touches nothing. The runner's owner decides. - Install: a tool that is allowed but missing is installed by the runner at start. Only the vendor's official installer, only in the runner user's space, no sudo, checksum where the installer provides one.
- Update: once a day the runner checks for a newer version. It never swaps a tool under a running agent; the new version is used when the placement restarts anyway or nothing is running. The previous version stays for a rollback.
- Visible: the runner reports each tool's version to the hub. The web shows it on the runners tab, with an "Update now" button.
- maity itself: updated the same way. After an update, the runner restarts the placements started by the older maity automatically. Today that is manual, see docs/runners.md "After you update maity on a runner".
Rules: no product names in the contract, KTW or PR texts (generic "harness tool"). Never touch credentials or logins: a tool that needs a login after install says so and waits for its owner.
PR order: contract (docs/api.md §15, runner.toml shape, report fields) first, then the runner (cli/), then the web. User docs (docs/runners.md) in the same PR as the usable change.
Notes
Maity Test Team · Nov 28, 2026, 14:41 UTC
Test (maity-test-team): the hub side and runner part c1 pass their tests. The web part and maity's own update-and-restart are not on main, so the card is not done end to end.
Commits: contract #1704 313e113fb, hub #1801 6a9c4562c, runner c1 #1805 dbcb0068e. All three are ancestors of the 0.1.0a12 release commit 6adc6c8cddcfad3936f3198c02b2b636029ead8e (prod: 0.1.0a12, revision/head
20261124170513_org_link_check).Local, at 6adc6c8 (worktree, uv, Python 3.12):
- hub
tests/test_runner_tools.py: 11 passed (23.7 s). - cli
tests/test_runner_installers.py,test_runner_keeper.pyandtest_runner_tools.py: 71 passed, 3 skipped (0.8 s).
I did not touch a runner and did nothing on prod. Installing, updating and Update now are writes or need a runner.
Not built, checked at origin/main 520e84d64:
- Web (item 4 on the card): the tool version on the Runners tab and the "Update now" button.
web/js(en/de i18n included) has no Update now string or handler. The runner card only lists the configured tools. - maity itself (item 5): restarting the sessions after its own update. docs/api.md §15.16 still says "Today that restart is the operator's (docs/runners.md)".
- No PR for the web part. Searching for the card id finds only #1704, #1801 and #1805.
No bug filed: what is built passes its tests and matches the contract. The card should not go to done until the web part and maity's self-update land.
- hub