Skip to content

Conversation

@zimeg
Copy link
Member

@zimeg zimeg commented Jul 23, 2025

Changelog

Errors about an sdk_hook_not_found now include a remediation link to the Deno starter template hooks.json file as a working example.

Summary

This PR redirects a link from the sdk_hook_not_found error to the current Deno starter template .slack/hooks.json file.

Notes

IMO it'd be nice to reference the hooks specification in documentation, but for now this might be an alright link change - I'll start a conversation in channel about this, but please feel free to drop ideas beforehand!

Requirements

@zimeg zimeg added this to the Next Release milestone Jul 23, 2025
@zimeg zimeg requested a review from technically-tracy July 23, 2025 21:22
@zimeg zimeg self-assigned this Jul 23, 2025
@zimeg zimeg added bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented docs M-T: Documentation work only labels Jul 23, 2025
@zimeg zimeg requested review from a team as code owners July 23, 2025 21:22
@zimeg zimeg added the semver:patch Use on pull requests to describe the release version increment label Jul 23, 2025
@codecov
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.97%. Comparing base (40e6863) to head (6181855).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #166      +/-   ##
==========================================
- Coverage   62.98%   62.97%   -0.01%     
==========================================
  Files         212      212              
  Lines       21585    21585              
==========================================
- Hits        13595    13594       -1     
+ Misses       6946     6945       -1     
- Partials     1044     1046       +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 Jul 23, 2025
Copy link
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.

Agreed on putting the spec in the docs, but this is a good fix for now!

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

✅ Thanks for the attention to detail @zimeg!

🧠 I've chimed in thread about moving the Slack CLI Hooks Specification to the docs. It's a solid idea!

✘ Runtime (foundations for the application)
Error: The `doctor` hook was not found (sdk_hook_not_found)
Suggestion: Ensure this hook is implemented in your `slack.json`
Suggestion: Debug responses from the Slack hooks file (.slack/hooks.json)
Copy link
Member

Choose a reason for hiding this comment

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

note: Good eye!

"",
"Every app requires a Slack hooks file and you can find an example at:",
style.Highlight("https://github.com/slack-samples/deno-starter-template/blob/main/slack.json"),
style.Highlight("https://github.com/slack-samples/deno-starter-template/blob/main/.slack/hooks.json"),
Copy link
Member

Choose a reason for hiding this comment

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

note: 👍🏻

@zimeg
Copy link
Member Author

zimeg commented Jul 25, 2025

@lukegalbraithrussell @mwbrooks And thank y'all both for the reviews and thoughts on the docs 🙏 ✨

It sounds like excitement for a reference hook spec is shared but we can save that for a follow up PR. For now I'll merge this for next release! 🚀

@zimeg zimeg merged commit 30656b5 into main Jul 25, 2025
6 checks passed
@zimeg zimeg deleted the zimeg-fix-hooks-missing-remediation-link branch July 25, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented changelog Use on updates to be included in the release notes 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.

4 participants