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

Universal-Workspace-Setup is cancelled when recreating itself. #1

Open
SireInsectus opened this issue Jan 5, 2023 · 1 comment
Open
Assignees

Comments

@SireInsectus
Copy link
Contributor

SireInsectus commented Jan 5, 2023

From @dougbateman:

I found a minor low-priority bug in the universal workspace-setup that we should add to our backlog. Here's the details...

When we run Workspace-Setup, at the end it creates the job "DBAcademy Workspace-Setup" to allow future re-runs of workspace setup. So far so go. But if we then run that job, when that job reaches the part where it creates a job, it doesn't detect that the job already exists, so it deletes the active job and defines a new one. This results in the active job finishing with the result "Canceled" instead of "Completed". All in all this isn't a big deal, as everything does still finish by the time the cancelation finishes taking effect.

@SireInsectus SireInsectus self-assigned this Jan 5, 2023
@SireInsectus
Copy link
Contributor Author

@dougbateman I didn't know that it canceled the current job.

The reason we are deleting it and not updating it is that several parameters cannot be changed with an update. This dictates that we delete it and recreate it.

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