Skip to content

Commit 4587dbe

Browse files
K2GO-417 feat(forgejo): show the install size in the module detail
refreshModuleSizes captured a hardcoded module allowlist that omitted forgejo, so the detail showed "NA". Add forgejo to the allowlist so the build captures the forgejo role disk delta (df after minus before) from the full-tier bake log into module_sizes.csv. The detail now shows about 104 MiB. Forgejo is a single static Go binary, so the role footprint is almost entirely the binary (no APT deps). The other modules refresh to the current bake numbers in the same pass.
1 parent 117f87b commit 4587dbe

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎controller/app/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ task refreshModuleSizes {
648648
def csv = file('src/main/assets/module_sizes.csv')
649649
doLast {
650650
def url = 'https://pub-d64c885cef6c42db8c7925144d73d0ee.r2.dev/build-full-arm64-v8a.log'
651-
def wanted = ['kolibri', 'kiwix', 'calibreweb', 'code'] as Set
651+
def wanted = ['kolibri', 'kiwix', 'calibreweb', 'code', 'forgejo'] as Set // K2GO-417: capture the forgejo role's full disk delta (df after - before)
652652
def pat = ~/(\w+)_disk_usage\s*=\s*(\d+)/
653653
def fetched = [:]
654654
try {
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# module,bytes,fetched_date -- AUTO-GENERATED by the refreshModuleSizes Gradle task; do not edit by hand
2-
calibreweb,1572274176,2026-09-03
3-
code,610934784,2026-09-03
4-
kiwix,74387456,2026-09-03
5-
kolibri,419401728,2026-09-03
2+
calibreweb,1577033728,2026-09-25
3+
code,602136576,2026-09-25
4+
forgejo,109047808,2026-09-25
5+
kiwix,74067968,2026-09-25
6+
kolibri,419397632,2026-09-25

0 commit comments

Comments
 (0)