upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PLAN-SQUASH-MERGE.md48
m---------components/esp-miner0
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
4Squash the 4 commits on `feature/cvm-relay-stability` into a single commit and
5fast-forward merge into master. All tasks are complete and tested (17/17
6integration 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```
21feat: CVM relay stability fix + MCP relay integration tests
22
23Relay 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
30MCP 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
37Build fixes:
38- Remove display/font/axs15231b deps (from display branch, not in this tree)
39- Add esp_timer to CMakeLists REQUIRES
40
41Host unit tests: 61/61 pass
42```
43
44## Branch commits being squashed
451. `81885d2` fix: non-blocking WS reads + decoupled ping timer for relay stability
462. `61fe3ac` fix: remove display deps, add esp_timer to CMakeLists for clean build
473. `9d701c6` test: MCP relay integration tests — get_sessions, get_usage, non-owner auth
484. `6c1ccf1` docs: update checklist — all tasks complete
diff --git a/components/esp-miner b/components/esp-miner
deleted file mode 160000
Subproject 5d56ca43fa6759b80d0f5df27542c7998a642db