Skip to content

breaking-change-alert: failing with "missing input" #560

@jameslamb

Description

@jameslamb

Description

For the last few weeks, breaking-change-alert has been failing in cuDF (and probably elsewhere) like this:

Run slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c
Error: Missing input! Either a method or webhook is required to take action.
SlackError: Missing input! Either a method or webhook is required to take action.
    at Config.validate (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210:1)
    at new Config (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:126:1)
    at send (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/send.js:12:1)
    at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/index.js:9:1
    at __nccwpck_require__.a (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/runtime/async module:49:1)
    at Object.9722 (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/dist/index.js:47275:21)
    at __nccwpck_require__ (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/bootstrap:21:1)
    at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/startup:4:1
    at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
    at node:internal/modules/esm/loader:639:26

file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210
        throw new SlackError(
^
SlackError: Missing input! Either a method or webhook is required to take action.
    at Config.validate (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210:1)
    at new Config (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:126:1)
    at send (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/send.js:12:1)
    at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/index.js:9:1
    at __nccwpck_require__.a (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/runtime/async module:49:1)
    at Object.9722 (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/dist/index.js:47275:21)
    at __nccwpck_require__ (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/bootstrap:21:1)
    at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/startup:4:1
    at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
    at node:internal/modules/esm/loader:639:26

Reproducible Example

Recent example: https://github.com/rapidsai/cudf/actions/runs/26760834821

Notes

Looking through the blame (rapidsai/shared-workflows) I see the slackapi/slack-github-action had the following recent updates:

The last successful run was May 8th (https://github.com/rapidsai/cudf/actions/workflows/trigger-breaking-change-alert.yaml?query=is%3Asuccess)... which means maybe we were broken by a patch-version bump? 🙃

Approach

(task list added after finding the root cause in )

Then, fix all callers (GitHub search)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions