Skip to content

Ambiguous connection module naming causes confusion #460

@coderabbitai

Description

@coderabbitai

Problem

The current organisation of connection-related code creates ambiguity:

  • src/connection/ contains outbound-focused connection logic
  • src/app/connection.rs contains inbound routing and connection handling

This naming overlap can lead to confusion during requirements gathering, technical discussions, and implementation planning, as it's not immediately clear which module handles which direction of traffic flow.

Context

Raised during PR review: #458

Reported by: @leynos

Recommendation

Consider renaming one or both modules to make the directionality explicit, for example:

  • src/connection/outbound/ or src/outbound_connection/
  • src/app/inbound_connection.rs or similar

This would make the separation of concerns clearer and reduce cognitive load when navigating the codebase.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions