Skip to content

Conversation

@zimeg
Copy link
Member

@zimeg zimeg commented Aug 25, 2025

Summary

This PR adds the extension experiment and corresponding command to run other programs as "extensions".

Preview

$ which slack-echo                                  # Find a custom "slack" program exists
/usr/local/bin/slack-echo
$ slack extension exec --experiment extension echo  # Run whatever the "echo" program does
...

Reviewers

$ slack extension --help
$ slack extension exec --experiment extension glitch   # Use an included extension
$ slack extension exec --experiment extension beyonce  # Praise the stars

Requirements

@zimeg zimeg self-assigned this Aug 25, 2025
@zimeg zimeg added enhancement M-T: A feature request for new functionality changelog Use on updates to be included in the release notes experiment Experimental feature accessed behind the --experiment flag or toggle semver:patch Use on pull requests to describe the release version increment labels Aug 25, 2025
@codecov
Copy link

codecov bot commented Aug 25, 2025

Codecov Report

❌ Patch coverage is 92.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.08%. Comparing base (5033493) to head (fb8d122).

Files with missing lines Patch % Lines
internal/hooks/hook_executor_default.go 12.50% 6 Missing and 1 partial ⚠️
cmd/extension/exec.go 98.48% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #205      +/-   ##
==========================================
+ Coverage   62.96%   63.08%   +0.11%     
==========================================
  Files         212      214       +2     
  Lines       21782    21881      +99     
==========================================
+ Hits        13716    13804      +88     
- Misses       7005     7014       +9     
- 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.

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

Labels

changelog Use on updates to be included in the release notes enhancement M-T: A feature request for new functionality experiment Experimental feature accessed behind the --experiment flag or toggle 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.

2 participants