From a9e5e4d6d223785117a4facee0ad73f8d9118b52 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 17 Oct 2025 15:14:00 -1000 Subject: [PATCH] tweak --- script/ci_memory_impact_comment.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/script/ci_memory_impact_comment.py b/script/ci_memory_impact_comment.py index 140bd2f08e..2b747629d5 100755 --- a/script/ci_memory_impact_comment.py +++ b/script/ci_memory_impact_comment.py @@ -157,8 +157,14 @@ def create_symbol_changes_table( target_str = format_bytes(target_size) pr_str = format_bytes(pr_size) change_str = format_change(target_size, pr_size) - # Truncate very long symbol names - display_symbol = symbol if len(symbol) <= 80 else symbol[:77] + "..." + # Truncate very long symbol names but show full name in title attribute + if len(symbol) <= 100: + display_symbol = symbol + else: + # Use HTML details for very long symbols + display_symbol = ( + f"
{symbol[:97]}...{symbol}
" + ) lines.append( f"| `{display_symbol}` | {target_str} | {pr_str} | {change_str} |" ) @@ -261,8 +267,8 @@ def create_detailed_breakdown_table( # Build table - limit to top 20 changes lines = [ "", - "
", - "📊 Component Memory Breakdown (click to expand)", + "
", + "📊 Component Memory Breakdown", "", "| Component | Target Flash | PR Flash | Change |", "|-----------|--------------|----------|--------|",