Skip to content

Conversation

@mwbrooks
Copy link
Member

@mwbrooks mwbrooks commented Nov 28, 2025

Summary

This pull request removes references to the chat:write.public scope to encourage best practices since this scope is more permissive and should be used sparingly.

This change was originally proposed by @GPTI314 in PR #267. Since the PR is inactive and the CLA is not signed, I've re-written it in this PR.

Requirements

@mwbrooks mwbrooks added this to the Next Release milestone Nov 28, 2025
@mwbrooks mwbrooks self-assigned this Nov 28, 2025
@mwbrooks mwbrooks added the docs M-T: Documentation work only label Nov 28, 2025
@mwbrooks mwbrooks requested review from a team as code owners November 28, 2025 18:45
@mwbrooks mwbrooks added code health M-T: Test improvements and anything that improves code health semver:patch Use on pull requests to describe the release version increment labels Nov 28, 2025
@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.86%. Comparing base (e20c404) to head (36e3a87).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #281   +/-   ##
=======================================
  Coverage   64.86%   64.86%           
=======================================
  Files         213      213           
  Lines       17550    17550           
=======================================
+ Hits        11383    11384    +1     
- Misses       5100     5101    +1     
+ Partials     1067     1065    -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.

Copy link
Member

@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.

@mwbrooks Thanks for the polish to these pages! 🔮 ✨

Let's merge this and save time for revisiting these pages for unrelated changes soon. I noted some testing concerns, but nothing that I'll stress about in future weeks. I hope.

Comment on lines -329 to -330
text: `{"ok":true,"app_id":"A123","credentials":{"client_id":"123","client_secret":"123","verification_token":"123","signing_secret":"123"},"oauth_authorize_url":"123":\/\/slack.com\/oauth\/v2\/authorize?client_id=123&scope=commands,chat:write,chat:write.public"}`,
expected: `{"ok":true,"app_id":"A123","credentials":{"client_id":"...","client_secret":"...","verification_token":"...","signing_secret":"..."},"oauth_authorize_url":"...":\/\/slack.com\/oauth\/v2\/authorize?client_id=...&scope=commands,chat:write,chat:write.public"}`,
Copy link
Member

Choose a reason for hiding this comment

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

🧪 thought: This might reduce the quality of these tests in some perhaps odd edge cases but let's not let that block these greps!

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

Labels

code health M-T: Test improvements and anything that improves code health docs M-T: Documentation work only 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.

3 participants