Repository navigation
Apps says Reconnect for an app account the vendor lost - #2895
Open
davidmckayv wants to merge 1 commit into
Open
davidmckayv wants to merge 1 commit into
davidmckayv wants to merge 1 commit into
Conversation
The connections API marks a brokered connection revoked when the app's account behind it is expired or gone at the vendor. personalRow kept revoked only on a held row and dropped it on a brokered one, so Apps read Connected over an account the vendor called EXPIRED, with the Reconnect card in the conversation beside it (reported in dogfooding on Desktop 1.2.9). Every row now carries revoked, so the existing Reconnect tile, the app's page and every reader that asks whether a connection is usable see it.
davidmckayv
marked this pull request as ready for review
December 3, 2026 20:55
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 3, 2026 20:55
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Dec 3, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong
Reported in dogfooding on Desktop 1.2.9. A Bot's Google Sheets call failed because the Google account had expired at the app. Apps went on saying Connected for Google Sheets, while the conversation showed the Reconnect card.
The connections API (
listConnections) answersrevoked: truefor a connection whose app account is expired or gone at the vendor. That includes a brokered app's connection (Composio, Arcade).personalRowinapp/src/lib/plugins/queries.tskeptrevokedonly on a row with nocheck(a sign-in OpenBot keeps itself). It droppedrevokedon a brokered row, so the Apps tile, the app's page and every reader that asks whether a connection is usable read the expired account as connected.What changed
personalRownow carriesrevokedon every row, beside what the row's last check found. There's no visual change: the existing Reconnect tile, the app page's Reconnect, and the existingrevoked !== truechecks (connect-return, directory state, the connect card, moved apps) now see the expired account.Proof
main, green here:app/tests/connection-rows.test.ts, "a brokered app whose account the vendor lost asks to be reconnected". It feeds the connections API's own answer for the expired Google Sheets account (revoked: truewith acheck) throughpersonalRow,personalConnections,needsReconnectingandconnectionRows, as the Apps page does. Withmain'spersonalRowthe tile isconnected. Here it isneeds_reconnect, and the working Gmail beside it staysconnected.Chrome and Safari
Run end to end on a fresh stack in Chromium and WebKit (Safari's engine). A stock AG-UI agent calls Google Sheets on an account the Composio stand-in has marked EXPIRED, and the conversation draws the Reconnect card. With
main's web app, the Apps tile then said Connected, even though the connections API answeredrevoked: true. With this branch it says Needs attention · Reconnect, and after Reconnect's sign-in it says Connected again. The layout, spacing and copy are the existing tile's, unchanged.main)Changelog
Apps.