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

Check worker identity #49

Open
nolan1999 opened this issue Dec 23, 2023 · 2 comments
Open

Check worker identity #49

nolan1999 opened this issue Dec 23, 2023 · 2 comments
Assignees

Comments

@nolan1999
Copy link
Member

nolan1999 commented Dec 23, 2023

Do not ask workers to provide their identity; instead, get it from the authentication.
When a status update is pushed, check that it is the latest worker registered for the job in the API: if not, send cancel signal.
Combine with ries-lab/DECODE_Cloud_UserAPI#8

@nolan1999
Copy link
Member Author

Also, job status updates / files upload should only be permitted for the latest worker

@nolan1999
Copy link
Member Author

Also, worker's environment should be gotten from its group (e.g. add group "cloud" for cloud workers)

@nolan1999 nolan1999 self-assigned this Mar 22, 2024
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

No branches or pull requests

1 participant