Handle dual writes for remaining merge_data attributes
What does this MR do and why?
We've implemented dual-write for merge_status in !208723 (merged)
Now this MR covers dual-writes for remaining merge_data attributes.
This MR overrides attribute setters to handle direct assignments as well as mass assignment via new, create, update.
It also introduces wrapper methods for handing partial merge_params updates as well as direct column updates for merge_jid and merge_ref_sha.
merge_data will be saved once mege_request gets saved and I tried to keep the existing code as is to minimize disruption.
References
#560933
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
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 #560933
Edited by Sincheol (David) Kim