Skip to content

Settings: a click on the Reminders panel before it finishes loading is lost (flaky settings browser test) #7380

Closed

Description

@o3LL

Prerequisites

  • I searched open issues and discussions and did not find an existing report of this bug.
  • This is not a security vulnerability.
  • I am running the latest code from the dev branch and the bug still reproduces there.

Odysseus Revision

3115495 (2026-11-22)

Install Method

Manual Python install (pip / venv)

Operating System

Linux

Steps to Reproduce

  1. Make GET /api/auth/settings slow: a slow server, or in the settings browser suite a page.route that delays it by 4 s before openSettings(admin.page).
  2. As an admin, open Settings and go to Reminders as soon as the panel shows.
  3. Toggle AI synthesis (#set-reminder-llm-toggle) before the settings finish loading.

Expected Behaviour

The change is saved, or its save error is shown.

Actual Behaviour

Nothing is saved, and the toggle flips back when the settings finish loading. initReminderSettings in static/js/settings/reminders.js awaits /api/auth/settings before it adds the change listeners, while the panel is already visible, so a click in that window has no handler.

CI hits it in tests/test_settings_modernization_browser.py: the "failed reminder save shows an error" check times out waiting for the toast. It failed on dev at 3115495e and twice on #7376. Locally it fails some runs and passes others; with the 4 s delay it fails every time (empty toast, toggle reset).

Logs / Screenshots

AssertionError: FAIL failed reminder save shows an error
probe: {"toast":"","cls":"toast","checked":false,"disabled":false,"visible":true}

Are you willing to submit a fix?

Yes — I can open a PR

Activity

  1. added
    bugSomething isn't working
    on Nov 22, 2026
  2. added
    needs more infoIssue description incomplete — please provide the missing details
    on Nov 22, 2026
  3. added
    ready for reviewDescription complete — ready for maintainer review
    and removed
    needs more infoIssue description incomplete — please provide the missing details
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions