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

fix(flags): Fix Payload Builder Flags #2442

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

rezbera
Copy link
Contributor

@rezbera rezbera commented Jan 30, 2025

This fix was required for the testing work as the flags are not used and do not have the correct mapstructure. This brings it in line with the yaml file format.

@rezbera rezbera requested a review from a team as a code owner January 30, 2025 21:15
@rezbera rezbera enabled auto-merge (squash) January 30, 2025 21:17
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 31.57%. Comparing base (66bc722) to head (f460c36).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cli/flags/flags.go 0.00% 10 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2442      +/-   ##
==========================================
- Coverage   31.59%   31.57%   -0.03%     
==========================================
  Files         348      348              
  Lines       15519    15529      +10     
  Branches       20       20              
==========================================
  Hits         4903     4903              
- Misses      10272    10282      +10     
  Partials      344      344              
Files with missing lines Coverage Δ
cli/flags/flags.go 0.00% <0.00%> (ø)

Comment on lines +36 to +37
BuilderEnabled = builderRoot + "enabled"
BuildPayloadTimeout = builderRoot + "payload-timeout"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These flags were not used before. Hence the incorrect local-builder- went unnoticed.

Copy link
Collaborator

@abi87 abi87 Jan 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Are they used now? Should we drop them?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to drop them - i will use them for testing

@rezbera rezbera merged commit cd3c709 into main Jan 30, 2025
19 checks passed
@rezbera rezbera deleted the fix-payload-builder-flags-rez branch January 30, 2025 21:24
shotes pushed a commit that referenced this pull request Feb 3, 2025
shotes pushed a commit that referenced this pull request Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants