EE compat check failing with "undefined local variable or method `ee_branch`"
I'm getting the following error in CI when the rake ee_compat_check
job runs:
$ git checkout -b 23674-simplify-milestone-summary-ee FETCH_HEAD
rake aborted!
NameError: undefined local variable or method `ee_branch' for #<Gitlab::EeCompatCheck:0x00000009447f10>
Did you mean? ce_branch
ee_branch_found
ee_branch_suffix
ee_branch_prefix
@ce_branch
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:218:in `ee_patch_name'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:222:in `ee_patch_full_path'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:118:in `ee_branch_compat_check!'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:42:in `block (2 levels) in check'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:38:in `catch'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:38:in `block in check'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:35:in `chdir'
/builds/gitlab-org/gitlab-ce/lib/gitlab/ee_compat_check.rb:35:in `check'
/builds/gitlab-org/gitlab-ce/lib/tasks/gitlab/dev.rake:16:in `block (3 levels) in <top (required)>'
/builds/gitlab-org/gitlab-ce/lib/tasks/ee_compat_check.rake:3:in `block in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:dev:ee_compat_check
(See full trace by running task with --trace)
The corresponding ee branch for 23674-simplify-milestone-summary
does exist at 23674-simplify-milestone-summary-ee
so I'm not sure why this job is failing.
Here's the build: https://gitlab.com/gitlab-org/gitlab-ce/builds/13086766
Related: #25870 (closed)