Closed ktdrv closed 6 years ago
Hi @ktdrv! Thank you for this contribution and sorry about the delay in reviewing it.
Can you elaborate a bit on the motivation for this change? On first blush it doesn't seem worth the (minor) added complexity since the current behavior of deleting spot instances first seems like it covers typical use cases very well.
I'm going to close this, but if you want to continue the discussion, please do!
This PR makes the following change:
add-slaves
andlaunch
and reference those tags later when callingremove-slaves
.This is an improvement over the current behavior, which follows a simple LIFO methodology, prioritizing spot instances.
I tested this PR by manually testing it over a range of input sequences. Could not run the test suite.