Webpack warning/error after enabling maintenance mode when accessing administration page

Overview

When I enable maintenance mode, and refresh the adminstration -> General page, I get the following warning/error message. Everytime I navigate to this page, this comes up.

This happened on a brand new install of GDK from last night, all i did was access the UI to try enabling maintenance mode.

Also got this screenshot from someone on my team:

Just checked the chrome console and it looks like we're doing some POST request to /api/v4/usage_data/track_event which fails?  I wonder if that's getting blocked by maintenance mode and the unhandled error is messing other things up.. That error goes away if you turn off maintenance mode.  

image__3_

Screenshot_2024-10-11_at_19.03.17

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

  1. Enable maintenance mode in the UI on the primary
  2. Refresh or try to navigate again to the administration page.

Proposal (optional)

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->