You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Settings: a click on the Reminders panel before it finishes loading is lost (flaky settings browser test) #7380
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).
As an admin, open Settings and go to Reminders as soon as the panel shows.
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}
Activity
docs(settings): screenshot of the reminders panel for odysseus-dev#7380