You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make task listing explicit about pagination: --page, --limit and --all support complete retrieval, preserve filters and reject inconsistent page responses. Table/CSV output warns on stderr when results are partial.
Status names resolve in the selected workspace, including negation. Milestone names require an exact, unambiguous workspace match across all pages. Parent keys work in create/edit; task edit --parent 0 sends JSON null to remove the parent, while omission preserves it.
Verified: the complete external CLI test package, focused task tests with the race detector, CLI go vet and go test ./cmd/ws. Real HTTP regression tests on SQLite verify persisted parent removal and preservation, not just a stub response. These tests are on the companion test branch, whose wider migration remains incomplete.
Fixed: --all now checks the number of unique collected items against the final response's total_items before returning success. An incomplete result returns an error without partial output.
The new regression reproduces the original bug and covers empty, duplicate, partial and overfull final pages, plus complete results with and without overlap. The complete CLI package passes with the race detector; go vet passes too.
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
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.
Make task listing explicit about pagination:
--page,--limitand--allsupport complete retrieval, preserve filters and reject inconsistent page responses. Table/CSV output warns on stderr when results are partial.Status names resolve in the selected workspace, including negation. Milestone names require an exact, unambiguous workspace match across all pages. Parent keys work in create/edit;
task edit --parent 0sends JSON null to remove the parent, while omission preserves it.Verified: the complete external CLI test package, focused task tests with the race detector, CLI
go vetandgo test ./cmd/ws. Real HTTP regression tests on SQLite verify persisted parent removal and preservation, not just a stub response. These tests are on the companion test branch, whose wider migration remains incomplete.