forked from Ports/goldeneye-pc-port
ci: recalibrate §F size budget to 180 KB (table ~55 KB + legacy narrative ~110 KB)
The 150 KB threshold assumed the §F region was table-only, but it also holds ~92 KB of pre-ctx-opt D24–D33 bullet narrative plus the M-111/M-113 write-ups. The regression signal is fat ROWS re-accumulating (table is now ~55 KB), so the budget sits ~15 KB above today's 166 KB total.
This commit is contained in:
1 parent
093e428639
commit
c2b42db275
1 file changed
+5
-1
@@ -143,8 +143,12 @@ jobs:
|
||||
# sections at the file tail (lookup path: docs/dev/findings-index.csv).
|
||||
- name: Check dev-docs size budgets (warn only)
|
||||
run: |
|
||||
# Budget = ~55 KB of table rows + ~110 KB of legacy D24–D33 / M-xxx
|
||||
# narrative that predates the ctx-opt migration. The signal is fat
|
||||
# ROWS re-accumulating, so the threshold sits ~15 KB above today's
|
||||
# 166 KB total.
|
||||
f=$(awk '/^### F\./{f=1;next} /^### G\./{f=0} f' docs/dev/findings.md | wc -c)
|
||||
[ "$f" -le 153600 ] || echo "WARNING: findings.md §F table region is $f bytes (> 150 KB) — fat rows accumulating; migrate cell content to ## Dxx sections"
|
||||
[ "$f" -le 184320 ] || echo "WARNING: findings.md §F region is $f bytes (> 180 KB) — fat rows accumulating; migrate cell content to ## Dxx sections at the file tail"
|
||||
p=$(wc -c < docs/porting-notes.md)
|
||||
[ "$p" -le 122880 ] || echo "WARNING: porting-notes.md is $p bytes (> 120 KB) — consider splitting or adding a TOC block"
|
||||
|
||||
|
||||
Reference in new issue
Block a user