Skip to content

feat(extension): run separate programs as experimental extensions - #205

Draft
zimeg wants to merge 1 commit into
mainfrom
zimeg-feat-cmd-extension
Draft

feat(extension): run separate programs as experimental extensions#205
zimeg wants to merge 1 commit into
mainfrom
zimeg-feat-cmd-extension

Conversation

@zimeg

Copy link
Copy Markdown
Member

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

@zimegzimeg self-assigned this Aug 25, 2025
@zimegzimeg 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

codecovBot commented Aug 25, 2025

Copy link
Copy Markdown

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).
⚠️ Report is 363 commits behind head on main.

Files with missing linesPatch %Lines
internal/hooks/hook_executor_default.go12.50%6 Missing and 1 partial ⚠️
cmd/extension/exec.go98.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 Harness.
📢 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelogUse on updates to be included in the release notesenhancementM-T: A feature request for new functionalityexperimentExperimental feature accessed behind the --experiment flag or togglesemver:patchUse on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@zimeg