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

Remove the skip_defaults flag #6214

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

etorreborre
Copy link
Member

The skip_defaults flag used when creating a NodeManager does not need to be kept on the struct for its whole lifetime.
That flag is set to true when a launch config has been passed on the command line and is otherwise set to false.

@etorreborre etorreborre requested a review from a team as a code owner October 2, 2023 08:56
@etorreborre etorreborre self-assigned this Oct 2, 2023
adrianbenavides
adrianbenavides previously approved these changes Oct 2, 2023
Copy link
Member

@adrianbenavides adrianbenavides left a comment

Choose a reason for hiding this comment

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

Wow, the NodeManager constructor is finally losing some weight!

@adrianbenavides
Copy link
Member

@etorreborre looks like the authority node initialization is not being done properly (two bats tests failing), but I can't seem to see what's wrong.

@etorreborre
Copy link
Member Author

@adrianbenavides I fixed the issue, the authority tests are passing now.

adrianbenavides
adrianbenavides previously approved these changes Oct 2, 2023
the only case where it is needed is when starting a new node
and this can be determined by the presence / absence of a launch config file
@adrianbenavides adrianbenavides added this pull request to the merge queue Oct 2, 2023
Merged via the queue into develop with commit fc6408c Oct 2, 2023
26 checks passed
@adrianbenavides adrianbenavides deleted the etorreborre/refactor/skip-defaults-flag branch October 2, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants