[BUG] Various commands are not working in CI context since version `2.33.0`.
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先在报告中的 Deno 2.2.2 AWS Lambda/Pipedream 上下文中复现 slack activity 和 slack datastore bulk-put 命令,并比较版本 2.33.0 与 2.32.2。完成的标准是这些命令能够识别现有的 .slack/hooks.json,并在 CI 中正常工作且不出现 invalid_app_directory。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Go
- 星标
- 305
- 派生
- 46
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 23
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
slackapi/slack-cli 的其他 Issue
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abort 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
-
bug build release
难度 2/5 1-3 小时 新手友好度 65/100
-
area:bolt-python bug
难度 3/5 1-2 天 新手友好度 55/100
-
build code health
难度 3/5 1-2 天 新手友好度 55/100
-
enhancement semver:minor
难度 5/5 一周以上 新手友好度 25/100
查看 slackapi/slack-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 84/100
-
enhancement needs triage
难度 2/5 1-3 小时 新手友好度 68/100
-
kind/cleanup
难度 2/5 1-3 小时 新手友好度 88/100
kubernetes-sigs/kueue#15947 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
sympozium-ai/sympozium#627 ·