[BUG] Various commands are not working in CI context since version `2.33.0`.

未关闭
#218 13 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
deno, go
领域
cli

调研方向

未指定源文件或测试。首先在报告中的 Deno 2.2.2 AWS Lambda/Pipedream 上下文中复现 slack activityslack datastore bulk-put 命令,并比较版本 2.33.0 与 2.32.2。完成的标准是这些命令能够识别现有的 .slack/hooks.json,并在 CI 中正常工作且不出现 invalid_app_directory

由索引模型根据 Issue 内容生成。

描述

bug

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

slackapi/slack-cli 的其他 Issue

查看 slackapi/slack-cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。