getsentry/freight

Deploy spawning duplicate concurrent jobs

Closed this issue · 3 comments

During my investigation of #54 I found out that for each deploy triggered, multiple deploys jobs were being spawned and processed by celery.

This issue seems to have started for me with cc2bea0, the previous commit of 39f290f is working fine.

Duplicate jobs cc2bea0:
spawn_multiple

Working as desired 39f290f:
spawn_single

I am not too familiar with celery but happy to provide any more troubleshooting information if required.

@mitsuhiko any thoughts?

We've seen weird quirks, but we're on Heroku which means we can't debug anything. I'm wondering if it's related. It could be Celery doesn't like our subprocess spawning/etc.

thoas commented

same issue here, had to downgrade to 9934cfb last week

fixed by #56