From d3db8c3d04b1092a72b6f927f97c0d4e347512cc Mon Sep 17 00:00:00 2001 From: Samuel K Date: Tue, 28 Jul 2026 19:03:06 -0500 Subject: [PATCH] fix(agent): soften binary source fallback log wording AcquireBinary tries a prioritized chain of sources (env override, injected, cache, download) and logs every miss at debug level as it falls through to the next one. The env-var override is checked first specifically so operators can set it, but almost never is -- so "source local path override (DEVSY_AGENT_BINARY) failed: ..." showed up on nearly every run, reading like an error for what's actually the expected, common case of an unused optional source. --- pkg/agent/binary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/binary.go b/pkg/agent/binary.go index bac72614f..ef15f7426 100644 --- a/pkg/agent/binary.go +++ b/pkg/agent/binary.go @@ -83,7 +83,7 @@ func (m *BinaryManager) AcquireBinary(ctx context.Context, arch string) (io.Read log.Debugf("acquired binary from %s", source.SourceName()) return binary, nil } - log.Debugf("source %s failed: %v", source.SourceName(), err) + log.Debugf("source %s unavailable, trying next: %v", source.SourceName(), err) } return nil, ErrBinaryNotFound }