After v4 upgrade: `webhook-type: webhook-trigger` step delivers duplicate messages, then hangs until the job timeout
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- github-actions, javascript, node.js
- Ambito
- ci-cd
Direzione di ricerca
Inizia riproducendo il passaggio di workflow fornito con slackapi/slack-github-action alla v4.0.0, usando webhook-type: webhook-trigger e il timeout del job di cinque minuti, quindi confrontalo con v3.0.5. Traccia il punto di ingresso dell’action dopo la risoluzione degli inputs, concentrandoti sui retries e sulla consegna del webhook; il lavoro è completato quando v4 termina entro pochi secondi e pubblica esattamente un messaggio.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- JavaScript
- Stelle
- 1.3k
- Fork
- 200
- Merge medio
- 2h 59m
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di slackapi/slack-github-action
-
docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
slackapi/slack-github-action#667 ·
-
discussion security semver:major
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
slackapi/slack-github-action#621 · 1 commento · 1 reazione ·
-
dependencies question
slackapi/slack-github-action#671 · 2 commenti · 1 assegnatario ·
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
slackapi/slack-github-action#520 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
slackapi/slack-github-action#511 · 2 commenti · 3 reazioni ·
Tutte le issue di slackapi/slack-github-action
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
Mintplex-Labs/anything-llm#6490 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
[quality] workflow-scripts guard reads test:unit:coverage as skipping the unit suite, blocking #632 Apertaagent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
area-clientside-dartpad
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100