Skip to content

Display push Event records in the project-level Audit Log

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

In #242010 (closed) we have been discussing the challenge of enabling the repository_push_audit_event feature flag in the context of gitlab.com and other large instances. Specifically, it will result in many new AuditEvent records (something like 1 million per day on gitlab.com), which is nothing to sneeze at. But part that is really irksome is that these records would be redundant. Pushes are already captured by the Event model.

That problem is actually more general. There are a number of other Event types that we want to display in the Audit Log as well. But we're not sure we can performantly query both Event and EventType records, and combine the results. We'd like to build a proof of concept to evaluate whether we can make that work.

Proposal

Include push Event records in the project-level Audit Log page (event type 5).

Out of scope

Remove the repository_push_audit_event feature.

Edited by 🤖 GitLab Bot 🤖