From 594cd55084d9d76ade1d78c691dae7e3946eae3c Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 13 Jun 2026 00:12:44 +0700 Subject: ci(metrics): collapse <1% size changes in Size Difference Report Wrap the "Changes <1% in size" section in a
block like the "No changes" section, so the report comment only expands changes >1%. Co-Authored-By: Claude Fable 5 --- tools/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/metrics.py b/tools/metrics.py index b7aa056e4..d716cb2a5 100644 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -425,7 +425,7 @@ def write_compare_markdown(comparison, path, sort_order='size'): md_lines.append("") render("Changes >1% in size", significant) - render("Changes <1% in size", minor) + render("Changes <1% in size", minor, collapsed=True) render("No changes", unchanged, collapsed=True) with open(path, "w", encoding="utf-8") as f: -- cgit v1.3.1