Investigate why Javascript/Jquery is broken in production on pages living in www project
Slack thread: https://gitlab.slack.com/archives/CN8AVSFEY/p1704393876847369
Might have something to do with jQuery missing from www
judging by these dev tool errors:
https://files.slack.com/files-pri/T03N1RJJX7C-F06D61SNVK2/image.png
At first glance, i am not seeing any recent commits to that project that would have removed this.
Update: 2024-01-05
This isn't just related to the /jobs/all-jobs page. This JS issue is occurring on all pages hosted in the www
project. This only seems to be happening in Production and works fine in the Review apps and local environment.
Note to revert: gitlab-com/www-gitlab-com!132342 (diffs) and gitlab-com/www-gitlab-com!132341 (merged) once /all-jobs/
page is up and running again.
Update: 2024-01-08
Our infra team was so kind in trying to troubleshoot this as well (thank you!!) - Slack thread. TL;DR: This is not a cache issue. It also is only happening for some folks, and not all the time (For me, this is happening every time I visit a www page in Firefox, Safari, and Chrome)
I am not seeing anything pop up re: jquery/jquery-migrate having issues with latest browser versions. I did create an MR to try increasing our jquery version to 3.6 (even though jquery-migrate would migrate it down to 3.3), but I can't properly test this. The issue does not happen in Review Apps and I have not found a way to replicate what we are seeing in prod.