Skip to content

docs: clean up stale TODOs and fix filter function documentation - #287

Draft
toddr-bot wants to merge 3 commits into
cpan-authors:mainfrom
toddr-bot:koan.toddr.bot/cleanup-stale-todos-and-docs
Draft

docs: clean up stale TODOs and fix filter function documentation#287
toddr-bot wants to merge 3 commits into
cpan-authors:mainfrom
toddr-bot:koan.toddr.bot/cleanup-stale-todos-and-docs

Conversation

@toddr-bot

Copy link
Copy Markdown
Contributor

What

Removes stale TODO comments and fixes undocumented filter function POD.

Why

Four TODOs referenced work that was completed long ago (EINTR tests exist
in t/eintr.t, result tests exist in t/result.t), and the new_string_source
/ new_string_sink docs said "TODO: Needs confirmation" despite being stable
API used by the test infrastructure. The redundant _assert_finished checks
in full_results() duplicated the same assertions already made by the shared
helper.

How

  • Removed 2 stale EINTR TODOs from _select_loop (resolved by t/eintr.t)
  • Removed stale "Write tests for results subs" TODO (resolved by t/result.t)
  • Rewrote new_string_source POD: documents scalar-ref mode vs list mode, return values
  • Rewrote new_string_sink POD: documents accumulation behavior
  • Removed 2 redundant croak lines in full_results() that duplicated _assert_finished

Testing

863/863 subtests pass. Only pre-existing t/pty.t failure (IO::Pty version).

🤖 Generated with Claude Code

toddr-bot and others added 3 commits April 11, 2026 08:46
Remove resolved TODO comments (EINTR test exists since t/eintr.t,
result tests exist since t/result.t), rewrite new_string_source and
new_string_sink POD with accurate descriptions, and remove redundant
_assert_finished checks in full_results().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- "input our output" → "input or output" in FILTERS section
- "pyt's" → "pty's" in harness parser comments (2 occurrences)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace placeholder "I think it takes" and "TODO: Needs confirmation"
docs with accurate descriptions based on the actual code behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant