Skip to content

gitserver: use standardized actor propagation

Warren Gifford requested to merge main-dry-run/gitserver-actor-propagation into main

Created by: bobheadxi

Removes the custom actor propagation that gitserver and gitserver.Client uses, in favour of leveraging the standardized actor propagation introduced in https://github.com/sourcegraph/sourcegraph/issues/27918. There should be no behavioural changes, since this actor data is only used for observability on the gitserver side, and serverside backcompat with the old header is retained for the time being.

One particular usage of gitserver.Client, in NewGitoliteSource, required adding the actor transport manually because the external source constructors are provided a httpcli.ExternalClientFactory, which does not have the actor propagation transport set up.

Closes https://github.com/sourcegraph/sourcegraph/issues/28448

Merge request reports

Loading