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.
- refactor the initial checks and the loading of cli options and environment to its own package under
internal dir.
- refactor the logger setup to its own package under
internal dir.
- refactor the github related action (status update content fetching etc.) to the a service under
internal that should be used by the handler.
- refactor the config parser of the codeCurfew in its own package under
/pkg dir to reuse in its validator.
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
internaldisables exposing them to the outside of theinternal.internaldir.internaldir.internalthat should be used by the handler./pkgdir to reuse in its validator.