Virgil
1c8592a5a0
refactor(node): align peer and handler names with AX
...
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 1m27s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 05:32:08 +00:00
Virgil
aa001ce214
refactor(node): rename websocket handler and clarify UEPS comments
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 05:18:20 +00:00
Virgil
390e60860e
refactor(node): remove legacy AX aliases
...
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m34s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 05:08:09 +00:00
Virgil
bd9efd1deb
refactor(node): clarify AX-facing transport and worker names
...
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m53s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 22:54:45 +00:00
Virgil
885070d241
refactor(node): adopt AX naming across core APIs
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m41s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 22:46:11 +00:00
Virgil
851b1294bd
refactor(node): rename controller and worker core fields
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m42s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 22:38:29 +00:00
Virgil
f5d1ee6021
refactor(node): align worker interfaces with AX naming
...
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 59s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:34:57 +00:00
Virgil
c03b3410e6
refactor(node): remove legacy compatibility aliases
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m29s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:27:45 +00:00
Virgil
7ce21cdba1
refactor(node): adopt AX-native protocol names
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:21:07 +00:00
Virgil
cbb3f01176
refactor(node): rename test helpers for AX clarity
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m28s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:40:59 +00:00
Virgil
0ca20d53ea
test(node): migrate tests to AX-native constructors
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m28s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:35:50 +00:00
Virgil
d7681bf637
refactor(repo): complete AX v0.8.0 polish pass
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 16:26:18 +00:00
Snider
ca04a88e35
refactor: apply go fix modernizers for Go 1.26
...
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 21:00:16 +00:00
Claude
ac70d879a1
test(node): push coverage from 72.4% to 87.4%
...
Add comprehensive tests for previously uncovered controller, worker,
peer, bundle, transport, identity and message functions:
- Controller: StartRemoteMiner, StopRemoteMiner, GetRemoteLogs (0% -> 80%+),
ConnectToPeer success path, handleResponse edge cases, PingPeer no-identity
- Worker: handleStartMiner with config/profile/errors (9% -> 91%),
handleStopMiner success/failure (20% -> 90%), handleGetLogs with
limits/not-found (14% -> 93%), handleDeploy miner/full bundles (24% -> 89%),
HandleMessage unknown type and integration via WebSocket, handleGetStats
with miner manager and no-identity
- Peer: safeKeyPrefix all branches (40% -> 100%), validatePeerName direct,
scheduleSave timer firing (35% -> 94%), saveNow/Close dirty data,
edge cases for Record*/Update*/Select* with non-existent peers
- Bundle: extractTarball path traversal/symlink/directory/empty,
ExtractMinerBundle checksum mismatch, CreateMinerBundle errors,
ReadBundle invalid JSON, StreamBundle empty bundle
- Transport: Broadcast with sender exclusion (0% -> 83%), Start/Stop
lifecycle (0% -> 83%), CheckOrigin validation, ConnectedPeers
- Identity: DeriveSharedSecret/GetIdentity without identity, Delete no files
- Message: nil payload, ParsePayload nil, NewErrorMessage
Co-Authored-By: Charon <charon@lethean.io>
2026-02-20 02:33:54 +00:00
Claude
33eda7b656
test: add controller tests (Phase 3) — node/ coverage 63.5% to 72.1%
...
14 tests covering request-response correlation, timeout handling,
auto-connect, parallel stat collection, ping RTT with metrics update,
concurrent multi-peer requests, and dead peer channel cleanup.
Also fixes a pre-existing data race (P2P-RACE-1) in GracefulClose where
SetWriteDeadline was called outside writeMu, racing with concurrent
Send() calls.
Co-Authored-By: Charon <developers@lethean.io>
2026-02-20 00:17:31 +00:00