• refactor(grpc/client): simplify processEventStream with per-event handlers
    Docker Build and Push / build-and-push-branches (push) Has been skipped
    Docker Build and Push / build-and-push-tags (push) Successful in 3m20s

    bagas released this 2026-01-06 20:14:56 +07:00 | 101 commits to main since this release

    • Extract eventHandlers dispatch table
    • Add per-event handlers: handleSlugChange, handleGetSessions, handleTerminateSession
    • Introduce sendNode helper to centralize send/error handling and preserve connection-error propagation
    • Add protoToTunnelType for tunnel-type validation
    • Map unknown proto.TunnelType to types.UNKNOWN in protoToTunnelType and return a descriptive error
    • Reduce boilerplate and improve readability of processEventStream
    Downloads