A run-once step names what it reads and runs again when it changed (ADR 0099) #18

Merged
jschoubben merged 1 commits from multiple-fixes into main 2026-09-21 21:58:46 +00:00
Owner
  • The declaration parser no longer refuses a run-once container with restart-on. The step's marker is its digest, and the digest includes the digest of every resource it names, so a step whose named file was rewritten runs again and gates what follows, as it did the first time (novox/hq ADR 0099, issue 077).
  • Two new tests: a run-once step naming a file runs again when the file changed and not when it did not; a container naming a run-once step is recreated after the step ran, with the step as the stated reason.

go vet and go test ./... pass. Companion MRs on multiple-fixes: mesh-controller, mesh-catalog, mesh-lab, hq.

- The declaration parser no longer refuses a run-once container with `restart-on`. The step's marker is its digest, and the digest includes the digest of every resource it names, so a step whose named file was rewritten runs again and gates what follows, as it did the first time (novox/hq ADR 0099, issue 077). - Two new tests: a run-once step naming a file runs again when the file changed and not when it did not; a container naming a run-once step is recreated after the step ran, with the step as the stated reason. `go vet` and `go test ./...` pass. Companion MRs on `multiple-fixes`: mesh-controller, mesh-catalog, mesh-lab, hq.
jschoubben added 1 commit 2026-09-21 21:45:08 +00:00
jschoubben merged commit 0ed8914c07 into main 2026-09-21 21:58:46 +00:00
jschoubben deleted branch multiple-fixes 2026-09-21 21:58:46 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-host#18