-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add guard for missing additional_store
before executing job
#76
Comments
Thanks for raising this point. It would be indeed better to stop it before the execution of the Job, also because I am afraid that one could not just rerun the last "remote" step, but will need to rerun the whole Job. I would consider a few points:
|
I agree it is only worth introducing if we then act on that new state in a specific way; remote error would be the state with the correct behaviour (in that it can be restarted after a config update without issue) but it feels like weird naming for an issue referring to the "local" config (or the runner config, at least). I will implement it with the
Yes I thought about this; it would need to be run immediately after the call to |
As tested in #59, if a job requires an additional store for its output, and that store is not defined in the JFR config, then the job will only fail at the point of trying to access that store.
I think we should add a guard in the runner to prevent this job from being submitted. I'm not sure what
JobState
it should be left with (perhaps a new one,HELD
or some such, so it can be easily rerun once the runner config is updated?) Thoughts @gpetretto?The text was updated successfully, but these errors were encountered: