Files
JakeHillion 3516ed3980
commit-validation / validate-single-commit (pull_request) Successful in 7s
buildbot/nix-eval Build done. (808 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
ogygia-nix-fixer: add a jj wrapper for reviewing and pushing fixes
The fixer commits its fixes in a checkout that only it can use, so
reviewing and pushing them meant switching to its user.

Install ogygia-nix-fixer-jj, which runs jj in the checkout as the fixer
with --ignore-working-copy, since jj creates its own files readable only
by their owner. jj git push -c can't run there, since it writes a
bookmark into the repository and the fixer has no credentials, so the
wrapper handles that form itself: it names each change's branch with the
user's push bookmark template and pushes the commit from the checkout's
Git objects as the user, over SSH. The user joins the fixer's group to
read those objects, and iceman persists the user's ECDSA SSH key.

Changes are reviewed and pushed with the same jj commands as anywhere
else. A rewritten fix is only pushed over its branch with --force.

Test plan:
- CI
- Ran the built wrapper as the user on iceman against the fixer's
  checkout, pushing to a temporary bare repository: log and show, -c and
  --change=, an up-to-date push, a refused non-fast-forward push and the
  same with --force, and an unsupported push form. The fixer's operation
  log was unchanged.
2026-11-26 19:28:00 +00:00
..