You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
blockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestrefactorCode health / tech debt; no behavior changesize:MSized M against one local session
Caddyfile rendering is Bash string building inside the render slices (33 to 36, about 1,300 raw lines together). Output is a file, so it compares byte for byte, but drift changes a running appliance on apply.
What it impacts
Every apply and render; changed rendered files restart services.
How I found it
Slice sizes on develop (33+34+35+36 is about 1,310 lines). go-port/3811 has native Caddyfile rendering in the caddy*.go files of go/internal/config with tagged comparison groups, Bash still executing apply. Not measured.
How important is it
Medium; smallest render sub-piece, so it goes first.
Acceptance criteria
Go-rendered Caddyfile equals Bash output byte for byte over the existing fixture set and every tier-covered config, via a new parity file.
Existing render and apply suites pass unchanged in both modes.
Go median wall time not above Bash for render dry paths; default flips in the release where all hold, otherwise it rolls.
Possible solutions
Harvest the caddy*.go files of go/internal/config; Bash keeps writing files and holding the lock until a later piece.
Blocked on #4220. Blocked on pithead#4220 (its PR #4527): that PR is what introduces the go/ module (go.mod, the cmd/pithead PITHEAD_GO_HELPER dispatch and handoff contract, the shell-CI go-build step) onto develop-v2.1.0, and the base has no go/ tree today while piece issues must not create go/ on their own branch — so #4222 has nothing to build or test against until #4527 merges. Finished so far (worktree clean, no commits, none possible): full recon and a validated plan. The Bash hook is generate_caddyfile in lib/pithead/35-caddyfile-and-auth-helpers.sh — add a _pithead_impl_selected caddy-render branch that keeps Bash writing the file and holding the lock, and keeps site-name discovery, bind-address probing and cert minting in Bash; the Go side harvests go/internal/config/caddy{,_auth,_bind,_sites}.go from go-port/3811 following #4527's piece shape (helper over NUL-separated fields, tests/stack/standalone parity file comparing Bash vs Go render byte for byte, selection.md default staying bash until parity+timing hold). One hazard found and recorded: the 3811 caddy fragments LAG develop's Caddyfile (no @logs /api/logs streaming route, no onion respond @logs 404), so each fragment must be re-derived byte-exact from the current slice, never copied. Unblocks when #4220 closes (PR #4527 passes review + owner approval and merges); the runner resumes this session then. If the owner prefers piece 5 to stack on #4527's unmerged branch now instead of waiting, that is a one-line exception to the series rule — the default is to wait.
The runner resumes this issue when that one closes.
blockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestrefactorCode health / tech debt; no behavior changesize:MSized M against one local session
Activity
pithead-developer commentedon Nov 27, 2026
Blocked on #4220. Blocked on pithead#4220 (its PR #4527): that PR is what introduces the go/ module (go.mod, the cmd/pithead PITHEAD_GO_HELPER dispatch and handoff contract, the shell-CI go-build step) onto develop-v2.1.0, and the base has no go/ tree today while piece issues must not create go/ on their own branch — so #4222 has nothing to build or test against until #4527 merges. Finished so far (worktree clean, no commits, none possible): full recon and a validated plan. The Bash hook is generate_caddyfile in lib/pithead/35-caddyfile-and-auth-helpers.sh — add a
_pithead_impl_selected caddy-renderbranch that keeps Bash writing the file and holding the lock, and keeps site-name discovery, bind-address probing and cert minting in Bash; the Go side harvests go/internal/config/caddy{,_auth,_bind,_sites}.go from go-port/3811 following #4527's piece shape (helper over NUL-separated fields, tests/stack/standalone parity file comparing Bash vs Go render byte for byte, selection.md default staying bash until parity+timing hold). One hazard found and recorded: the 3811 caddy fragments LAG develop's Caddyfile (no @logs /api/logs streaming route, no onion respond @logs 404), so each fragment must be re-derived byte-exact from the current slice, never copied. Unblocks when #4220 closes (PR #4527 passes review + owner approval and merges); the runner resumes this session then. If the owner prefers piece 5 to stack on #4527's unmerged branch now instead of waiting, that is a one-line exception to the series rule — the default is to wait.The runner resumes this issue when that one closes.