defenseunicorns / pepr

Type safe K8s middleware for humans
https://pepr.dev
Apache License 2.0
214 stars 17 forks source link

Refactor large files #1106

Open samayer12 opened 3 months ago

samayer12 commented 3 months ago

Describe what should be investigated or refactored

Some files in the codebase are rather large, (>400 LOC). Contributors can benefit from Easier Navigation, Better Modularity, Simplified Testing, and Improved Code Quality by refactoring large files when it makes sense to do so.

Links to any relevant code

Some files that are larger than 400 lines, and may be candidates for refactoring (as of v0.35.0):

Additional context

Generate the list yourself with the command: find src journey scripts -type f -print0 | xargs -0 wc -l | awk '$1 > 400 {print $2}' | grep -v -e "node_modules" -e "total" -e "package-lock.json" from project root.

cmwylie19 commented 3 months ago

Add the hold label, this story fits in nicely with some other refactor work, we will look to prioritize this at the same time.

relates to: #959