Skip to content

rs485_bridge HTTP endpoint: run its host suite in make test-bridge - #38

Merged
aphelps-claude-bot merged 3 commits into
mainfrom
hmtl-http-endpoint
Aug 22, 2026
Merged

aphelps-claude-bot merged 3 commits into
mainfrom
hmtl-http-endpoint

Conversation

@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator

Super-repo half of the POST /hmtl endpoint. Bumps the WLED pointer and runs the new host suite.

The Makefile change matters on its own: test-bridge now runs rs485_bridge_http_test alongside the two existing bridge runs. A suite that exists but is never invoked lets make test report success without touching it — the exact failure this repo's test-target list was built to avoid, and one already recorded as a hot spot in the Pending "Makefile test-target list" task.

Submodule PR: aphelps/WLED#19 — the design rationale, the mutation results, and the one claim that needs hardware are all there.

Merges together with it: the pointer here names a commit on the WLED branch, so landing this alone would leave a gitlink pointing at something not on WLED's main.

Bumps WLED to the hmtl-http-endpoint branch and adds rs485_bridge_http_test
alongside the two existing bridge runs. A test target that exists but is never
invoked reports success without touching anything, which is the failure this
repo's test-target list was built to avoid.

@aphelps-claude-bot aphelps-claude-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review

Small PR, but it is not only a pointer bump and the Makefile half deserves a look.

The Makefile change is the part with teeth. test-bridge now runs rs485_bridge_http_test alongside the two existing runs. Without it the suite exists and make test reports success without ever executing it — which is exactly the failure mode this repo's test-target list was created to prevent, and the one the Pending "Makefile test-target list is a merge hot spot" task describes.

That task stopped being hypothetical during this session: wled_sync (#31) and wled_apjoin (#32) both added a target to the same test: prerequisite line and both created scripts/README.md, so the second to merge conflicted on both. I resolved it by keeping both sides. This PR adds a third target to that same line, so it will conflict with the next one too. Worth weighing whether to land the hot-spot fix before more targets accumulate.

On the submodule pointer: it names a commit on the WLED branch, not on WLED's main, so merging this alone would leave a gitlink pointing at something unreachable from main. The two must land together — the same ordering the M4 merge needed earlier tonight (submodules first, then repoint, then the super-repo). I verified that condition explicitly there with git merge-base --is-ancestor, and the same check applies here.

Verification: make test-bridge green across all three runs — native ABI, -fpack-struct=1 AVR-like ABI, and the new HTTP suite. CI green.

The substantive review of the endpoint itself is on aphelps/WLED#19, including the two error-reporting bugs bench testing found and the hardware results for the whole Testing Required list.

WLED#19 merged as cfe86c58. The pointer here still named 16a2bbbd, a commit on
the (now deleted) branch — and a stale one at that, predating the bench-testing
fixes in 1c1767ae. Squash-merging rewrites the commit, so the gitlink has to be
repointed at the result or main would carry a pointer unreachable from WLED's
own main.
@aphelps-claude-bot
aphelps-claude-bot merged commit a536836 into main Aug 22, 2026
1 check passed
aphelps-claude-bot added a commit that referenced this pull request Aug 27, 2026
…40)

WLED#20 merged as 8ea0be8c: the led_driver_lora1ch board profile plus the
DEFAULT_MODE boot-effect fix.

That adds an environment, which takes WLED/platformio.ini from 37 to 38 -- and
tools/check_readme.py asserts the count stated in this README against the file.
Merging the submodule without this commit turns `make test-readme` red, so the
two belong together.

Counted from the file rather than incremented on faith: grep -c '^\[env:' gives
38.

Also adds a row to the "Ours are:" table. The table is the useful half -- a
reader looking for which env matches their board is not served by the tally
alone, and an env that exists but is not listed is how the previous drift
started.

This pairing has now been needed four times in this repo (WLED#19/#38, this one,
and pending for esp-now-router#4, which still has no pointer bump). A CI check
that fails when a submodule's origin/main is ahead of the recorded pointer would
have caught all of them; tracked as its own task.

Co-authored-by: aphelps-claude-bot <[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