Skip to content

todo-handler: check inline PR comments separately from review comments - #10

Merged
aphelps-claude-bot merged 1 commit into
mainfrom
check-inline-pr-comments
Apr 20, 2026
Merged

aphelps-claude-bot merged 1 commit into
mainfrom
check-inline-pr-comments

Conversation

@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Inline (diff) comments (/pulls/<n>/comments) and review-level comments (/pulls/<n>/reviews) are separate GitHub API endpoints — fetching only reviews silently misses all inline feedback.
  • PR Handling step 1 now explicitly lists both API calls and notes they must both be fetched in every pass.
  • Prompted by inline comments on WLED PR Elaborate todo-handler skill with full workflow spec #1 that were missed during idle-mode PR handling.

Test plan

  • Read updated skills/todo-handler/SKILL.md PR Handling section and confirm both API endpoints are listed.

🤖 Generated with Claude Code

Inline (diff) comments live at /pulls/<n>/comments; review-level comments
live at /pulls/<n>/reviews. They are separate API endpoints — fetching
only reviews silently misses all inline feedback.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

@aphelps aphelps left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Good to merge

@aphelps-claude-bot
aphelps-claude-bot merged commit 4a480ec into main Apr 20, 2026
@aphelps-claude-bot
aphelps-claude-bot deleted the check-inline-pr-comments branch April 20, 2026 05:40
aphelps-claude-bot added a commit that referenced this pull request Jul 30, 2026
ArduinoLibs bceedb3 (#10) -- four receive-path defects fixed, plus test/: the first
test infrastructure in that repo (45 assertions, each with a verified negative
control).
WLED cdfef9c0 (#15) -- bridge side: refuse to run on a failed socket alloc, scale the
receive timeout to the configured baud, surface timeouts on the info page, keep
rejected frames counted.

Both squash-merged, so this replaces the branch-tip pointers this PR opened with.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ
aphelps-claude-bot added a commit that referenced this pull request Jul 30, 2026
)

* bump submodules: RS485 receive-path fixes + first ArduinoLibs tests

ArduinoLibs 6d1de81 -- fixes the four receive-path defects found auditing the
vendored RS485_non_blocking (stale-packet re-delivery, unchecked malloc, no packet
timeout, length checks compiled out of release builds) and adds test/, the first test
infrastructure in that repo: an Arduino.h shim plus 28 assertions, each paired with a
negative control that confirms disabling the fix turns them red.
WLED 0cf79a01 -- bridge side: refuse to run on a failed socket alloc, and keep
rejected frames counted now that a NULL from getMsg() no longer means "bus empty".

Also extends `make test` to cover two suites it silently skipped: the new ArduinoLibs
receive-path tests, and the rs485_bridge wire-format tests, which had to be run by
hand and are now run on BOTH ABIs (native and -fpack-struct=1) since the point of most
of those assertions is that the two agree.

  make test  ->  ampworks sensor-sync + rs485_bridge (x2 ABIs) + ArduinoLibs + router

  aphelps/ArduinoLibs#10
  aphelps/WLED#15

Submodule PRs merge first; these pointers are re-pointed at the merged shas before
this lands.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ

* bump submodules: self-review fixes on the receive-path stack

ArduinoLibs 538a01b -- the packet timeout measured poll latency rather than wire
time, so with the check running before update() it could discard a frame whose
remaining bytes were already in the FIFO: a regression against pre-timeout behaviour,
not a pre-existing bug. Now checked after update(), plus a baud-derived timeout
(fixed 250 ms killed every full-size frame at 4800 baud), reachable NULL guards, and
uint16_t counters to keep the ATmega328 footprint down. Two of the new tests turned
out to pass with their fix disabled and are now deterministic; three uncovered paths
added. 45 assertions, up from 28.
WLED 2b5baa2c -- scale the timeout to the configured baud, surface timeouts on the
info page (the counter existed but nothing read it), and correct two comments that
still said the library's length checks are compiled out of release builds.

Makefile: test-bridge guards HMTL and ArduinoLibs too, not just WLED. It compiles
against headers from all three, so on a fresh clone with uninitialised submodules a
bare `make` failed with a confusing missing-header error from the compiler instead of
the "run ./setup.sh" message require_submodule exists to print.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ

* re-point submodules at the merged receive-path commits

ArduinoLibs bceedb3 (#10) -- four receive-path defects fixed, plus test/: the first
test infrastructure in that repo (45 assertions, each with a verified negative
control).
WLED cdfef9c0 (#15) -- bridge side: refuse to run on a failed socket alloc, scale the
receive timeout to the configured baud, surface timeouts on the info page, keep
rejected frames counted.

Both squash-merged, so this replaces the branch-tip pointers this PR opened with.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ

---------

Co-authored-by: aphelps-claude-bot <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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