-
Notifications
You must be signed in to change notification settings - Fork 38
Description
The deno-slack versions
"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",
Deno runtime version
deno 2.4.2 (stable, release, aarch64-apple-darwin)
v8 13.7.152.14-rusty
typescript 5.8.3
OS info
ProductName: macOS
ProductVersion: 15.5
BuildVersion: 24F74
Darwin Kernel Version 24.5.0: Tue Apr 22 19:52:00 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6031
Describe the bug
I updated today in the application string value in my custom function and ran slack deploy, everything went well, but while executing workflow in the Slack, we started to have error:
2025-07-18 14:52:56 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Shortcut trigger successfully started execution of function 'Report Bug'
2025-07-18 14:52:56 [info] [Fn096BSKT5J7] (Trace=Tr096JKZH284) Function 'Report Bug' (workflow function) started
2025-07-18 14:52:56 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Workflow 'Report Bug' started
2025-07-18 14:52:56 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Workflow step 1 of 2 started
2025-07-18 14:52:56 [info] [Fn010N] (Trace=Tr096JKZH284) Function 'Collect info in a form' (Slack function) started
2025-07-18 14:52:57 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Workflow step 'Collect info in a form' completed
2025-07-18 14:53:03 [info] [Fn010N] (Trace=Tr096JKZH284) Function 'Collect info in a form' (Slack function) completed
2025-07-18 14:53:03 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Workflow step 'Collect info in a form' completed
2025-07-18 14:53:04 [info] [Wf096BSKTY8K] (Trace=Tr096JKZH284) Workflow step 2 of 2 started
2025-07-18 14:53:04 [info] [Fn096BSKQ61Z] (Trace=Tr096JKZH284) Function 'Report Bug - Validate Initial Input' (app function) started
2025-07-18 14:53:06 [info] [Fn096BSKQ61Z] (Trace=Tr096JKZH284) Function output:
Caught error from user supplied module: NotCapable: Requires env access to "JEST_WORKER_ID", run again with the --allow-env flag
at Object.getEnv [as get] (ext:deno_os/30_os.js:124:10)
at denoEnvGet (ext:deno_node/_process/process.ts:27:21)
at Object.get (ext:deno_node/_process/process.ts:44:22)
at file:///var/task/functions/report-bug-initial-input-validation.js:10932:155
Steps to reproduce
- slack deploy
β― slackcli deploy
Check /Users/ap/.slack/logs/slack-debug-20250718.log for error logs
β οΈ App manifest contains some components that may require additional informationπ This step cannot be used by external teams. Delete the step, or remove the external teams to publish this workflow. (home_team_only)
Source: /workflows/report_bug_workflow/steps/1π App Manifest
Updated app manifest for "Report Bug" in "Stay22"π App Install
Installing "Report Bug" app to "Stay22"
Updated app icon: assets/icon.png
Finished in 2.7sβ‘ Listing triggers installed to the app...
π Shortcut trigger:
Report Bug Ft087DG3GA9W (shortcut)
Created: 2024-12-28 13:43:33 -05:00 (6 months ago)
Collaborators:
XXXX @xxxx XXXXX
Can be found and used by:
everyone in the workspace
https://slack.com/shortcuts/Ft087DG3GA9W/a99aa0cbaa8e82cbd65cf5a8bbdd5eb0π App packaged and ready to deploy
0.142MB was packaged in 0.3sπ Report Bug deployed in 1.7s
Dashboard: https://slack.com/apps/A0873CF74P3
App Owner: XXXX (XXXXX)
Workspace: XXXX (XXXXX)π© Visit Slack to try out your live app!
When you make any changes, update your app by re-running slackcli deploy
Review the current activity logs using slackcli activity --tailπ We would love to know how things are going
Share your development experience with slackcli feedback
I tried to add this variable JEST_WORKER_ID to slack env but it didn't help.
This is not mine variable and I didn't add any new packages today.
When I run locally slack run I have no error at all.
Expected result
Workflow should work fine as it was before.
Actual result
2025-07-18 14:53:06 [info] [Fn096BSKQ61Z] (Trace=Tr096JKZH284) Function output:
Caught error from user supplied module: NotCapable: Requires env access to "JEST_WORKER_ID", run again with the --allow-env flag
at Object.getEnv [as get] (ext:deno_os/30_os.js:124:10)
at denoEnvGet (ext:deno_node/_process/process.ts:27:21)
at Object.get (ext:deno_node/_process/process.ts:44:22)
at file:///var/task/functions/report-bug-initial-input-validation.js:10932:155
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.