From 7ec130fabf2898f4cf94dfc1d33d577e3cd859ce Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Tue, 16 Jun 2026 13:54:23 -0400 Subject: [PATCH] Lower the unmatched-ACL-target log to debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A build against a production database emits one warning per grant whose target object the project does not track — extension-owned, foreign, or platform-managed (e.g. RDS) objects — dozens of them on a real schema. The grant is still emitted regardless, so the warning is noise, not a problem. Drop it to debug. Co-authored-by: Claude --- src/build/acls.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/build/acls.rs b/src/build/acls.rs index 5a93414..1a08d1e 100644 --- a/src/build/acls.rs +++ b/src/build/acls.rs @@ -112,7 +112,10 @@ pub(super) fn dump_acls( owner = item_owner; } } - None => log::warn!( + // common and benign: grants on extension-owned, + // foreign, or platform-managed (RDS) objects the project + // does not track; the grant is still emitted + None => log::debug!( "ACL target {keyword} {target} not found in the project" ), }