Publish on 'test' channel (index 3) by default #10

Merged
kamilkrzywda merged 1 commits from feat/send-channel-test into main 2026-09-24 19:44:11 +02:00
Owner

What

All POST /api/send traffic now rides the new "test" channel at index 3 instead of "testowy" (index 2). The device-side channel was added earlier this session (empty key, SECONDARY role).

  • MESH_SEND_CHANNEL default: 2 → 3 (env override unchanged)
  • docker-compose.yml sets no env var, so the deployed container picks up the new default on rebuild — no compose change needed

Details

  • Service pinning comment + controller Swagger (@ApiOperation description, /api/channels example, /api/messages tx example) updated to index 3 / "test"
  • README + AGENTS.md endpoint docs updated (default 3, channel name test)
  • Test assertions for the send path updated in place (24/24, no coverage change); rx examples on other channels intentionally untouched — inbound packets can arrive on any channel

Verification

  • npm run build ✓
  • npm test — 24/24 passed
  • v0.5.0, CHANGELOG entry added
## What All `POST /api/send` traffic now rides the new **"test"** channel at **index 3** instead of "testowy" (index 2). The device-side channel was added earlier this session (empty key, SECONDARY role). - `MESH_SEND_CHANNEL` default: `2` → `3` (env override unchanged) - docker-compose.yml sets no env var, so the deployed container picks up the new default on rebuild — no compose change needed ## Details - Service pinning comment + controller Swagger (@ApiOperation description, /api/channels example, /api/messages tx example) updated to index 3 / "test" - README + AGENTS.md endpoint docs updated (default `3`, channel name `test`) - Test assertions for the send path updated in place (24/24, no coverage change); rx examples on other channels intentionally untouched — inbound packets can arrive on any channel ## Verification - `npm run build` ✓ - `npm test` — 24/24 passed - v0.5.0, CHANGELOG entry added
kamilkrzywda added 1 commit 2026-09-24 19:42:40 +02:00
Publish on 'test' channel (index 3) by default
CI / build + unit (pull_request) Successful in 1m0s
5c9aa13212
kamilkrzywda merged commit 108aa400d3 into main 2026-09-24 19:44:11 +02:00
kamilkrzywda deleted branch feat/send-channel-test 2026-09-24 19:44:11 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/MeshBot#10