feat(ci): three-tier viewing with per-forge live tail#31
Merged
barrettruth merged 2 commits intomainfrom Apr 3, 2026
Merged
Conversation
Problem: CI log viewing was a one-shot fetch into a parsed buffer with no live updates. GitHub had no summary view, and forges with real per-job live tailing (GitLab, Codeberg) weren't using it. Solution: add three-tier CI viewing — picker → summary → log. GitHub runs open a summary buffer (`gh run view`) with `<cr>` on job lines to drill into parsed logs. GitLab/Codeberg in-progress jobs open a live-tailing terminal (`glab ci trace`, `tea --follow --job`). All in-progress views auto-refresh on a configurable timer (`ci.refresh`). Add `split` config (global + `ci.split` override), `term.lua` module, `live_tail_cmd`/`watch_cmd`/`run_status_cmd` forge interface methods.
cd89400 to
d243e55
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
CI log viewing was a one-shot fetch into a parsed buffer with no live
updates. GitHub had no summary view showing job statuses at a glance.
Forges with real per-job live tailing (GitLab
glab ci trace,Codeberg
tea --follow --job) weren't leveraging it.Solution
Three-tier CI viewing: picker → summary → log.
<cr>on a run opens a summary buffer (gh run view)with job statuses, durations, annotations.
<cr>on a job linedrills into the full parsed log with folds and navigation.
completed jobs use the existing parsed buffer.
(
ci.refresh, default 5s,0to disable). Auto-scrolls if cursoris at bottom, preserves position otherwise.
split(global) +ci.split(per-scope) for split direction.<c-w>watch: secondary action forgh run watch/glab ci viewin a terminal.
New forge interface methods:
live_tail_cmd,watch_cmd,run_status_cmd,view_cmd. New module:lua/forge/term.lua.