Open
Conversation
Route empty and non-empty task output through the same formatter path so the footer is always emitted. Add coverage for the empty-state summary and zero-total filtered output.
Normalize the status bucket prefix so the footer renders cleanly when no statuses are present. Add a regression test for the zero-bucket case.
Update the top-level changelog entries and locked dependency versions to capture the latest package release state.
Add a retrospective entry covering the empty-list footer fix, lessons learned, and next steps.
Advance the task spec from in progress to done after the formatter and test updates landed.
4f710e9 to
6d834a5
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.
📋 Summary
ace-task listconsistently shows the stats footer even when filters produce no tasks, so reviewers still see global context (0 of Nand folder totals).ace-task, hardening zero-status formatting inace-support-items, and finalizing release/task metadata for the shipped behavior.✏️ Changes
TaskDisplayFormatter.format_list: consolidated empty and non-empty list rendering through one shared stats-line return path, keeping footer behavior consistent.StatsLineFormatter: fixed zero-status formatting so empty summaries render asTasks: • 0 totalwithout malformed spacing.ace-task,ace-support-items, and root changelogs/versions to reflect the final delivered state.📁 File Changes
🧪 Test Evidence
StatsLineFormatterTest(ace-support-items/test/atoms/stats_line_formatter_test.rb) — validates zero-status formatting fallback;20 tests, 27 assertions, 0 failures, 0 errors.ListTest(ace-task/test/commands/list_test.rb) — verifies command-level empty-list output includes the footer;8 tests, 32 assertions, 0 failures, 0 errors.TaskDisplayFormatterTest(ace-task/test/molecules/task_display_formatter_test.rb) — verifies empty-list footer plus0 of Nfolder-summary behavior;30 tests, 101 assertions, 0 failures, 0 errors.📦 Releases
ace-support-items v0.15.4— fixed empty-status footer formatting and added regression coverage.ace-task v0.31.1–v0.31.3— delivered footer-on-empty behavior, aligned formatter output, and added command/formatter regression assertions.project v0.9.926–v0.9.928— recorded final shipped fixes and test hardening in the root changelog.🎮 Demo
Run
Expected Output
No tasks found.
Tasks: • 0 of 313 — archive 301 | maybe 10 | next 2
Artifacts
No generated files; output is printed directly to stdout.