calm-artist-7206
10/07/2026, 10:59 AMfresh-machine-37269
10/07/2026, 10:59 AMfresh-machine-37269
10/07/2026, 11:00 AMonClose assertions into the same waitFor that already waits on deleteProfile. I confirmed the root cause is real: handleDelete only calls `displaySuccessToast`/`onClose` after mutateAsync resolves, and that resolves after the async onSuccess in useDeleteLlmProfile (a getSettings() round-trip plus invalidations), so the old ordering was genuinely racy. No production code changed.
CI looks healthy now: test-and-build (ubuntu/windows) pass; the earlier "Validate PR description" failures were just the linked issue missing ready-for-dev, which has since been applied. Posted the approval with a short rationale.