Skip to content

Technical Debt #24

@jordonet

Description

@jordonet

Description

Address technical debt and improve code quality.

Notes

Some thoughts I've had surrounding the config:

Store the runtime settings in the database, treat config.yaml as the initial defaults/bootstrap. On startup, merge config.yaml into the database if values don't exist yet, but UI changes write to the database only. That way:

  • Fresh install: config.yaml seeds everything
  • UI changes: persist to database, survive container restarts
  • User wants to reset: delete the database row, next restart pulls from config.yaml again

Tasks

  • SlskdClient typed error hierarchy
  • Client-side runtime validation (Zod)
  • DownloadTask state machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-55/10 prioritytype:epicParent issue grouping related worktype:tech-debtTechnical debt / refactoring

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions