Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce Cyclomatic and Update Documentation #38

Merged
merged 5 commits into from
Dec 25, 2023
Merged

Conversation

H0llyW00dzZ
Copy link
Owner

@H0llyW00dzZ H0llyW00dzZ commented Dec 25, 2023

Note

This very simple now and yet powerful unlike complex but not powerful

- [+] feat(crew.go): add processTask function to handle individual task processing
- [+] feat(crew.go): add handleFailedTask function to handle failed tasks
- [+] feat(crew.go): add handleSuccessfulTask function to handle successful tasks
- [+] fix(worker/error_and_retry.go): improve function and variable names for clarity
- [+] feat(worker/error_and_retry.go): add support for handling conflict errors and generic errors during task execution
- [+] chore(crew.go): add resolveConflict function to handle conflict errors during task execution
@H0llyW00dzZ H0llyW00dzZ changed the title Reduce Cyclomatic Reduce Cyclomatic and Update Documentation Dec 25, 2023
@H0llyW00dzZ H0llyW00dzZ added the enhancement New feature or request label Dec 25, 2023
- [+] refactor(worker/setup.go): simplify NewKubernetesClient function and extract buildOutOfClusterConfig function
- [+] feat(worker/setup.go): add buildOutOfClusterConfig function to build configuration from kubeconfig file
- [+] refactor(logs_pods.go): improve readability and maintainability by separating concerns of iterating over pod list and logging pod information
- [+] feat(logs_pods.go): add function to log individual pod information
- [+] feat(logs_pods.go): add function to initiate concurrent health checks for pods
- [+] feat(logs_pods.go): add function to log health status messages for pods
@H0llyW00dzZ H0llyW00dzZ marked this pull request as ready for review December 25, 2023 04:17
@H0llyW00dzZ H0llyW00dzZ merged commit ba99954 into master Dec 25, 2023
2 checks passed
@H0llyW00dzZ H0llyW00dzZ deleted the reduce_complex branch December 25, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant