bslatkin / dpxdt

Make continuous deployment safe by comparing before and after webpage screenshots for each release. Depicted shows when any visual, perceptual differences are found. This is the ultimate, automated end-to-end test.
https://dpxdt-test.appspot.com
Apache License 2.0
1.44k stars 124 forks source link

Remove running attempts from queue #176

Closed NicoHaase closed 8 years ago

NicoHaase commented 8 years ago

It would be cool to remove a whole attempt from the workers queue. If you start an attempt covering a lot of URLs and immediatly find an error, you could save a lot of time if this option was available

bslatkin commented 8 years ago

Sorry for my delay. This behavior is somewhat present here:

https://github.com/bslatkin/dpxdt/blob/master/dpxdt/server/api.py#L130

If the last attempt is still processing when the next one is kicked off, the API will automatically cancel all tasks for the last release before starting the next one.

Is that what you meant? If not, could you reopen and clarify? Thanks!