go-p2p/node
Snider 5ed4451555
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m31s
feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases
Applied AX principles 1, 2, and 9 across the node, dispatcher, transport, peer,
worker, bundle, and logging packages:

- Added usage-example comments to all public methods missing them (AX-2):
  dispatcher.RegisterHandler, Handlers; peer.AddPeer, UpdatePeer, RemovePeer,
  AllowPublicKey, RevokePublicKey, IsPublicKeyAllowed, IsPeerAllowed, RecordSuccess,
  RecordFailure, RecordTimeout, SelectOptimalPeer, SelectNearestPeers, Count,
  PeersByScore, AllowedPublicKeys, ListAllowedPublicKeys; transport.Start, Stop, Send,
  Connections, Broadcast, PeerConnection.Send, Close, GracefulClose
- Removed redundant inline comments that restate code (bundle.go, transport.go, worker.go)
- Added _Bad and _Ugly test categories to logging/logger_test.go to satisfy the
  TestFilename_Function_{Good,Bad,Ugly} naming convention (AX-10)
- Removed all linter-injected short-form alias files (*_compat.go, *_alias_test.go)
  that violated AX-1 (Err* aliases, Uint64Val, WithComponent, GetLevel, GetGlobal, etc.)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 12:20:52 +01:00
..
levin refactor(node): tighten AX naming across core paths 2026-03-30 22:31:11 +00:00
ax_test_helpers_test.go refactor(node): clarify AX filesystem and message names 2026-03-30 20:52:19 +00:00
bench_test.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
buffer_pool.go refactor(node): clarify filesystem and buffer pool names 2026-03-30 21:50:35 +00:00
buffer_pool_test.go refactor(node): clarify filesystem and buffer pool names 2026-03-30 21:50:35 +00:00
bundle.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
bundle_test.go refactor(node): clarify AX filesystem and message names 2026-03-30 20:52:19 +00:00
controller.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
controller_test.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
dispatcher.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
dispatcher_test.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
errors.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
filesystem.go refactor(node): clarify filesystem and buffer pool names 2026-03-30 21:50:35 +00:00
identity.go refactor(node): remove legacy AX aliases 2026-03-31 05:08:09 +00:00
identity_test.go refactor(node): remove legacy AX aliases 2026-03-31 05:08:09 +00:00
integration_test.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
message.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
message_test.go refactor(node): adopt AX-native protocol names 2026-03-30 21:21:07 +00:00
peer.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
peer_test.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
protocol.go refactor(node): align peer and handler names with AX 2026-03-31 05:32:08 +00:00
protocol_test.go refactor(node): remove legacy AX aliases 2026-03-31 05:08:09 +00:00
transport.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
transport_test.go refactor(node): rename websocket handler and clarify UEPS comments 2026-03-31 05:18:20 +00:00
worker.go feat(ax): AX compliance sweep — comments as usage examples, remove linter-injected aliases 2026-03-31 12:20:52 +01:00
worker_test.go refactor(node): remove legacy AX aliases 2026-03-31 05:08:09 +00:00