Closed trajan0x closed 6 days ago
The recent changes primarily deal with the removal of the anon.to
service for URL redirection and improvements to how links are rendered in Slack messages by disabling unfurling. Additionally, there are updates to dependencies in the go.mod
file, specifically upgrading the slack-go/slack
library and introducing a new dependency for slacker
.
Files | Change Summary |
---|---|
contrib/opbot/botmd/commands.go |
Removed anon.to from URL generation, disabled Slack link unfurling in responses for certain commands. |
contrib/opbot/go.mod |
Updated slack-go/slack to v0.12.2 , added slack-io/slacker dependency with a TODO note. |
sequenceDiagram
participant User
participant Bot
participant Slack
participant Signoz
User->>+Slack: Sends trace command
Slack->>+Bot: Receives command
Bot->>+Signoz: Fetch trace data
Signoz-->>-Bot: Trace data
Bot->>Slack: Reply with URL to trace (no anon.to)
Slack-->>-User: Displays link without unfurling
In lines of code, we made a shift,
No more anon.to, URLs adrift.
With links unfurled, the messages fly,
A cleaner look as time goes by.
Dependencies align, our bot's ready,
To serve with style, swift and steady. ⌨️✉️
[!TIP]
Early access features
- OpenAI `gpt-4o` model for reviews and chat. Note: - You can disable early access features from the CodeRabbit UI or by setting `early_access: false` in the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are always opted into early access features.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 0%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 25.64921%. Comparing base (
b5e51da
) to head (3dc8cca
).
Files | Patch % | Lines |
---|---|---|
contrib/opbot/botmd/commands.go | 0.00000% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
3dc8cca
|
Status: | ✅ Deploy successful! |
Preview URL: | https://3b52781b.sanguine-fe.pages.dev |
Branch Preview URL: | https://feat-stage-link-unfurl.sanguine-fe.pages.dev |
Description
Stage link unfurling changes by @kathiouchka in slack-io/slacker#14 to address #2785
Summary by CodeRabbit
New Features
anon.to
.Dependencies
github.com/slack-go/slack
to versionv0.12.2
.github.com/slack-io/slacker
as a new dependency.