Skip to content

Refactor Codebase To Improve modularity and maintainablility #8

@laraibg786

Description

@laraibg786

This top-level issue tracks the ongoing refactoring of the codebase to enhance organization, reusability, and testability. It will spawn subtasks for each recommendation below. The initial phase focuses on extracting core setup logic. Migrating packages under internal disables exposing them to the outside of the internal.

  1. refactor the initial checks and the loading of cli options and environment to its own package under internal dir.
  2. refactor the logger setup to its own package under internal dir.
  3. refactor the github related action (status update content fetching etc.) to the a service under internal that should be used by the handler.
  4. refactor the config parser of the codeCurfew in its own package under /pkg dir to reuse in its validator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions