We do need to run merge requests as a background task, and cache the results. Mature projects with big repos take too long to compute if they are mergable.
See https://forge-allura.apache.org/p/allura/tickets/7830/#f5b2 for discussion on running in background and caching.
Closed #754.
ib/7866
If merging is not allowed (
merge_allowed
method), e.g. disabled withscm.merge.git.disabled = true
then none of this should run. When I had it disabled, and was logged in as a project admin and visited a MR it showed the "checking" message and ran the task and then was hidden after that.Closed #758. Force-pushed
ib/7866
(rebase)