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

Issue883/add check for different front end #933

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

kchilleri
Copy link
Collaborator

This PR adds a database to the client to keep track of the name of the front end where beeflow is started. Every time a beeflow core * command is submitted, we check if the current front end is the same as the one where beeflow was started from. If not, it returns a warning and exits.

@kchilleri kchilleri linked an issue Oct 1, 2024 that may be closed by this pull request
@kchilleri kchilleri added the WIP (no-ci) Don't run any CI for this PR label Oct 1, 2024
@kchilleri kchilleri added WIP Work in progress and removed WIP (no-ci) Don't run any CI for this PR labels Oct 1, 2024
@kchilleri
Copy link
Collaborator Author

To Do:

  1. Add more error checking.
  2. Add testing (I have a test for the database but need a separate one for the rest of the code).

@kchilleri kchilleri requested a review from rstyd October 1, 2024 20:51
@kchilleri kchilleri removed the WIP Work in progress label Oct 1, 2024
beeflow/client/bee_client.py Outdated Show resolved Hide resolved
@kchilleri kchilleri requested a review from rstyd October 14, 2024 23:01
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.

Add Check for Different Front End
2 participants