Run validation only for synced epics
We can trim down the number of sidekiq jobs spawned by checking if the epic also has a synced work item. In addition we can use the new `actor_from_id` method to not query the group but still check the feature flag.
显示
- ee/app/models/ee/epic.rb 1 个添加, 0 个删除ee/app/models/ee/epic.rb
- ee/lib/ee/gitlab/event_store.rb 4 个添加, 2 个删除ee/lib/ee/gitlab/event_store.rb
- ee/spec/models/epic_spec.rb 9 个添加, 0 个删除ee/spec/models/epic_spec.rb
- ee/spec/workers/work_items/validate_epic_work_item_sync_worker_spec.rb 3 个添加, 1 个删除...rs/work_items/validate_epic_work_item_sync_worker_spec.rb
加载中
想要评论请 注册 或 登录