Repository navigation
fix(connectors): Slack canvas/list unknown errors, scheduled post settlement, and Slack image asks (STA-16717, STA-16719, STA-16720) - #51597
Merged
Conversation
…tlement, and Slack image asks (STA-16717, STA-16719, STA-16720)
AmethystLiang
added a commit
that referenced
this pull request
Nov 28, 2026
…status-lines Conflict in connector-act.ts: main (#51597) kept a scheduled post out of the chat's own answer inline, where this branch calls the shared connectorActionIntoThread. The exclusion moves into that helper, so both of its callers keep it; connector-act keeps its own `scheduled` for the request-post note below.
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.
Fixes three P2 issues from the 1.4.267 delta release scan (Slice B: Slack bot & notifications):
Summary
canvasandlistactions withconnector_post_unknown("may have been created. Check … before trying again.") instead of "nothing was done. Try again in a moment.", matchingONCE_ONLYinpostConnectorActionso bots do not blindly retry and create duplicates.verb === 'post' && args.postAt !== undefined) fromintoThreadpost-attempt tracking andnoteBotRequestPostinconnector-act.ts, soorca slack post --atdoes not settle the bot request as already answered/delivered.image-refblocks alongside the singletextblock inconnectorMessageShown(src/shared/connector-asker-prompt.ts) so Slack image asks strip the generated prompt wrapper while preserving attached images and Slack markdown.askerand carriedlaterfollow-up messages inconnectorAskerImages/fetchAskerImages, using each message's ownmessageRefunder the sharedMAX_ASKER_IMAGEScap and timeout budget.detectImageFileSignatureinconnector-asker-images.ts(matching Pi's strict GIF/WEBP signature checks) and bound Pi auto-attached images byPI_UNSHRUNK_IMAGE_LIMITS(per-image and total bytes) so auto-attached images never reject the whole request on supported Pi.Testing
src/shared/connector-asker-prompt.test.tsandsrc/main/external-conversations/connector-asker-images.test.ts(including verifying Pi auto-attached images against realpreparePiRpcPrompt).timeout 900 pnpm check:changedpasses cleanly.Performance
connectorAskerImagesshares a singleASKER_IMAGES_BUDGET_MStimeout andMAX_ASKER_IMAGEScap across the head message and carried follow-ups, and skips oversized Pi images before streaming whendownload.sizeexceeds the remaining limit.