chore: remove @slack/webhook dependency#23167
Merged
enricobattocchi merged 1 commit intotrunkfrom Apr 16, 2026
Merged
Conversation
Slack webhook notifications are no longer functional. This removes the @slack/webhook package, the notify-slack custom Grunt task and its configuration, the related Slack prompt definitions, and the SLACK_*_CHANNEL_TOKEN env vars from .env.example. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Coverage Report for CI Build 9Coverage increased (+0.7%) to 54.152%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
Contributor
There was a problem hiding this comment.
Pull request overview
Removes decommissioned Slack webhook notification plumbing from the Grunt release pipeline, including the @slack/webhook dependency and all notify-slack task configuration, prompts, and environment variables.
Changes:
- Removed
@slack/webhookfromdevDependenciesand pruned related entries fromyarn.lock. - Deleted the
notify-slackcustom Grunt task and its task-config, and removed the task from release aliases and JIT task mappings. - Removed Slack-related prompt definitions (and the now-unused
colors/safeimport) plus Slack token entries from.env.example.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
yarn.lock |
Removes @slack/webhook (and its transitive deps/keys) from the lockfile. |
package.json |
Drops @slack/webhook from devDependencies. |
config/grunt/task-config/prompt.js |
Removes Slack-specific prompts and the unused colors/safe import. |
config/grunt/task-config/notify-slack.js |
Deletes the Slack notification task configuration. |
config/grunt/task-config/aliases.yaml |
Removes notify-slack:* from create-beta / create-rc alias chains. |
config/grunt/custom-tasks/notify-slack.js |
Deletes the custom Grunt task implementation that sent Slack webhooks. |
Gruntfile.js |
Removes the JIT static mapping for the notify-slack task. |
.env.example |
Removes Slack token env var placeholders. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Context
Slack webhook notifications are no longer functional — the webhooks have been decommissioned. The
@slack/webhookpackage and all related Grunt task code are dead code that should be removed.Summary
This PR can be summarized in the following changelog entry:
@slack/webhookdependency and thenotify-slackGrunt task.Relevant technical choices:
colors/safeimport fromprompt.jsas it became unused after removing the Slack prompt definitions.Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
yarn install— should complete without errors.grunt build— should complete without errors (no references to removed task).notify-slackand@slack/webhook— no matches should remain outside of git history.Relevant test scenarios
Test instructions for QA when the code is in the RC
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
create-beta,create-rcaliases). No runtime plugin code is affected.Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.[yoast-doc-extension], added test instructions for Yoast SEO for Google Docs and attached theGoogle Docs Add-onlabel to this PR.Documentation
Quality assurance
grunt build:imagesand commited the results, if my PR introduces new images or SVGs.Innovation
innovationlabel.🤖 Generated with Claude Code