Skip to content
Snippets Groups Projects
Closed insights: errors resolving repository metadata cause partial search result recordings
  • View options
  • insights: errors resolving repository metadata cause partial search result recordings

  • View options
  • Closed Issue created by Warren Gifford

    Created by: coury-clark

    In the code insights search query worker there is a call to resolve repository name from repository ID. This is done iteratively for each distinct repository ID in the result. If any of these calls fail, processing for the entire result stops and the record is marked as failed.

    Currently the provided context is not set as an internal actor, causing a discrepancy between the global permissions used on the search and the repository resolution permissions. This causes search results to consistently fail recording somewhere in the middle.

    Additionally, the search result itself can contain the repository name, possibly preempting the need for this entire call.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first