Skip to content

Do not create duo core todo if a user has already received one

What does this MR do and why?

Do not create duo core todo if a user has already received one

DB analysis: !193773 (comment 2551534158)

Changelog: other EE: true

How to set up and validate locally

  1. Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK

  2. Create a top level group.

  3. In rails console change the duo_nano_features_enabled setting.

    Group.last.namespace_settings.update!(duo_nano_features_enabled: nil)
    Group.last.namespace_settings.update!(duo_nano_features_enabled: true)
  4. Visit http://gdk.test:3000/admin/sidekiq/scheduled and force the sidekiq job seen below to run by adding it to the queue.

    Click to expand Screenshot_2025-05-01_at_10.31.24_AM
  5. Go to any user, part of that group, todos and notice the todo added.

  6. Clear the todo(make it done) in the UI.

  7. Repeat this whole process and ensure you don't see any new todos. Same group can be re-used if desired.

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 Doug Stull

Merge request reports

Loading