potiuk commented on pull request #18538: URL: https://github.com/apache/airflow/pull/18538#issuecomment-927350803
I think this is result of another problem. The "runner" cleanup works only as pre-execute and I believe the `--ephemeral` flag was introduced because `--once` flag had a race condition that runner could pick up more than one job (I believe I saw that in the changelog). That would also explain why it happens so rarely - because it would only happen when 2019 run was given to a runner which just run 2017 (or the other way round) as a result of that race condition. See issue here https://github.com/actions/runner/issues/510 - it mentions that the second job would fail with "lost communication" but I think that the race condition could also cause two jobs executing one after another. I think it is worth trying (and switching to `--ephemeral` soon). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
