Skip to content

feat: remove deno from installation scripts#189

Merged
zimeg merged 23 commits intomainfrom
zimeg-feat-install-deno-remove
Aug 21, 2025
Merged

feat: remove deno from installation scripts#189
zimeg merged 23 commits intomainfrom
zimeg-feat-install-deno-remove

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented Aug 12, 2025

Changelog

The deno runtime is no longer installed with the installation script. We recommend installing deno separately and configuring CI systems as needed for app development (such as for ROSI apps).

Summary

This PR removes deno from the installation scripts for improved bolt support. Also included are tests for the unix installation scripts in CI.

Preview

install.mov

Reviewers

🦕 An upstream version can be downloaded with these commands:

$ ./scripts/install.sh lack-dev
> .\scripts\install-windows.ps1

Notes

  • Updates to the installation docs ought be with this changeset! 📚 ✨

Requirements

@zimeg zimeg added this to the Next Release milestone Aug 12, 2025
@zimeg zimeg self-assigned this Aug 12, 2025
@zimeg zimeg added enhancement M-T: A feature request for new functionality code health M-T: Test improvements and anything that improves code health semver:minor Use on pull requests to describe the release version increment build M-T: Changes to compilation and CI processes labels Aug 12, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.95%. Comparing base (9239803) to head (83a8f82).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
- Coverage   62.97%   62.95%   -0.03%     
==========================================
  Files         212      212              
  Lines       21782    21782              
==========================================
- Hits        13718    13713       -5     
- Misses       7003     7006       +3     
- Partials     1061     1063       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zimeg zimeg added the changelog Use on updates to be included in the release notes label Aug 12, 2025
@zimeg zimeg changed the base branch from zimeg-feat-install-local-bin to main August 20, 2025 17:20
@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Aug 20, 2025

🗣️ The "Lints and Unit tests" check is pending because this workflow name was changed to "Lints and Tests" in this PR. Before merging we can update the required checks if that's alright!

@zimeg zimeg marked this pull request as ready for review August 20, 2025 19:47
@zimeg zimeg requested review from a team as code owners August 20, 2025 19:47
@zimeg zimeg requested a review from WilliamBergamin August 20, 2025 19:47
@zimeg zimeg added the docs M-T: Documentation work only label Aug 20, 2025
Copy link
Copy Markdown
Contributor

@WilliamBergamin WilliamBergamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job 🚀 I don't have much to add, we can always fix forward

Comment on lines +23 to +25
- [Bolt for JavaScript](/tools/bolt-js/getting-started)
- [Bolt for Python](/tools/bolt-python/getting-started)
- [Deno Slack SDK](/tools/deno-slack-sdk/guides/getting-started)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Praise 🙏

Comment on lines +223 to +224
Write-Host "`nUse of the Slack CLI should comply with the Slack API Terms of Service:"
Write-Host " https://slack.com/terms-of-service/api"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖

fi
;;
*)
>&2 echo -e "\x1b[1m⚠️ Warning: An unknown flag '$1' was passed to the Slack CLI installation script!\x1b[0m"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Praise the user experience improvement 🙏

delay 0.2 "💾 Successfully downloaded Slack CLI v$LATEST_SLACK_CLI_VERSION to $(home_path "$slack_cli_install_dir/slack-cli.tar.gz")"

delay 0.3 "📦 Extracting the Slack CLI command binary to $(home_path $slack_cli_bin_path)"
delay 0.3 "📦 Extracting the Slack CLI command binary to $(home_path "$slack_cli_bin_path")"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

Comment on lines +227 to +228
sleep 0.1
feedback_message
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of scope, but is there a way to toggle these sleep off to improve the CI experience?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe so right now, but this is a good idea to follow up on 🙏

IIRC we've discussed environment variable options but I forget at the moment if we settled on something? I'll also be thinking about this!

Copy link
Copy Markdown
Member Author

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WilliamBergamin Thanks for the kind review! I'm hoping to merge this for next release but will hold off right now.

Also - huge thanks to @lukegalbraithrussell for the branch previews - I left a few comments below to make sure links follow as expected 👁️‍🗨️

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📚 Preview

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📚 Preview

Comment on lines +227 to +228
sleep 0.1
feedback_message
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe so right now, but this is a good idea to follow up on 🙏

IIRC we've discussed environment variable options but I forget at the moment if we settled on something? I'll also be thinking about this!


The automated installer attempts to add the Slack CLI to a known directory in the path: `/usr/local/bin`.

Some machines protect this directory and elevated access might be needed for updated permissions. We do not recommend using `sudo` with the automated installer since unexpected side effects might place downloads in the wrong spot.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll sudo if i want to!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo or bust

Copy link
Copy Markdown
Contributor

@lukegalbraithrussell lukegalbraithrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits of words but docs look good both here and on the preview!

zimeg and others added 2 commits August 20, 2025 17:24
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Copy link
Copy Markdown
Member Author

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukegalbraithrussell I appreciate the review!

I'm going to keep reading the docs and might land a few small changes but will hold off on merging this for the moment 🫡

zimeg and others added 2 commits August 21, 2025 16:07
@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Aug 21, 2025

@WilliamBergamin @lukegalbraithrussell @haleychaas Thank y'all for the reviews in this change 🙏 ✨

Now is seeming like an alright time to merge this, so let's! I am wondering if we want to avoid publishing the docs updates for now but will open discussion on this elsewhere 🤖

I've also made a note about the faster CI improvements to follow for this script, and am hoping we can continue follow ups of that and #188 soon! 🚢

Marking the calendar to publish these scripts on September 1 upcoming 📆 👾

@zimeg zimeg merged commit 5033493 into main Aug 21, 2025
6 checks passed
@zimeg zimeg deleted the zimeg-feat-install-deno-remove branch August 21, 2025 23:22
@zimeg zimeg added semver:patch Use on pull requests to describe the release version increment and removed semver:minor Use on pull requests to describe the release version increment labels Aug 22, 2025
@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Aug 22, 2025

🗣️ The changes of this PR are unrelated to CLI command behavior and are scheduled to be uploaded separate of when this release goes public IIRC.

Changing it to a semver:patch for this upcoming release!

jobs:
lint-test:
name: Lints and Unit tests
name: Lints and Tests
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ Details!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mwbrooks I'm so glad we're testing installation scripts here now too! It might be excessive since even unrelated changes exercise this, but I like that the confidence it brings 🤖 ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build M-T: Changes to compilation and CI processes changelog Use on updates to be included in the release notes code health M-T: Test improvements and anything that improves code health docs M-T: Documentation work only enhancement M-T: A feature request for new functionality semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants