Geo Primary Verification List: Add verification failure details

What does this MR do and why?

Show verification failure message on Admin > Monitoring > Data management page

References

Related to #580775 (closed)

Screenshots or screen recordings

Screen_Recording_2025-11-19_at_10.42.43_AM

How to set up and validate locally

Note

This requires Geo setup on your GDK which you can do using the easy installation method. Setup is straightforward but takes some time. Alternatively, you may simply validate the code functionally.

If needed, I can upload more screen recordings if there's a specific scenario that you would like to validate. Or we could set up a call so I can share my instance with you.

  1. Enable the geo_primary_verification_ui feature flag.
  2. Apply the following patch to simulate checksum failures:
Index: ee/app/models/concerns/geo/verification_state.rb
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/ee/app/models/concerns/geo/verification_state.rb b/ee/app/models/concerns/geo/verification_state.rb
--- a/ee/app/models/concerns/geo/verification_state.rb	(revision efc465c8bc7ea01ab0ad7206fd09409942434ed9)
+++ b/ee/app/models/concerns/geo/verification_state.rb	(date 1763520132671)
@@ -297,6 +297,7 @@
     #
     # @yieldreturn [String] calculated checksum value
     def track_checksum_attempt!
+      raise StandardError, 'Something went wrong'
       # "Geo::VerificationBatchWorker" sets the whole batch to "verification_started"
       # so this check is redundant. This check and update minimizes race conditions
       # when "verify" is called without claiming the row first, for example, when
  1. Go to /admin/data_management.
  2. Click checksum on any of the items.
  3. Toggle the Expended Error / Collapse Error section.

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 Shane Maglangit

Merge request reports

Loading