Repository navigation
feat(slack): show check state, uptime and incident status in link unfurls - #827
Merged
Merged
Conversation
…urls Dashboard check links now unfurl with the check's state and how long it has held it, its type, period, 24h uptime and last run. Incident links show whether the incident is ongoing (and acknowledged) or when it was resolved and how long it lasted. Still scoped to the workspace's own organization. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XE5BqoaEgJpkS1iYrKoEm4
Owner
Author
|
Generated by Claude Code |
fclairamb
marked this pull request as ready for review
November 10, 2026 00:00
fclairamb
enabled auto-merge (squash)
November 10, 2026 00:07
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #827 +/- ##
==========================================
+ Coverage 89.25% 89.27% +0.01%
==========================================
Files 1334 1335 +1
Lines 136508 136568 +60
==========================================
+ Hits 121842 121920 +78
+ Misses 14657 14639 -18
Partials 9 9
🚀 New features to boost your workflow:
|
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.46.0](v0.45.0...v0.46.0) (2026-11-10) ### Features * **slack:** show check state, uptime and incident status in link unfurls ([#827](#827)) ([2362ca9](2362ca9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Florent · project thread
What & why
Follow-up to #769. Dashboard links pasted in Slack unfurled to a single line with only the entity's name. They now show a short card built from the Slack app's
link_sharedevent:🟢 <name> · *Up* for 3h, thenHTTP · every 1m · 99.95% uptime (24h) · last checked just now. Paused, no recent data, degraded, warning, confirming failure and waiting for first result each get their own state.🚨 #42 · titlewithOngoing for 12m · acknowledged, or✅ …withResolved 2h ago · lasted 14m.Uptime comes from the last 24h of raw results with the shared
models.RawAvailabilityrule (the one badges use). Uptime is truncated, not rounded, so one missed result never reads 100.00%. The lookup is still scoped to the workspace's own organization. Slack calls the app authenticated, so nothing is exposed to anonymous crawlers. The unfurl code moved fromevents.gointounfurl.go.How to test
cd server && go test -short ./internal/integrations/slack/andgolangci-lint run ./internal/integrations/slack/...(v2.15.0): both pass. Manually: paste a check or incident link in a Slack workspace connected to the org.Checklist
make fmt && make lint && make testpass locally (ran gofmt, golangci-lint andgo test -shorton the changed package only, not the full suite)web/docs/) if user-visible: "Link previews" section inconfiguration/notifications.mdGenerated by Claude Code