From 64e000de13aae7b91eed083de5c4ca49b2d83fc6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 23 Apr 2026 14:22:33 -0500 Subject: [PATCH] [ci] Tighten import-time margin to 15% MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI measured 126.2ms against 123ms baseline + 25% ceiling (153.8ms). That's 27.6ms of headroom — enough slack that a real regression could hide under it. Drop to 15% (ceiling 141.5ms, ~15ms headroom over observed). Still well above GHA runner variance, tight enough to catch the class of regression we care about (zeroconf-style top-level import additions). --- script/import_time_budget.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_time_budget.json b/script/import_time_budget.json index 97b4f7456c..1e656dc977 100644 --- a/script/import_time_budget.json +++ b/script/import_time_budget.json @@ -1,5 +1,5 @@ { "target_module": "esphome.__main__", - "margin_pct": 25, + "margin_pct": 15, "cumulative_us": 123000 }