[Snyk] Security upgrade @slack/bolt from 3.22.0 to 4.2.0 - #12
Open
agha4to wants to merge 1 commit into
Open
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6671926
agha4to
pushed a commit
that referenced
this pull request
May 30, 2026
…ightdash#23587) * feat(ee): add 👀 reaction when Slack bot sees an @mention Give users immediate visual feedback that the AI agent received their mention, before any auth or agent resolution decides how to respond. Today there's a noticeable silence between the @mention and the bot's "Thinking…" reply (especially on the first multi-agent / project picker turn), and on errors the user sometimes gets no reply at all. A 👀 reaction on the trigger message makes "I saw you" unambiguous. - Add `reactions:write` to the required Slack scopes (manifest). - Fire `reactions.add` at the top of handleAppMention, before auth / settings lookups, so the ack lands even if a downstream step fails. - Fire-and-forget: wrap the call in `.catch` that logs at debug, so any install that hasn't re-authorized for the new scope simply skips the reaction without breaking the mention flow. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * feat(ee): add ✅ reaction when AI writeback opens a PR Builds on the 👀 ack reaction: once a writeback successfully opens (or updates) a pull request, also add a ✅ reaction to the user's original Slack mention. The success story is now visible at-a-glance without reading the bot's reply — 👀 = "I saw you", ✅ = "PR is up". - Add a small `addReaction` helper to SlackClient that wraps `getWebClient(orgUuid) → webClient.reactions.add(...)`, matching the per-org WebClient pattern used by every other method in that class. - Fire the green-tick from inside the `proposeWriteback` dep in `getAiAgentDependencies`, gated on `result.prUrl != null` (a PR was actually opened) AND `isSlackPrompt(prompt)` (web-app invocations have no Slack message to react to). Failure to add the reaction is logged at debug and never fails the writeback itself. Verified end-to-end against a live writeback to PR #12: the trigger message ended up with both `:eyes:` (from handleAppMention) and `:white_check_mark:` (from the proposeWriteback success path). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
agha4to
pushed a commit
that referenced
this pull request
May 30, 2026
# [0.3032.0](lightdash/lightdash@0.3031.0...0.3032.0) (2026-05-28) ### Features * **ai-agents:** add review classifier contract ([lightdash#23548](lightdash#23548)) ([369782a](lightdash@369782a)) * **ai-agents:** display token usage tooltip on message model indicator ([lightdash#23580](lightdash#23580)) ([053848b](lightdash@053848b)) * **ee:** Slack bot reactions on agent ack and writeback PR success ([lightdash#23587](lightdash#23587)) ([a0d1cb5](lightdash@a0d1cb5)), closes [#12](lightdash#12)
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.
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
packages/backend/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-AXIOS-6671926
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)