[BUG] Various commands are not working in CI context since version `2.33.0`.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
No source files or tests are named. Start by reproducing the slack activity and slack datastore bulk-put commands in the reported Deno 2.2.2 AWS Lambda/Pipedream context, comparing version 2.33.0 with 2.32.2. Done means these commands recognize the existing .slack/hooks.json and work in CI without invalid_app_directory.
Written by the indexing model from the issue text.
Description
The deno-slack versions
"deno-slack-sdk/": "https://deno.land/x/deno_slack_sdk@2.15.0/",
"deno-slack-api/": "https://deno.land/x/deno_slack_api@2.8.0/",
Deno runtime version
deno 2.2.2 (stable, release, x86_64-unknown-linux-gnu)
v8 13.4.114.9-rusty
typescript 5.7.3
OS info
We are running on AWS Lambda, specifically in Pipedream.
sw_vers: command not found
uname -v: #1 SMP Wed Jan 22 02:58:04 UTC 2025
Describe the bug
We always get this error, even though the file clearly exists:
This is an invalid Slack app project directory (invalid_app_directory)
Suggestion
A valid Slack project includes the Slack hooks file: .slack/hooks.json
Steps to reproduce
slack activity -w something -a deployed --skip-update --no-color --token $SLACK_DATABOT_TOKEN
Or slack datastore bulk-put '{"datastore": "something"}' --from-file data.jsonl --app deployed --skip-update --token $SLACK_DATABOT_TOKEN
And probably other commands as well.
Expected result
It works, just as it did in version 2.32.2 and before.
Actual result
It doesn't work ("invalid Slack app"). See above.
- Dominant language
- Go
- Stars
- 305
- Forks
- 46
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 23
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/slack-cli
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abort Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug build release
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
area:bolt-python bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
build code health
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
enhancement semver:minor
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in slackapi/slack-cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100