Manual Job "Play" button does not unfold anymore after changing the active tab in Firefox or Chrome (Reload needed)
Summary
We run several CI jobs automatically but also create manual jobs that we have to trigger via the UI (there is a manual job "play" button for this to trigger). When loading the pipelines page (or more specifically the "tags" page) with such buttons, those buttons do not unfold the manual job trigger anymore when changing the active tab in the browser to another one and then changing back. Also when unfolding the play button, changing the tab and changing back while pressing another play button, you have unfolded both. This bug was introduced in 11.6, as we didn't encountered it before that and we use it on a daily basis.
Steps to reproduce
Have manual jobs to trigger with the play button (see example in the attached file), then change the tab and then change back while trying to open the play button it should not work without reloading the tab. We where able to reproduce this bug with the latest Firefox and Chrome browsers with also the latest macOS 10.14.x
Example Project
Currently i cannot provide one, but we use the latest Gitlab 11.6.2 where we can reproduce that behaviour.
What is the current bug behavior?
See Summary and steps to reproduce above
What is the expected correct behavior?
The expected behaviour is the one from pre-11.6 where also changing the tab and changing back - or loading the page in the background - made it possible to directly unfold the play button and trigger a job without reloading the whole page.
Relevant logs and/or screenshots
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Debian 9.6 Proxy: no Current User: git Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.16.6 Rake Version: 12.3.1 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.3 Go Version: unknownGitLab information Version: 11.6.2-ee Revision: 308f077 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.11 URL: https://thot.cps.io HTTP Clone URL: https://thot.cps.io/some-group/some-project.git SSH Clone URL: git@thot.cps.io:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 8.4.3 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 8.4.3 ? ... OK (8.4.3) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... Server: ldapmain LDAP authentication... Failed. Check
bind_dn
andpassword
configuration values LDAP users with access to your GitLab server (only showing the first 100 results) DN:Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 3/3 ... yes 3/4 ... yes 3/5 ... yes 3/6 ... yes 3/7 ... yes 3/8 ... yes 3/9 ... yes 3/10 ... yes 3/11 ... yes 3/12 ... yes 3/13 ... yes 3/14 ... yes 3/15 ... yes 3/16 ... yes 3/17 ... yes 3/18 ... yes 3/19 ... yes 3/20 ... yes 3/21 ... yes 3/22 ... yes 3/23 ... yes 3/24 ... yes 3/25 ... yes 3/26 ... yes 3/27 ... yes 3/38 ... yes 3/39 ... yes 3/40 ... yes 3/41 ... yes 3/42 ... yes 3/43 ... yes 16/44 ... yes 9/47 ... yes 16/48 ... yes 16/49 ... yes 16/50 ... yes 16/51 ... yes 3/52 ... yes 16/53 ... yes 18/54 ... yes 16/56 ... yes 19/57 ... yes 19/60 ... yes 19/61 ... yes 9/63 ... yes 3/64 ... yes 3/65 ... yes 3/66 ... yes 3/67 ... yes 19/68 ... yes 16/69 ... yes 3/70 ... yes 3/71 ... yes 3/72 ... yes 3/73 ... yes 3/76 ... yes 3/77 ... yes 3/78 ... yes 16/79 ... yes 22/80 ... yes 19/81 ... yes 19/82 ... yes 23/84 ... yes 23/85 ... yes 16/86 ... yes 19/87 ... yes 16/88 ... yes 16/89 ... yes 16/90 ... yes 16/92 ... yes 3/93 ... yes 3/94 ... yes 3/95 ... yes 3/96 ... yes 3/98 ... yes 19/99 ... yes 3/100 ... yes 19/103 ... yes 19/104 ... yes 3/105 ... yes 3/106 ... yes 3/107 ... yes 3/108 ... yes 16/109 ... yes 3/110 ... yes 3/111 ... yes 19/112 ... yes 2/113 ... yes 14/114 ... yes 2/115 ... yes 3/116 ... yes 19/119 ... yes 3/120 ... yes 3/121 ... yes 19/122 ... yes 19/123 ... yes 3/124 ... yes 19/125 ... yes 19/126 ... yes 19/129 ... yes 16/132 ... yes 19/133 ... yes 16/134 ... yes 16/135 ... yes 16/136 ... yes 3/137 ... yes 16/138 ... yes 19/140 ... yes 16/143 ... yes 16/144 ... yes 3/146 ... yes 3/150 ... yes 3/151 ... yes 3/152 ... yes 16/158 ... yes 18/160 ... yes 16/161 ... yes 3/162 ... yes 19/163 ... yes 3/164 ... yes 16/166 ... yes 16/167 ... yes 14/168 ... yes 3/169 ... yes 3/170 ... yes 3/171 ... yes 3/174 ... yes 3/175 ... yes 3/178 ... yes 16/179 ... yes 19/181 ... yes 3/182 ... yes 18/183 ... yes 3/184 ... yes 3/185 ... yes 19/186 ... yes 3/187 ... yes 16/188 ... yes 14/189 ... yes 19/190 ... yes 16/191 ... yes 16/192 ... yes 27/195 ... yes 16/196 ... yes 16/198 ... yes 16/199 ... yes 3/200 ... yes 16/201 ... yes 27/202 ... yes 2/203 ... yes 3/204 ... yes 19/205 ... yes 16/206 ... yes 27/208 ... yes 16/211 ... yes 3/212 ... yes 16/213 ... yes 2/214 ... yes 19/215 ... yes 19/216 ... yes 19/217 ... yes 27/219 ... yes 19/220 ... yes 3/221 ... yes 3/224 ... yes 2/225 ... yes 3/226 ... yes 9/227 ... yes 3/228 ... yes 2/229 ... yes 3/230 ... yes 19/233 ... yes 42/234 ... yes 27/235 ... yes 16/236 ... yes 42/237 ... yes 2/238 ... yes 19/239 ... yes 16/240 ... yes 16/241 ... yes 16/242 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.5.3) Git version >= 2.18.0 ? ... yes (2.18.1) Git user has default SSH configuration? ... yes Active users: ... 12 Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished
Possible fixes
Maybe check changes here between pre-11.6.0 and 11.6.x.