Add ChangesAccessLogger for structured logging of push checks
What does this MR do and why?
Add ChangesAccessLogger for structured logging of push checks
Introduce a logger class that instruments individual phases of ChangesAccess validation and emits structured JSON log lines with per-check durations.
References
How to set up and validate locally
- Enable the
changes_access_loggingfeature flag - Push changes to a project and look for logs in
log/application_json.logfromGitlab::Checks::ChangesAccessLogger
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #384325 (closed)
Edited by Jerry Seto