Project maintenance status and potential updates
Hi Justin,
Thank you for your work on this library—I've found it immensely helpful.
I'd like to contribute a series of updates (characterized below). Are you open to PRs or would you prefer I maintain a fork? I'm happy to explore both.
The range of changes I'm prepared to contribute include (some, none or all you may be interested in):
- Address pagination looping: Address issue where Slack returned the same cursor and empty batches, causing repeated requests/looping.
- Rate limiting: honor Retry-After for Socket/Web API with jittered backoff.
- Scoped listings: default to public/private and exclude_archived; IM/MPIM opt-in.
- Sync shaping: debounce + single-flight to prevent overlapping users.conversations.
- Web API adapter: pluggable (default Req) so apps can use their own limiter/breaker.
- Lightweight cache: ETS channel metadata; lazy conversations.info on cache miss.
- ChannelServer simplified: no full sync at start; join/part + per-channel send queue.
- Support for debug logging and telemetry hook points.
Thanks again for your work.
Doug
Hi Doug, I was the main contributor to this project, and while I'm not so much into slack development these days, I'm glad it's still getting good use. In general I'd be happy to review any PRs and I got the key to update the hex library too.
That being said, it sounds like a lot of these features would be better suited as a wrapper to BlockBox instead of being built into it. BlockBox was only ever intended to be a domain specific language for converting elixir objects into the slack block-kit format. The networking functionality you're suggesting is outside of that scope but it sounds like it would be super useful as a companion library, which I'd encourage you to build.
If, in that process, you need enhancements in BlockBox as a DSL I'd be happy to review any PRs.
Thanks for reaching out, Borna
Hi Borna, I'm laughing at myself because I had two tabs open. One for BlockBox and one for Slack Elixir (Justin). Right issue, wrong tab. So apologies for having you navigate the odd set of updates (I think you'll agree they're better suited for slack_elixir 😄. That said, I am also using BlockBox and was contemplating adding some additional Block Kit elements, so at least I know how to proceed there.
While I'm here, thank you for your work on BlockBox, which is an immense timesaver, itself! Great implementation.
Doug