v0.57.1
Terrapod is a free, open-source, self-hosted platform replacement for Terraform Enterprise / HCP Terraform. This patch hardens the run-task path.
Bug Fixes
- A workspace with a run task can no longer accumulate duplicate task stages under concurrency. A
UniqueConstraint(run_id, stage)now enforces one task stage per run boundary at the database level, closing a narrow cross-replica race where the run reconciler and the runner's plan-result callback could both create apost_planstage. Stage creation is now race-safe (it returns the winning stage on conflict), and the upgrade migration de-duplicates any pre-existing rows before adding the constraint. Follow-up to the run-task wedge fix in v0.57.0.
Status
Beta — actively developed; the core platform is usable end to end.
Full Changelog: v0.57.0...v0.57.1