build(toolchain): declare infra-tracker's toolchain in the repo and install it with make deps #29
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/tr33-toolchain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The repo's toolchain stops being a fact about the operator's machine and becomes a fact about the repo.
mise.tomldeclares the tools the targets call,mise.lockpins what those requests resolved to,vikunja/service/requirements.ymldeclares the collection the playbook uses, andmake depsis the one install step. A target is reached through the manager:mise exec -- make <target>.Ticket: TR-33 — infra-tracker declares and installs its toolchain from the repo. No Forgejo issue covers this work, so the body carries no closing keyword.
Evidence
mise,tofu,ansible-playbookoruv, and whoseHOMEis empty — a fresh clone'smake validatedies at the first target:tofu: command not found,make: *** [Makefile:194: validate] Error 127.After: the same clone, the same PATH,
make deps→ rc=0: it installs the manager2026.10.8, then4/4tools from the lock (uv 0.13.0, opentofu 1.12.6, python 3.13.16, ansible-core 2.21.5), thencommunity.postgresql:5.0.0intovikunja/service/collections/. A secondmake depsis a no-op that names the version it found.mise exec -- make fmt→ rc=0 andmise exec -- make validate→Success! The configuration is valid.on both stacks, withgit status --porcelainempty afterwards.Merge Danger
Door: two-way. The change adds declarations, a lock file and one Make target; nothing is destroyed. Reverting the commit returns the repo to a machine-provided toolchain — what the host's
make depsleft installed (~/.local/bin/mise,~/.local/share/mise) stays, which is a host fact, not repo state.Blast Radius: whole-repo. Every documented invocation of every target changes at once, and the README/AGENTS.md that agents read say so. A machine that never runs
make depsseesmise execfail withcommand not foundrather than a silent fall back to a host installation — the failure the ticket asks for.The collection the playbook calls moves from whatever the account happened to have in
~/.ansible/collectionsto the repo's own path;ansible.cfgnow points at that path alone, verified byansible-config dumpshowing a singleCOLLECTIONS_PATHSentry in aHOMEthat has no user-level collections at all.review:
olympus/infra-tracker#29· heade5c7fa45b290b3392b75a2e63a3f03ae0ab72364· round 1/5 · verdict: no blockersRecommendation: merge
Spec: TR-33 — infra-tracker declares and installs its toolchain from the repo (Vikunja task id 40, index 33; the PR body links it). Its seven acceptance criteria are the contract.
Standards: the repo writes down
AGENTS.md(the wrapper line and the PR-body format),GLOSSARY.md,docs/agents/*anddocs/adr/*; there is noCONTRIBUTING.mdand no coding-standards file, so that axis is judged against those sources plus general good practice and the Fowler smell baseline, and I say so here.Round: the PR timeline carries no earlier review and no comments, so this is round 1, and the dispatch's
1/5matches it.refs/pull/29/headresolves toe5c7fa4…, equal to the PR object'shead.sha, so that is the revision judged.What I reproduced
Fresh
HOMEplusPATH=/usr/local/bin:/usr/bin:/bin, against a clone pinned torefs/pull/29/head— a machine holding none of the declared tools, which is the environment the ticket names.make validate→/bin/bash: line 2: tofu: command not found,make: *** [Makefile:194: validate] Error 127— the same line the body cites, read off my own run.make fmt→Makefile:191, Error 127. Nothing in the Makefile adds a PATH, so there is no fallbackmake depsrc=0 →installing mise 2026.10.8→mise 2026.10.8 linux-x64→installed 4 tools in 13.6s: uv 0.13.0, opentofu 1.12.6, python 3.13.16, pypi:ansible-core 2.21.5 →community.postgresql:5.0.0 was installed successfully. Second run:mise 2026.10.8 … is already installed,4/4 · installed 0 tools,All requested collections are already installed, rc=0mise install --lockedaccepted the committed lock and installed exactly the versionsmise.tomlnames; the pypi tool resolved through the committed.mise/locks/…/uv.lockmise exec -- make validate→Success! The configuration is valid.on both stacks;mise exec -- make fmtrc=0;git status --porcelainempty afterwardsvikunja/service,ansible-config dump(pinned ansible-core 2.21.5) →COLLECTIONS_PATHS(vikunja/service/ansible.cfg) = ['…/vikunja/service/collections'], a single entry;git check-ignore→.gitignore:12 vikunja/service/collections/README.md:16-20andREADME.md:41-71,AGENTS.md:3-6; no issue link in eithermise.tomldeclares uv, opentofu, python, pypi:ansible-core and nothing else; the Makefile callsprintf read curl grep sed awk bash sh,tofu,ansible-playbook,ansible-galaxy— no host utility, and neithermakenorcurl, is declaredNot verified: any platform other than linux-x64 (the lock carries the others; I ran one); the mutating targets and
service-check/guest-plan/edge, which need the root.envand a live API — no criterion claims them. The author's## Evidencetranscript is not in the diff, so I re-ran its load-bearing assertions by hand rather than restating its numbers.Standards
No findings. The diff keeps the shape of what it sits among: heading form and prose in
AGENTS.md, the:=-aligned variable block with a comment above saying why in theMakefile, the fencedshblock inREADME.md. Theansible.cfgkey is the right one — ansible-core's own definition givesCOLLECTIONS_PATHSthe ini keycollections_pathin[defaults](ansible/config/base.yml:287-303of the pinned 2.21.5), and the dump above shows it honoured rather than ignored.requirements.ymland the gitignore entry are the shape the sibling repo already uses (infra-forge/ansible/requirements.yml,infra-forge/ansible/ansible.cfg:8). No baseline smell to name: no duplicated logic, no speculative generality — the declaredpythonis load-bearing, as the pypi install logs (Using CPython 3.13.16 interpreter at: …/installs/python/3.13.16/bin/python). The head commit's lower-case “target” is right for this repo:GLOSSARY.md §Targetgives capital-T Target to the environment a test run drives, so the make verb must not take that word.Spec
docs/reference/guest.md:51— the one documented invocation left bare no longer runs as writtenREADME.md:45— “reads a local SSH public key at plan time” understates when the key is readS1 — ADVISORY —
docs/reference/guest.md:51. The change moves every declared tool behind the wrapper; thisshblock (tofu import proxmox_download_file.debian_13_base …) is the one documented invocation it did not. On a machine set up by the new README flow —make deps, then~/.local/binonPATH— a baretofuis unreachable:~/.local/binholdsmisealone, with no tool shims, so the command givestofu: command not found(rc=127), whilemise exec -- tofu versionanswersOpenTofu v1.12.6. The PR's own Merge Danger says every documented invocation changes at once and “the README/AGENTS.md that agents read say so” — the README and AGENTS.md do; this page does not. Smallest fix: wrap the line asmise exec -- tofu import ….S2 — ADVISORY —
README.md:45withvikunja/guest/keys.tf:3. The rewritten Running section keeps “the Guest stack reads a local SSH public key at plan time”, but the key is read by alocals file()thatvalidateevaluates too, somake validate— the non-mutating check that same section now tells you to run through the wrapper — is not green on a clone whoseHOMEhas no~/.ssh/id_ed25519_ansible.pub:Error: Invalid function argument … on keys.tf line 3→make: *** [Makefile:194: validate] Error 1. With a throwaway key at that path, validate is green on both stacks (the row above). The failing line is untouched by this diff, so this is not a defect the change introduced and it does not block; but AC3's “on a clean clone … runs green” is wider than “at plan time”, and one clause closes it.Summary
Verdict: merge. The repo is better off with this change: the toolchain is a fact about the repo rather than about the operator's machine, the one install step honours its lock on a machine that has none of the tools, and the files an operator or an agent reads first document the invocation correctly.
e5c7fa45b2to8d0075c54fNew commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings