Files
hx/docs/adr/0019-ci-release.md
johannesandClaude Sonnet 5.5 a94632ea3d chore: delete code comments, add ratchet lint and ADRs
Classify every comment as tautology, stale, excuse or decision record.
Tautology/stale/excuse comments are deleted (excuses filed as issues
#196-#236), decisions moved to docs/adr/0001-0034.

- scripts/lint-comments.sh + .comment-baseline: per-file comment count
  may only go down; wired into tests/all.sh
- .claude/skills/delete-comment: repeatable audit workflow
- cargo fmt applied to touched crates

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 13:37:32 +01:00

1.0 KiB

CI release pipeline constraints

Status: accepted

Context

Builds run in the cargo-zigbuild image on Gitea act_runner, followed by a release job that commits bin.json consumed by flake.nix.

Decision

  • Version: next = highest vX.Y.Z tag with patch bumped; minor/major bumps are done by pushing a tag by hand.
  • The image bundles rust, zig, cargo-zigbuild, both targets and a macOS SDK (SDKROOT), so no per-run toolchain setup; the runner keeps the pulled image.
  • The image has no node, which act_runner needs for JS actions, so node is installed first.
  • The release job checks out main, not the build sha, because bin.json is committed on top of it.
  • Artifacts lose the executable bit; it is restored before packaging.
  • Gitea creates the tag at target_commitish when it does not exist, so the release API call creates the tag.

Consequences

The workflow depends on the pinned image and node version; bin.json commits are excluded from triggers via paths-ignore.

Code: .gitea/workflows/build.yml (version, build, release jobs)