-
Notifications
You must be signed in to change notification settings - Fork 27
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
Job creation is being done in two steps #1150
Comments
Adding a new state might be an issue... didn't someone want our states to map directly to the qiskit / runtime ones? Assuming it is, could we add logic in the scheduler to say don't execute if jobid is null? |
Well this new state wouldn't need even a migration for old
From my point of view. I would go with @psschwei proposal by now with the condition that if we start to add exceptions to when we should run a |
For job status, the issue I was thinking of was #1039 |
I'm wondering why this save() is necessary. |
Good question @akihikokuroda . In my refactorization I found that we were using the |
The |
Exactly, and the |
This is exactly what I was trying to solve with the services @akihikokuroda . If there is another part of the code where we are creating |
Thank you @akihikokuroda |
What is the expected enhancement?
From #1147 @akihikokuroda suggested that the current logic that creates a Job can be problematic due to that the scheduler may find the job between the current 2
save()
and execute it without the environment information.Two options that come to my mind are:
job.id
from environment variables but I think we need to have itHappy to hear your thoughts @akihikokuroda , @IceKhan13 , @psschwei 😄
The text was updated successfully, but these errors were encountered: