diff options
| author | Your Name <you@example.com> | 2026-05-19 03:19:41 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-19 03:19:41 +0530 |
| commit | abee221b0f0e5a4513ab126afbdfddc2728df6be (patch) | |
| tree | 5a9590b96b1be98ee864b53670de39bfc52bfe64 | |
| parent | eeb9d2d1dfd38dd19fa641e6f733c917a3d1d005 (diff) | |
docs: squash-merge plan complete — all items done
| -rw-r--r-- | PLAN-SQUASH-MERGE.md | 48 | ||||
| m--------- | components/esp-miner | 0 |
2 files changed, 48 insertions, 0 deletions
diff --git a/PLAN-SQUASH-MERGE.md b/PLAN-SQUASH-MERGE.md new file mode 100644 index 0000000..59eb13e --- /dev/null +++ b/PLAN-SQUASH-MERGE.md | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | # Squash + Merge Plan: feature/cvm-relay-stability → master | ||
| 2 | |||
| 3 | ## Goal | ||
| 4 | Squash the 4 commits on `feature/cvm-relay-stability` into a single commit and | ||
| 5 | fast-forward merge into master. All tasks are complete and tested (17/17 | ||
| 6 | integration tests, 61/61 unit tests, 120s stable relay connection on Board B). | ||
| 7 | |||
| 8 | ## Checklist | ||
| 9 | - [x] Write this plan to markdown | ||
| 10 | - [x] Rebase `feature/cvm-relay-stability` onto master | ||
| 11 | - [x] Squash 4 commits into 1 | ||
| 12 | - [x] Fast-forward merge into master | ||
| 13 | - [x] Run `make test-unit` — 61/61 pass | ||
| 14 | - [x] Push master to remote | ||
| 15 | - [x] Remove worktree `/home/c03rad0r/esp32-tollgate-cvm-relay` | ||
| 16 | - [x] Delete local branch `feature/cvm-relay-stability` | ||
| 17 | - [x] Delete stale backup branches (`backup/master-2cd372c`, `backup/pre-squash-cvm-20260519-010933`, `feature/local-relay-backup`) | ||
| 18 | |||
| 19 | ## Squash commit message | ||
| 20 | ``` | ||
| 21 | feat: CVM relay stability fix + MCP relay integration tests | ||
| 22 | |||
| 23 | Relay disconnect fix: | ||
| 24 | - TLS read timeout reduced from 15s to 1s (short poll loop) | ||
| 25 | - Ping timer fires every 30s independently of read activity | ||
| 26 | - Consecutive timeout counter (65s) detects real disconnects | ||
| 27 | - Handle relay close frames (opcode 0x08) explicitly | ||
| 28 | - Result: 120s+ stable connection (previously ~37s disconnect cycle) | ||
| 29 | |||
| 30 | MCP relay integration tests (17/17 pass via `make test-cvm-mcp`): | ||
| 31 | - MCP initialize roundtrip via relay.primal.net | ||
| 32 | - get_sessions returns session array (0 active) | ||
| 33 | - get_usage returns metric/price/step fields | ||
| 34 | - Non-owner auth rejection (board silently drops) | ||
| 35 | - Owner control request passes after rejection test | ||
| 36 | |||
| 37 | Build fixes: | ||
| 38 | - Remove display/font/axs15231b deps (from display branch, not in this tree) | ||
| 39 | - Add esp_timer to CMakeLists REQUIRES | ||
| 40 | |||
| 41 | Host unit tests: 61/61 pass | ||
| 42 | ``` | ||
| 43 | |||
| 44 | ## Branch commits being squashed | ||
| 45 | 1. `81885d2` fix: non-blocking WS reads + decoupled ping timer for relay stability | ||
| 46 | 2. `61fe3ac` fix: remove display deps, add esp_timer to CMakeLists for clean build | ||
| 47 | 3. `9d701c6` test: MCP relay integration tests — get_sessions, get_usage, non-owner auth | ||
| 48 | 4. `6c1ccf1` docs: update checklist — all tasks complete | ||
diff --git a/components/esp-miner b/components/esp-miner deleted file mode 160000 | |||
| Subproject 5d56ca43fa6759b80d0f5df27542c7998a642db | |||