fix(agent): minimal env and explicit project dir for compose, resolve every config file's symlinks (#7)

This commit is contained in:
2026-10-12 19:13:25 +02:00
parent 8b2c10cc05
commit 93ba6915b9
8 changed files with 86 additions and 25 deletions
+5 -2
View File
@@ -75,8 +75,11 @@ func run() error {
func logMounts(ctx context.Context, cli updater.SelfInspector, selfID string, log *slog.Logger) {
roots, err := updater.MountRoots(ctx, cli, selfID)
if err != nil || len(roots) == 0 {
log.Warn("no_stack_mounts", "error", err,
"hint", "Compose updates will fail; mount each stacks directory at the same path, read-write")
attrs := []any{"hint", "Compose updates will fail; mount each stacks directory at the same path, read-write"}
if err != nil {
attrs = append(attrs, "error", err)
}
log.Warn("no_stack_mounts", attrs...)
return
}
log.Info("stack_mounts", "roots", roots)