Don't produce `update` replication jobs from housekeeping RPCs
When performing a write through the web IDE we get two mutators along the commit call:
/gitaly.RepositoryService/ApplyGitattributes
/gitaly.RepositoryService/Cleanup
Both of them produce an update
type replication event, which leads to the repositories being considered outdated until applied.
On a quick look, ApplyGittattributes seems like it should produce an event there is some attribute related code in the replication code path.
The Cleanup
call seems to be doing things that won't be done when the repository is being replicated. The changes also don't seem to affect what the client sees. Producing the event leads Praefect to unnecessarily consider the repository outdated and to perform unnecessary replication.
We should check which mutators do not perform changes visible to the client and change make them use another type of replication event which won't cause replication nor lead Praefect to consider the repository as outdated.