Build log renders blank for long logs; add steps, jump and search #15

closed cmc opened this on 2026-09-28 03:18 UTC · bug builds

Discussion

cmc 2026-09-28 03:18 UTC

A long build log renders blank.

Build krz/gitbay#1510 (1,364 lines) opens to the header and an empty area; the scroll indicator shows the content is there but nothing draws. BuildDetailView.swift:103-116 puts the whole log in one Text inside ScrollView([.horizontal, .vertical]), which does not render at that size. A failed test log cannot be read in the app.

The view also loads once (BuildDetailViewModel.swift:30-40, pull-to-refresh only), opens at the top, shows no duration, and is one VoiceOver element.

  • Render the log as lines in a LazyVStack, grouped per $ step, with the failed step expanded.
  • "Jump to failure" / "Jump to end" in the toolbar, and .searchable.
  • Poll every 3s while pending or running, cancelled on disappear.
  • Duration next to "finished".

Server side (failed step and duration on the build) is filed in krz/gitbay.

closed by cmc in commit dba776f59e: Build log: lines per step, jump, search, polling (!137)

2026-09-30 02:15 UTC

referenced in commit 9a3cb9402a by cmc: Bump to 1.7.0 (17) (!143)

2026-09-30 02:46 UTC