feat: conclude set-icon experiment - #623
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #623 +/- ##
==========================================
- Coverage 72.28% 72.27% -0.01%
==========================================
Files 238 238
Lines 20087 20080 -7
==========================================
- Hits 14519 14513 -6
+ Misses 4299 4298 -1
Partials 1269 1269 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
|
||
| Below is a list of updates related to experiments. | ||
|
|
||
| - **August 2026**: Concluded the `set-icon` experiment with full support for icon upload on all app types now enabled by default in the Slack CLI. |
There was a problem hiding this comment.
| - **August 2026**: Concluded the `set-icon` experiment with full support for icon upload on all app types now enabled by default in the Slack CLI. | |
| - **August 2026**: Concluded the `set-icon` experiment; The Slack CLI now offers full support for icon upload on all app types by default. |
just a little easier to read methinks
zimeg
left a comment
There was a problem hiding this comment.
@srtaalej Thanks for taking this to conclusion! I'm leaving a note that we can perhaps remove more artifacts of the experiment before this merges.
Also a note for the changelog that icon paths are now supported might be an exciting reason to upgrade 📚 I tested with Bolt and ROSI apps for both local and deploy instances with expected results found! 📸
|
|
||
| // updateIcon will upload the new icon to the Slack API | ||
| func updateIcon(ctx context.Context, clients *shared.ClientFactory, iconPath, appID string, token string, isHosted bool) error { | ||
| func updateIcon(ctx context.Context, clients *shared.ClientFactory, iconPath, appID string, token string) error { |
There was a problem hiding this comment.
🪓 suggestion: This function is used once in Install and I think we can now inline the API call to match InstallLocal patterns? I'd like to avoid separate patterns now that the experiment has concluded.
| experimentOn: false, | ||
| expectSkip: true, | ||
| }, | ||
| "succeeds with IconSet": {}, |
There was a problem hiding this comment.
🧪 note: This test doesn't seem so useful without mock data included. Another comment suggested deleting the function it's testing and IMHO this is supported here. Otherwise I'd suggest including:
- mockFilePath
- mockSetIconResponse
Summary
set-iconexperiment gate, enabling icon upload viaapps.icon.setfor all app types by defaultapps.hosted.iconfallback pathTest plan
slack runwith an icon file present uploads the icon without needing--experiment set-iconslack deploywith an icon file uploads viaapps.icon.setsemver:patch