Deprecated warning in RebaseWorker

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue
RebaseWorker#perform
  when rebasing an MR from a fork where upstream has protected branches
DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to `find`. Please pass the id of the object by calling `.id`. (called from perform at /Users/stanhu/gitlab/gdk-ee/gitlab/app/workers/rebase_worker.rb:5)
DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to `find`. Please pass the id of the object by calling `.id`. (called from perform at /Users/stanhu/gitlab/gdk-ee/gitlab/app/workers/rebase_worker.rb:6)
    sets the correct project for running hooks
Edited Sep 30, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading