Fix failing duo_workflow specs by using new uuid_v7 from gitlab utils
What does this MR do and why?
Fix failing duo_workflow specs by using new uuid_v7 from gitlab utils
References
- Related to #560512 (closed) Previously noticed ruby 3.2 lacked uuid_v7
- We have ported uuid_v7 from ruby 3.3 to gitlab utils Add uuidv7 support for to Gitlab::Utils gem (!203358 - merged)
How to check locally
The flakiness is hard to reproduce because most GDKers use ruby 3.3.x
in gdk/gitlab folder
git checkout master
ruby -v
# for ruby 3.3 this does not fail
bin/rspec -fd ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb
# now use a ruby 3.2.x by bundle installing
mise list ruby
mise exec ruby@3.2.8 -- bundle install
# now this shows errors
mise exec ruby@3.2.8 -- bin/rspec -fd ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb
Now do the same in the current MR's branch and all is fine.
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 Alper Akgun