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 frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
add_todo_when_build_fails_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
assign_issues_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
build_service_spec.rb Filter params in MR build service 2019-07-17 13:56:12 +02:00
close_service_spec.rb Cancel auto merge when merge request is closed 2019-06-04 10:12:41 +07:00
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 Introduce service for merge request pipeline creation 2019-06-06 10:35:43 +07:00
create_service_spec.rb Fix merge request pipeline exist method 2019-05-06 13:20:47 +07:00
delete_non_latest_diffs_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
ff_merge_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
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 Fix environment automatic on_stop trigger 2019-04-30 21:15:39 +07:00
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 Abstract auto merge processes 2019-06-03 13:15:29 +07:00
reload_diffs_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
reopen_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
resolved_discussion_notification_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
squash_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
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