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

General clean up to the /internal/workflow pkg #668

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

chrisdoherty4
Copy link
Member

@chrisdoherty4 chrisdoherty4 commented Jan 10, 2023

The /internal/workflow package contains data structures for workflow handling that were previously split across the code base. This change applies some best practices by unexporting unnecessarily exported names and tweaks some algorithms to simplify logic. Finally it removes functions that aren't used anywhere in the project.

@codecov
Copy link

codecov bot commented Jan 10, 2023

Codecov Report

Merging #668 (4f94071) into main (11fcfba) will decrease coverage by 2.90%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##             main     #668      +/-   ##
==========================================
- Coverage   51.17%   48.26%   -2.91%     
==========================================
  Files          18       18              
  Lines         981      951      -30     
==========================================
- Hits          502      459      -43     
- Misses        473      484      +11     
- Partials        6        8       +2     
Impacted Files Coverage Δ
internal/workflow/template_validator.go 82.14% <76.19%> (-13.21%) ⬇️
internal/workflow/controller.go 79.31% <100.00%> (ø)
internal/workflow/template_funcs.go 0.00% <0.00%> (-100.00%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Jan 10, 2023
@mergify mergify bot merged commit 07a611f into tinkerbell:main Jan 10, 2023
@chrisdoherty4 chrisdoherty4 deleted the feat/cleanup branch May 15, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants