Only process diagnostics if corresponding project is alive

Part of https://github.com/zed-industries/zed/pull/3128 that is possible
to apply now.
c98a811c0bKirill Bulatov committed on 10/31/2023, 8:40:49 AMparentbcf3bac
1 file changedLine totals unavailable