From 14123261febd21e0dbffcb66aa658772ab22ccfb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 13 May 2026 10:14:46 +0000 Subject: [PATCH] Fix compatibility message overriding more-severe probe error message Only use the compatibility advisory's message when the advisory actually changed the provider status. Previously, a warning-severity advisory message would unconditionally override a more important error message from the probe, even though the status correctly remained 'error'. This created a contradictory UX where the status showed an error but the message downplayed the issue. The fix moves the status computation before the message computation and gates compatibilityMessage on status !== snapshot.status, so the advisory message is only used when the advisory drove the status change. --- apps/server/src/provider/providerCompatibility.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/server/src/provider/providerCompatibility.ts b/apps/server/src/provider/providerCompatibility.ts index 05473ae38e..fb6c4c7aaa 100644 --- a/apps/server/src/provider/providerCompatibility.ts +++ b/apps/server/src/provider/providerCompatibility.ts @@ -293,10 +293,6 @@ function applyCompatibilityAdvisory