Closed yarikoptic closed 4 years ago
I guess I have some stale (incompatible) ones laying around
Yes, this is due to 8520c508a (ENH: run: Don't touch command_str spec value, 2019-09-30).
I personally don't think it is a good idea to add compatibility kludges for changes that were made while marked as beta. Adding more debug messages is of course fine.
+1 for no compatibility kludges. But may be worth adding "version" information into job specs, so later on would be possible to crash with "job spec X is of incompatible prior version Y, please remove and rerun" or alike.
But may be worth adding "version" information into job specs, so later on would be possible to crash with "job spec X is of incompatible prior version Y, please remove and rerun" or alike.
Yeah, good point. The specs do currently have a version (as of bfb5edbe6), but we could consider places where we could catch an exception and give a hint that maybe the old version spec is the cause.
I think what is done by gh-515 should be sufficient.
Ideally (besides making it more robust or puking with a dedicated error) there should also be some debug level message stating what files are read here about jobs status. I guess I have some stale (incompatible) ones laying around but need to figure out where to look.