Skip to content

fix(list): restore task progress in the loading footer - #4620

Merged
max-sixty merged 3 commits into
mainfrom
codex/restore-list-task-progress
Oct 28, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/restore-list-task-progress

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Restore the completed/total task counter removed in #4333 while keeping the inventory and clipped-row counts. The initial frame says “loading details…” until the task plan exists, then shows N/M tasks complete, including results for off-screen rows. Progress comes first so it remains visible in narrow terminals; stalled loading keeps the counter and identifies pending work.

PTY regressions cover full and clipped tables at 150 and 60 columns, checking monotonic progress and matching totals. A gated summary task exercises the actual stall callback at 1/2 complete, then verifies progress reaches 2/2 after release. All 12 focused progress/stall tests passed, and live Leaf checks passed at 80 and 60 columns.

This was written by Codex on behalf of max-sixty

worktrunk-bot
worktrunk-bot previously approved these changes Oct 28, 2026

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codecov/patch fails at 90.9% (20/22 added lines covered). Its two misses are the new s.completed_results and total_results arguments in the DrainEvent::Stall callback in src/commands/list/collect/mod.rs. The formatter snapshots call format_stall_footer directly, while the new PTY test finishes before the five-second stall threshold, so neither verifies that the live stall footer receives the counter. Exercise that callback in a focused test to cover the wiring and clear the patch coverage gate. I’m withdrawing my approval under the Coverage section of AGENTS.md until that gate passes.

@worktrunk-bot
worktrunk-bot dismissed their stale review October 28, 2026 05:15

codecov/patch failed at 90.9% on the reviewed head.

@max-sixty
max-sixty merged commit b131f1a into main Oct 28, 2026
38 checks passed
@max-sixty
max-sixty deleted the codex/restore-list-task-progress branch October 28, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants