Draft: Improve ROP error track handling
What does this MR do and why?
This is a follow-up to Add workspace creation event and metrics (!188226 - merged) • zli • 18.1, which refactors how the "error track" is handled in the
ROP pattern,
and the spec/support/matchers/invoke_rop_steps.rb rspec custom matchers.
The crux of the change is that the err track should also have a Hash context value passed along, which must contain only two keys:
-
message:which contains aGitlab::Fp::Message -
context:which passes along the original context from theoktrack.
References
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.