slackapi / slackapi/slack-cli

[BUG] Workflow app deployment via CI is not working.

Open
#223 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
305
Forks
46
Avg merge
1d 11h
Merged PRs (30d)
23

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

v8 12.6.228.9
typescript 5.4.5
OS info

ProductName: macOS
ProductVersion: 13.6.7
BuildVersion: 22G720
Darwin Kernel Version 22.6.0: Mon Apr 22 20:51:27 PDT 2024; root:xnu-8796.141.3.705.2~1/RELEASE_ARM64_T6020
Describe the bug

Steps to reproduce

  1. Try to deploy from bitbucket pipeline using: slack deploy -s -w ${SLACK_ORG_ID} --token ${SLACK_SERVICE_TOKEN}
    Expected result
  1. Expected the app to be deployed
    Actual result
{

  "apps": {

    "$SLACK_ORG_ID": {

      "app_id": <app_id>,

      "enterprise_id": "$SLACK_ORG_ID",

      "IsDev": false,

      "team_domain": "atlassian",

      "team_id": "$SLACK_ORG_ID"

    }

  },

  "default": "atlassian"

}{

  "project_id": <project_id>

}

App Manifest

   Manifest values for this app are overwritten on reinstall

Check /root/.slack/logs/slack-debug-20250228.log for error logs

The app manifest was not updated (app_manifest_update_error)

Suggestion

   Check local values with `slack manifest --source local`

   Compare app settings: https://app.slack.com/app-settings/$SLACK_ORG_ID/<app_id>/app-manifest

   Write local manifest values to app settings using `--force`


got the above instead and deployment failed

This was working fine even yesterday, its not working since today morning. Deployment works fine from my local but its not working from CI.

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Bitbucket pipeline command slack deploy -s -w ${SLACK_ORG_ID} --token ${SLACK_SERVICE_TOKEN} and inspect /root/.slack/logs/slack-debug-20250228.log. Compare the CI behavior with a local deployment and check slack manifest --source local; done means the app deploys successfully from CI and the manifest is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, go
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.