Populate AI Catalog Version Created By
What does this MR do and why?
Starts populating the new created by field when new catalog item versions are created.
This will allow us to track contributions to the catalog.
References
https://gitlab.com/gitlab-org/gitlab/-/work_items/567154
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Create a new agent or flow
- Check
Ai::Catalog::ItemVersion.lasthas the correctcreated_by_id - Impersonate a random user
- Modify an existing agent or flow
- Check
Ai::Catalog::ItemVersion.lasthas the correctcreated_by_id
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.
Edited by Lee Tickett