insights: fix schema mismatch in commit search result for backend ins…
Created by: coury-clark
Fixes https://github.com/sourcegraph/sourcegraph/issues/25188
There was a schema mismatch in the CommitSearchResult
type causing a deserialization error for backend insights with a type:commit
search.
This also fixes a small bug in the error handling for the historical enqueuer.