Skip to content

PR-1: Central correctness fixes (stacked on pr-0-guardrails) - #2

Open
prathameshkurunkar7 wants to merge 7 commits into
pr-0-guardrailsfrom
pr-1-correctness
Open

PR-1: Central correctness fixes (stacked on pr-0-guardrails)#2
prathameshkurunkar7 wants to merge 7 commits into
pr-0-guardrailsfrom
pr-1-correctness

Conversation

@prathameshkurunkar7

Copy link
Copy Markdown
Owner

Correctness bug fixes for the Central pre-1.0 refactor.

STACKED on pr-0-guardrails (base is pr-0-guardrails, not develop).

Fixes:

  • Team Role autoname — corrected autoname + rename patch; previously threw DuplicateEntryError when creating a second custom role.
  • Service Backend region normalization — normalize region so re-register no longer creates duplicate rows.
  • /servers terminate — no longer fires over GET on mount; failures now surface as error toasts.
  • Notification preferences — rewritten against the new per-category (email/in-app) model and repointed to central.notification.api.*. The old billing endpoints were deleted by feat(notifications): backend notification layer frappe/central#202, so the screen 404s on develop today.
  • Timer/RAF/listener teardown on unmount across ServerMap, Sidebar, useServerMapData, and SiteNamePage.
  • useIsMobile now backed by matchMedia with scoped disposal.
  • Stale-response spinner fix in onboarding.

Each fix has a regression test where there's a backend. The two backend fixes (Team Role autoname, Service Backend region) were verified live on ci-test.localhost.

🤖 Generated with Claude Code

prathameshkurunkar7 and others added 7 commits August 6, 2026 11:27
…created

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant