gitlab-org--gitlab-foss/spec/services/merge_requests
Nick Thomas d31b733fee Only read rebase status from the model
Prior to 12.1, rebase status was looked up directly from Gitaly. In
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14417 , a DB
column was added to track the status instead. However, we couldn't stop
looking at the gitaly status immediately, since some rebases may been
running across the upgrade.

Now that we're in 12.3, it is safe to remove the direct-to-gitaly
lookup. This also happens to fix a 500 error that is seen when viewing
an MR for a fork where the source project has been removed.

We still look at the Gitaly status in the service, just in case Gitaly
and Sidekiq get out of sync - I assume this is possible, and it's a
relatively cheap check.

Since we atomically check and set `merge_requests.rebase_jid`, we
should never enqueue two `RebaseWorker` jobs in parallel.
2019-08-15 18:54:08 +00:00
..
conflicts
add_todo_when_build_fails_service_spec.rb
assign_issues_service_spec.rb
build_service_spec.rb Filter params in MR build service 2019-07-17 13:56:12 +02:00
close_service_spec.rb
create_from_issue_service_spec.rb Fix issues when creating system notes 2019-06-29 00:22:09 +08:00
create_pipeline_service_spec.rb
create_service_spec.rb
delete_non_latest_diffs_service_spec.rb
ff_merge_service_spec.rb
get_urls_service_spec.rb Use namespace#path for building urls in specs 2019-07-09 18:09:45 +02:00
merge_service_spec.rb [CE port] Bypass push rules for merge to ref service 2019-07-09 14:36:29 -03:00
merge_to_ref_service_spec.rb [CE port] Bypass push rules for merge to ref service 2019-07-09 14:36:29 -03:00
mergeability_check_service_spec.rb Add exclusive lease to mergeability check process 2019-07-31 19:58:43 -03:00
migrate_external_diffs_service_spec.rb
post_merge_service_spec.rb
push_options_handler_service_spec.rb Support title and desc on merge w/ push option 2019-07-24 11:04:49 +02:00
rebase_service_spec.rb Only read rebase status from the model 2019-08-15 18:54:08 +00:00
refresh_service_spec.rb
reload_diffs_service_spec.rb
reopen_service_spec.rb
resolved_discussion_notification_service_spec.rb
squash_service_spec.rb
update_service_spec.rb Merge branch '63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issue' into 'master' 2019-07-29 23:14:38 +00:00