Skip to content

Dead code: LIVENESS_UNIFACE_DEFAULT_ENABLED flag defined but never consumed #154

Description

@ahmetabdullahgultekin

LIVENESS_UNIFACE_DEFAULT_ENABLED is defined in config but never read by any runtime/production code path — only referenced in a test. No runtime effect (prod sets the backend explicitly).

Evidence: app/core/config.py:337 (definition); only other ref is tests/unit/infrastructure/test_liveness_runtime_wiring.py.

Fix: either wire the flag into the combined-mode backend default selection, or remove it.

Source: MASTER_ISSUE_REGISTER_2026-06-03 (BIO-8), re-verified on HEAD 2026-06-13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dead-codeVerified-unused code slated for deletion (DI-aware V&V)surface/biobiometric-processor (FastAPI/Python)

    Type

    No type

    Fields

    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