Skip to content

Point two comments at functions that exist - #614

Merged
jeremy merged 1 commit into
mainfrom
ci/fix-stale-comment-refs
Aug 4, 2026
Merged

Point two comments at functions that exist#614
jeremy merged 1 commit into
mainfrom
ci/fix-stale-comment-refs

Conversation

@jeremy

@jeremy jeremy commented Aug 4, 2026

Copy link
Copy Markdown
Member

Comment-only. Both were flagged by Copilot on #612 and judged real but
non-blocking, so I did not move that PR's reviewed head for them. Follow-up now
that #612 has merged.

filterTodosByAssignees does not exist in this repository. The
project-scoped assignee note it points at lives in listTodosInList
(internal/commands/todos.go). Redirected there, and the reference now states
what the note says — the endpoint has no assignee parameter, so the flag is
applied client-side over an unlimited fetch — so it is useful without following
it.

The second is mine, from #612. I renamed rejectEmptyTaskFilterValues to
validateTaskFilterValues when it took on the --due token check, and left its
doc comment naming the old function. The comment also now mentions the token
check it gained.

bin/ci exit 0. No behaviour change.


Summary by cubic

Fix two doc comments: project-scoped --assignee now points to listTodosInList with a note on client-side filtering, and validateTaskFilterValues mentions the --due token check. No behavior change.

Written for commit b855095. Summary will update on new commits.

Review in cubic

accountwide.go referred readers to filterTodosByAssignees, which is not
a function in this repository — the project-scoped assignee note lives
in listTodosInList. Point there, and say what the note actually says so
the reference is useful without following it.

The second is mine from #612: I renamed rejectEmptyTaskFilterValues to
validateTaskFilterValues when it took on the --due token check, and left
its doc comment naming the old function.
Copilot AI balanced review requested due to automatic review settings August 4, 2026 04:17
@github-actions github-actions Bot added the commands CLI command implementations label Aug 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jeremy
jeremy merged commit b149a09 into main Aug 4, 2026
24 of 25 checks passed
@jeremy
jeremy deleted the ci/fix-stale-comment-refs branch August 4, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands CLI command implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants