Skip to content

Code Map

This page is a maintainer map. Use it when you already know the service behavior and need to find the file or test suite that owns a specific part of it.

AreaRuntime filesTests
Rack entrypoint, routes, env, middlewaresrc/config.rusrc/spec/contracts/config_ru_spec.rb
Boot lifecycle and role-specific listenerssrc/service_runtime.rbsrc/spec/unit/service_runtime_spec.rb
NATS subjects, request dispatch, response/session listeners, JetStream consumerssrc/bridge_core.rbsrc/spec/unit/bridge_core_spec.rb, src/spec/system/http_bridge_system_spec.rb
Protocol helpers and event parsingsrc/bridge_protocol.rbsrc/spec/unit/bridge_protocol_spec.rb
Flow-credit window sizing and reservationsrc/flow_credit_window.rbsrc/spec/unit/flow_credit_window_spec.rb
Per-request state, cancellation state, queuessrc/request_context.rbsrc/spec/unit/request_context_spec.rb
HTTP forwarding and streaming response renderingsrc/http_gateway.rbsrc/spec/unit/http_gateway_spec.rb, src/spec/system/http_bridge_system_spec.rb
CONNECT and bridged TCP sessionssrc/tcp_tunnel_bridge.rbsrc/spec/unit/tcp_tunnel_bridge_spec.rb, src/spec/system/connect_tunnel_system_spec.rb
Rack CONNECT protocol support patchsrc/protocol_rack_connect_patch.rbsrc/spec/unit/protocol_rack_connect_patch_spec.rb
SOCKS5 listener and handshakesrc/socks5_server.rbsrc/spec/unit/socks5_server_spec.rb, src/spec/system/socks5_system_spec.rb
Proxy authentication and safety locksrc/proxy_auth.rbsrc/spec/unit/proxy_auth_spec.rb
NATS client wrapper and backend resolutionsrc/nats_async_runtime.rbsrc/spec/unit/nats_async_runtime_spec.rb
Flow events, cases, metrics, NATS payloadssrc/observability_collector.rbsrc/spec/unit/observability_collector_spec.rb
Embedded NATS runtime behaviordocker/ruby/entrypoint.sh, docker/ruby/DockerfileValidated by code review and deployment examples; no dedicated shell test currently exists.