Store pulled diagnostics' result_ids more persistently (#32403)

Follow-up of https://github.com/zed-industries/zed/pull/19230

`BufferId` can change between file reopens: e.g. open the buffer, close
it, go back in history to reopen it — the 2nd one will have a different
`BufferId`, but the same `result_ids` semantically.

Release Notes:

- N/A
fa54fa80d0Kirill Bulatov committed on 6/9/2025, 5:05:33 PM· committed by GitHubparentde16f2b
3 files changedLine totals unavailable