Skip to content

Add Rapid Diffs debug mode

What does this MR do and why?

This MR:

  1. Adds Rapid Diffs debug mode feature flag (ops)
  2. Puts rapid_diffs_disabled param behind this flag

RapidDiffs debug mode is going to allow us to inspect Rapid Diffs by disabling certain features:

  1. Disabling Rapid Diffs on certain pages to inspect compatibility/feature parity (this MR)
  2. Disabling syntax highlighting (future MRs)
  3. Disabling streaming on backend to allow for native performance inspection (future MRs)

References

Builds upon !191512 (closed).

How to set up and validate locally

  1. Enable rapid_diffs, rapid_diffs_debug and rapid_diffs_on_mr_creation feature flags
  2. Go to merge request list
  3. Select 'Create merge request'
  4. Select branches, proceed onto next page
  5. Select 'Changes' tab
  6. Add &rapid_diffs_disabled=true to the URL, follow it
  7. Observe page load without Rapid Diffs

Merge request reports

Loading