You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client: support incremental multicast group subscription
Remove the guard in the CLI that blocked `doublezero connect multicast`
when a multicast service was already running. The onchain subscribe
instruction, CLI's find_or_create_user_and_subscribe, and daemon's
InfraEqual + UpdateGroups path already support incremental group
additions without tearing down the tunnel.
Also improve e2e test ergonomics:
- Add Make targets: test-debug, test-nobuild, test-keep, test-cleanup
- Rename DZ_E2E_DEBUG env var to DEBUG for consistency with shreds repo
- Update dev/e2e-test.sh and dev/e2e-until-fail.sh to use Make
- Update CLAUDE.md and DEVELOPMENT.md with new Make target usage
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
9
9
### Changes
10
10
11
11
- CLI
12
+
- Allow incremental multicast group addition without disconnecting
12
13
- Reset SIGPIPE to SIG_DFL at the start of main() in all 3 CLI binaries (doublezero, doublezero-geolocation, doublezero-admin) so the process exits silently like standard CLI tools
13
14
- SDK
14
15
- Add Go SDK for shred subscription program with read-only account deserialization (epoch state, seat assignments, pricing, settlement, validator client rewards), PDA derivation helpers, RPC fetchers, compatibility tests, and a fetch example CLI
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,23 +55,31 @@ The required image (`ghcr.io/malbeclabs/ceos:4.33.1F`) will be pulled automatica
55
55
End-to-end tests exercise the full DoubleZero stack — smartcontracts, controller, activator, client, and device agents — all running in isolated Docker containers.
56
56
57
57
```bash
58
-
# Run a specific E2E test directly
59
-
cd e2e/
60
-
go test -tags e2e -v -run TestE2E_MultiClient
58
+
# Run a specific test
59
+
make e2e-test RUN=TestE2E_MultiClient
61
60
62
-
# Or use the helper script
63
-
dev/e2e-test.sh TestE2E_MultiClient
61
+
# Run with debug logging
62
+
make e2e-test-debug RUN=TestE2E_MultiClient
63
+
64
+
# Skip docker image rebuild (faster iteration)
65
+
make e2e-test-nobuild RUN=TestE2E_MultiClient
66
+
67
+
# Keep containers after test for debugging
68
+
make e2e-test-keep RUN=TestE2E_MultiClient
69
+
70
+
# Both: skip rebuild + keep containers
71
+
make e2e-test-keep-nobuild RUN=TestE2E_MultiClient
72
+
73
+
# Clean up leftover containers from previous runs
74
+
make e2e-test-cleanup
75
+
76
+
# Run all tests (requires high-memory machine)
77
+
make e2e-test
64
78
```
65
79
66
80
> ⚠️ Note:
67
81
>
68
-
>
69
-
> E2E tests are resource-intensive. It’s recommended to run them individually or with low parallelism:
70
-
>
71
-
>```bash
72
-
> go test -tags e2e -v -parallel=1 -timeout=20m
73
-
>```
74
-
>
82
+
> E2E tests are resource-intensive. It’s recommended to run them individually.
75
83
> Running all tests together may require at least 64 GB of memory available to Docker.
0 commit comments