Repository navigation
Tell the Bot about every app connected from its cards, once - #2159
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 24, 2026 21:35
davidmckayv
force-pushed
the
fix/connect-cards-reach-bot
branch
from
November 24, 2026 21:54
bc48962 to
5021c85
Compare
A Bot that needs several apps for one task draws a card for each in the
same reply. Each card carried the task on by itself, so connecting the
first sent "Notion is ready now. Please carry on." alone: that message
started the Bot's next turn, the other cards were no longer the latest
thing in the conversation, and connecting them told the Bot nothing. The
person had to stop the Bot and say the others were connected.
The cards that are still the latest thing in a conversation now carry on
together: once, when the last of them is ready, in one message naming
them all ("Notion, Slack, Fireflies and Granola are ready now. Please
carry on."). While some are ready and others still wait, the last ready
card offers Continue for a person who means to go on without the rest,
and no ready card tells the person to ask again.
An app connected with a typed key is connected on its own page in this
tab, so the conversation's cards are drawn again when the person comes
back. Whether a card saw its app blocked is now kept per tool call for
the tab, so the key app still counts as a change the person watched.
davidmckayv
force-pushed
the
fix/connect-cards-reach-bot
branch
from
November 24, 2026 22:26
5021c85 to
a88783c
Compare
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
When a Bot needs several apps for one task it draws a connect card for each in the same reply. Each card carried the task on by itself, so connecting the first one sent "Notion is ready now. Please carry on." on its own. That message started the Bot's next turn, so the other cards were no longer the latest thing in the conversation, and connecting them told the Bot nothing. The person had to stop the Bot and tell it the other apps were connected.
What changes
app/src/lib/copilot/carry-on-group.ts, kept byConversationProvider). When the last of them is ready, one message names them all: "Notion, Slack, Fireflies and Granola are ready now. Please carry on."The cards look the same; only when and what they send changed.
Tests
app/tests/connect-several-apps.test.tsxdraws one reply with four cards (three sign-in apps and one key app) in a conversation that moves on once anything is asked, as the transcript does:All three fail on main (the first connection sends its own message) and pass with this change. The existing card tests (
app-access-card,connect-app-card,app-access-card-tools,name-the-admins,transcript-latest) pass unchanged.