Our nightly sequential upgrade pipeline sometimes fails if there is no xml yet imported for a given decision definition. This happens due to the test script only asserting a certain process instance count and as these are already fully imported by the import of an earlier version the 2.3.0 instance get's killed before it can successfully import decision definition data.
At best we wait for the import to be signaled complete before killing a particular optimize instance using the status endpoint.
https://ci.optimize.camunda.cloud/view/all/job/upgrade_multiple_releases_sequentially/25/consoleFull