fix(agent): give the override file the owner of the stack (#24)

This commit is contained in:
2026-10-13 09:20:40 +02:00
parent 1664e47183
commit 92b1a0835e
3 changed files with 117 additions and 0 deletions
+3
View File
@@ -98,6 +98,9 @@ DATABASE_URL=postgres://... go test -tags integration ./internal/master/store/
without the other has caused a fix commit already.
- **`<summary>` C# convention from global CLAUDE.md does not apply here** — this
is Go. Use idiomatic GoDoc (`// FuncName does X.`).
- **The override file gets the owner of the existing override, else of the stack's first
compose file.** The agent runs as root and renames a new file into place; it chowns it
afterwards. A failure is a `warning:` line in the job output, never a failed job.
- **Compose loads only one override file.** Of `compose.override.yml`,
`compose.override.yaml`, `docker-compose.override.yml`, `docker-compose.override.yaml`
only the first that exists is read. Hence the refusal described above.