Skip to content

[EPIC] network_system: standardize tests and decompose CMake #1083

Description

@kcenon

Summary

Phase 4 of the ecosystem-wide directory structure standardization. network_system has a 1031-line root CMakeLists.txt, a single monolithic tests/unit_tests.cpp, and an ambiguous relationship between libs/network-*/ modular protocol libraries and the src/ source tree. Decompose the CMake configuration, split the test file, and document the libs/ vs src/ boundary.

Part of kcenon/common_system#657 (master EPIC).

Status

EPIC complete. All four sub-issues merged on 2026-05-01.

Child Issues

Acceptance Criteria

Outcome

  • Root CMakeLists.txt: 1031 → ~118 lines (orchestrator only)
  • tests/unit_tests.cpp: 962 lines removed, replaced by 6 per-concern files + shared TCP fixture
  • samples/ directory removed, examples/ is now the single canonical examples tree
  • BUILD_SAMPLES flag retired, BUILD_EXAMPLES is the single switch
  • docs/PROJECT_STRUCTURE.md documents the libs/ vs src/ boundary and resolves the src/protocol/ vs src/protocols/ ambiguity (both current, distinct roles)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions