After v4 upgrade: `webhook-type: webhook-trigger` step delivers duplicate messages, then hangs until the job timeout
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- github-actions, javascript, node.js
- 領域
- ci-cd
調査の方向性
まず、提供された workflow ステップを slackapi/slack-github-action の v4.0.0 で再現し、webhook-type: webhook-trigger と 5 分間のジョブタイムアウトを使用してから、v3.0.5 と比較します。inputs の解決後の action エントリポイントを、リトライと webhook 配信に重点を置いて追跡します。完了の条件は、v4 が数秒以内に完了し、メッセージを正確に 1 件投稿することです。
索引モデルが issue の本文から書いたものです。
説明
Description
Hi, we use this action in camunda/camunda (public repo) and noticed a strange behavior: After bumping the action from v3.0.5 → v4.0.0 (no other changes), a step using webhook-type: webhook-trigger began delivering the same message multiple times and then hanging with no further log output until the GitHub Actions job hit its timeout-minutes and was cancelled. Reverting to v3.0.5 resolves it.
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- example code related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: v4.0.0
node version: 22
OS version(s): ubuntu:24.04
Steps to reproduce:
Unchanged across the up/downgrade except the action ref:
- name: Send notification
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
with:
webhook: ${{ <secret> }}
webhook-type: webhook-trigger
payload: |
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "<a Block Kit mrkdwn string>"
Job has timeout-minutes: 5.
Expected result:
On v3.0.5: the step completes in ~1–2s and the message is posted once.
Actual result:
On v4.0.0:
- The same message is delivered to Slack multiple times (usually 5 copies per run).
- The step logs its resolved inputs and then produces no further output until the job is cancelled at the timeout — roughly 4+ minutes of silence.
We did not change retries; the logs show the default retries: 5 in both versions.
07:00:01Z ##[group]Run slackapi/slack-github-action@<v4 sha>
07:00:01Z webhook: ***
07:00:01Z webhook-type: webhook-trigger
07:00:01Z errors: false
07:00:01Z retries: 5
07:00:01Z ##[endgroup]
(no output for ~4m20s)
07:04:21Z ##[error]The operation was canceled.
(The job started at 06:59:17Z; the cancellation at 07:04:21Z matches timeout-minutes: 5.)
Attachments:
Example failed runs
- https://github.com/camunda/camunda/actions/runs/29898638740
- https://github.com/camunda/camunda/actions/runs/29808797086 (source of the timeline below)
- 主要言語
- JavaScript
- スター
- 1.4k
- フォーク
- 200
- 平均マージ
- 1分
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
slackapi/slack-github-action のほかの issue
-
docs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
slackapi/slack-github-action#667 ·
-
discussion security semver:major
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
slackapi/slack-github-action#621 · コメント 1 件 · リアクション 1 件 ·
-
bug: Unexpected token 'o', "ok" is not valid JSON再び着手できるかも @zimeg が 59 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdependencies question
slackapi/slack-github-action#671 · コメント 2 件 · 担当者 1 名 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
slackapi/slack-github-action#520 · コメント 1 件 ·
-
`TypeError: err.toJSON is not a function` when webhook URL is invalid対応中かも @saschabuehrle が 201 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
slackapi/slack-github-action#511 · コメント 2 件 · リアクション 3 件 ·
slackapi/slack-github-action の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dusk-network/exu#17 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
jspreadsheet/ce#1809 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
githubnext/gh-aw-workshop#4458 ·
メンテナーはふだん 1 日以内に返信
-
Add: Cartoonitoオープンcheck:failed feeds:add
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
iptv-org/database#37390 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
bug: directory index route root priority is overwritten when wildcard is false対応中かも @TalhaHunter101 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
fastify/fastify-static#617 ·