Skip to content

advance WLED and esp-now-router pointers to the merged mesh work - #22

Closed
aphelps-claude-bot wants to merge 1 commit into
mainfrom
m3b-submodule-pointers
Closed

aphelps-claude-bot wants to merge 1 commit into
mainfrom
m3b-submodule-pointers

Conversation

@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator

Advances the submodule pointers now that both mesh PRs are merged.

Until now main pinned esp-now-router at its initial README-only commit, so make test skipped the router suites (the guard added in #21 kept that from being a hard error). With the pointer advanced, both suites actually run.

Test plan

  • make test at these pointers — all four suites run and pass:
== WLED ampworks host tests ==   sensor_sync_test, sensor_sync_ring_test  -> ALL TESTS PASSED
== esp-now-router host tests ==  test_relay, test_election                -> ALL TESTS PASSED
OK — all submodule host tests passed.

Note

The mesh hardware validation (fixed-channel spike, multi-hop relay, OTA one-and-done) has not been run yet — merged ahead of it at Adam's request so downstream work can proceed. Those items are tracked as post-deploy testing on the M3b task.

WLED -> 5fe5f5e2 (relay/leader-election wire format) and esp-now-router ->
cfa65540 (the router firmware). Until now main pinned esp-now-router at its
initial README commit, so 'make test' skipped the router suites; with the
pointer advanced both suites run.
@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator Author

Now conflicting — the WLED gitlink only, and here is the resolution order

Flagging this rather than resolving it, because the fix depends on a merge decision that belongs to this workstream rather than to the RS485 one.

Four RS485 submodule-pointer bumps landed on main today (#20, #24, #25, #26), which moved the WLED gitlink out from under this branch:

WLED
merge base 467c222
main now cdfef9c0 — receive-path fixes (#25)
this branch 5fe5f5e

That gitlink is the entire conflict. Nothing textual clashes: aphelps/WLED#13 still merges onto the updated base-wled-16.0.1 with zero conflicts, verified locally with git merge-tree. The RS485 changes (packed socket header, receive-path fixes) and the attach-protocol work touch different files.

Resolution order:

  1. merge reserve the attach-protocol wire format for the sensor-sync bus WLED#13 into base-wled-16.0.1 — it now contains the RS485 work, and Move todo-handler skill to user-level claude-skills repo #13 applies cleanly on top
  2. re-point this branch's WLED gitlink at the resulting merge sha
  3. esp-now-router is unaffected — both sides agree at 8090318

Step 1 is why I have not just resolved this: merging #13 is a call for whoever owns the mesh work, not something to do as a side effect of unblocking a pointer refresh.

For reference, the RS485 side is finished and merged: socket-header packing (7 B on every target — previously 8 on ESP32 vs 7 on AVR, which misparsed every frame in both directions), four receive-path defects, and the bench tooling. make test now covers four suites where it covered two.

aphelps-claude-bot added a commit that referenced this pull request Jul 30, 2026
…rged main

The WLED gitlink was the only conflict. This branch pointed at c88a3c46, the tip of
the attach-protocol PR branch; that PR was squash-merged as 586c6136, and meanwhile
four RS485 pointer bumps landed on WLED_dev main. Resolved to 586c6136, which contains
BOTH workstreams -- socket-header packing (#14), the receive-path fixes (#15) and the
attach-protocol wire format (#13).

esp-now-router keeps this branch's 08bd6e2: main still records the initial commit, and
08bd6e2 is strictly newer (it also contains cfa6554, which is what the superseded #22
was advancing to).

Also fixes CLAUDE.md's submodule table, which still said custom work branches from
base-wled-16.0.1 -- that branch was renamed to main today and no longer exists, so the
instruction pointed at nothing.

Verified at the resolved pointers:
  * make test -- all suites green, and the esp-now-router tests now actually RUN.
    They were reporting "skipped: no tests/ at the pinned revision" because main
    records the router's initial commit; at 08bd6e2 the relay, election and attach
    suites all execute and pass. So this bump turns three silently-skipped suites into
    three real ones.
  * pio run -e ampworks and -e usermods both SUCCESS, with .pio/libdeps cleared first
    so the build could not read a stale cached copy of RS485Utils.

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

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by #23

Both submodule bumps here are now contained in #23, so landing this afterwards would be a no-op at best.

submodule this PR #23 status
WLED 5fe5f5e 586c6136 5fe5f5e is already an ancestor of WLED main — the attach PR merged and the branch was renamed from base-wled-16.0.1
esp-now-router cfa6554 08bd6e2 cfa6554 is an ancestor of 08bd6e2, verified with git merge-base --is-ancestor

#23 has been refreshed against current main: its WLED gitlink now points at 586c6136, which contains the socket-header packing (aphelps/WLED#14), the receive-path fixes (aphelps/WLED#15) and the attach-protocol wire format (aphelps/WLED#13). main is now an ancestor of that branch, so it merges without conflict.

Reopen if the two-step sequence mattered for review and you'd rather land this one first — nothing here is lost, it's just redundant.

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