Commit Graph
9 Commits
Author SHA1 Message Date
Jay b44a46ed2f Migrate logging to go-mana-component; delete logging/ package
Replaces the flat key-value logging scheme with component-based structured
logging via go-mana-component. Each layer (pool, worker, connection) builds
its own component identity and derives a *slog.Logger from a caller-supplied
slog.Handler.

- Delete logging/ package (logging.go, logging_test.go)
- Strip LoggingEnabled and LogLevel from ConnectionConfig, PoolConfig,
 WorkerConfig; remove associated option funcs
- Change NewConnection and NewConnectionFromSocket to accept ctx and
 slog.Handler instead of *slog.Logger; constructors build component
 identity via MustNew/MustExtend internally
- Change WorkerFactory, NewWorker, connect, and RunDialer to carry
 slog.Handler; remove PoolPlugin.Handler
- Change NewPool to establish pool component identity via MustNew;
 remove pool_id field, PoolPlugin.ID, and ErrInvalidPoolID
- Fix data race in MockSlogHandler: WithAttrs now shares parent mutex
 pointer rather than allocating a new one per child
- Run go fix
2026-05-20 13:04:58 -04:00
Jay 5b31db304a Updated documentation. 2026-05-20 10:44:53 -04:00
Jay 59f7b86a2e minor fixes 2026-05-20 09:05:49 -04:00
Jay ecd036b4eb Remove deprecated worker fields 2026-05-20 08:57:27 -04:00
Jay 6facb6eed0 remove references to the queue 2026-05-20 08:53:46 -04:00
Jay 093a56ea56 gut inbound and queue. promote outbound to honeybee. 2026-05-20 08:46:13 -04:00
Jay ba5484e0dd collapse queue/forwarder path: reader writes directly to pool inbox 2026-05-20 08:37:44 -04:00
Jay 8c7e3c3ee6 fix RunDialer: drain dial signals only after successful connect 2026-05-20 08:19:46 -04:00
Jay 09257e39b4 refactor: add idle watchgod to transport 2026-05-20 08:10:02 -04:00