summaryrefslogtreecommitdiff
path: root/internal/certbot/certbot.go
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-08-07 00:03:04 -0500
committerClaude <noreply@anthropic.com>2026-08-07 00:03:04 -0500
commitd1e1c226d9a63432c652d373c039a3ae4430f3a2 (patch)
tree79b72917b757f6807c1beb9872efc2ea694cce6d /internal/certbot/certbot.go
parentf34ba20fc566ab861179a8ac2fd55eaabbc6a327 (diff)
Guard deploys and config changes against leftover state on retry
- Extract deploy.Run's snapshot -> apply -> restart -> health-check -> rollback-on-failure sequence into deploy.GuardedApply, shared with cmd/skiff's applyConfigChange, which duplicated it verbatim. - Clean up the worktree and snapshot a deploy creates when it fails before cutover (e.g. a failing release-phase migration), so retrying the same sha no longer needs manual cleanup. - Make checkout and snapshotting idempotent for a same-sha retry after a cutover that later got rolled back on a failed health check, where the release dir and snapshot are deliberately left behind by design. - Document the actual cause of a jail not surviving a host reboot: FreeBSD ships no /etc/jail.conf, so boot-time `service jail start` finds nothing to start regardless of jail.conf.d - only name-targeted starts read jail.conf.d directly, which is why manual starts worked.
Diffstat (limited to 'internal/certbot/certbot.go')
0 files changed, 0 insertions, 0 deletions