-
Notifications
You must be signed in to change notification settings - Fork 1
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
Concurrently Deploy Connectors and Plugins #25
Conversation
So much has been re-written, and it has been a while since we've dealt with this PR. So I have some questions, and a request. I see some detailed explanations on why certain design choices were made, which is very good. But I think this could use some more high-level comments. Not everything about this code is self-documenting. So my request is that you address the high-level design with some comments so that it's easy for the future maintainers, or our future selves. Questions:
|
Re: design and code documentation At this point, the design is flawed because it assumed a 1 to 1 to 1 to 1 correspondence between the connector, python cli interface, python virtual environment, and the python plugin. The original assumption of the 1 to 1 to 1 correspondence of the connector to the python cli interface to the python plugin predates this PR, and it is the fundamental correspondence that leads to current design flaw. This part needs to be removed via refactoring instead of given an explanation in code comments. I believe a better assumption would be 1 connector to 1 python cli interface to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK! I think I've made it all the way through, now. I found a few more things which you might want to polish.
clean up code changes add concurrent plugins test back refactor some stuff
add comment remove dead code fix linting comment concurrency test fix test
success
remove commented code cleanup dead code remove cliwrapper test try if not present policy tidy mod add fio to ci add debug to error
add comments and change test to Always pull
2ff9ecf
to
3031567
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with latest changes. Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems odd to remove the FIO step from the test. (I don't think we requested that; are we really better off without it?) Nevertheless, I'm still not seeing anything for which I would block the merge, so I'm approving. But, I've commented on a couple of small things below for your consideration, and there's the spaces vs. tabs thing still.
Changes introduced with this PR
cliwrapper.go
.GIT_TERMINAL_PROMPT=0
.By contributing to this repository, I agree to the contribution guidelines.