Skip to content

Edit status page regression in 2.1Β #6935

@hmnd

Description

@hmnd

πŸ“‘ I have found these related issues/pull requests

Possibly related to #6888

πŸ›‘οΈ Security Policy

πŸ“ Description

In 2.0, clicking save when editing a status page correctly closed the settings sidebar and applied your settings.

As of 2.1.0-beta.0 (up to and including 2.1.1), clicking save disables the save button permanently, with further changes to the settings not re-enabling the button. Further, when a high number of monitors (>50) are added to the page, the page spikes to 100% CPU usage, causing changes to sometimes not even be saved.

Looking at websocket messages, I see a high number of messages come in specifically when editing the page:
https://github.com/user-attachments/assets/070b58bc-5620-4558-bac5-a9d77ea6dcdb

After hogging the CPU for a little while, I get a bunch of repeated errors logged in console, but they're difficult to make sense of without source maps. Will try to run from source later.

πŸ‘Ÿ Reproduction steps

  1. Add 50+ monitors to a status page
  2. Edit status page
  3. Click Save
  4. Attempt to make further edit

πŸ‘€ Expected behavior

  • Page settings get closed on first Save click
  • Changes get reliably saved
  • CPU usage does not spike

πŸ˜“ Actual Behavior

As described above.

🐻 Uptime-Kuma Version

2.1.1

πŸ’» Operating System and Arch

Docker

🌐 Browser

Google Chrome 144.0.7559.132

πŸ–₯️ Deployment Environment

Docker

πŸ“ Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions