Skip to content

[MAJOR] §12: Production container stage runs test executables, not a service binary #513

@mvillmow

Description

@mvillmow

Finding

Severity: MAJOR
Section: 12
Evidence: Containerfile:119-124 (Stage 3 copies basic_delegation_tests, module_coordination_tests, component_coordination_tests)
Principle: POLA

The 'production' stage (Stage 3) of the Containerfile copies test binary executables (basic_delegation_tests, module_coordination_tests, component_coordination_tests) as its deployment artifacts and runs them as the default CMD. This is not a production service — it is a test runner. Either the service binary from src/daemon/main.cpp should be packaged, or the stage should be renamed.


Part of #504

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions