Skip to content

docs(alerts): subscribe many checks and groups to a channel at once - #854

Merged
hlenke merged 6 commits into
mainfrom
hlenke/docs-alert-channel-subscriptions
Nov 23, 2026
Merged

hlenke merged 6 commits into
mainfrom
hlenke/docs-alert-channel-subscriptions

Conversation

@hlenke

@hlenke hlenke commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Requested by Hannes · project thread

Affected Components

  • Content & Marketing
  • Pricing
  • Test
  • Docs
  • Learn
  • Other

Notes for the Reviewer

What changed

Adds "Subscribing checks and groups" to the alert channels page: how to subscribe many checks and groups at once from a channel, how group subscriptions work, and how to subscribe checks managed as code.

Why

The page said only "Choose which checks and check groups use this channel". It didn't say how to subscribe many checks at once, or which groups and checks the channel's subscriber list shows.

How each claim was verified

Tested end to end in a local stack built from monorepo main (7ff172a1), in the web app and through the API, with screenshots. What wasn't tested is listed under "Not tested / left out".

Claim Verified by
Add subscribers from the channel: search, Type filter, header checkbox ("Select all 3"), "Add 3 subscribers", then save Web app: searched ("plain" left 1 result), opened the Type filter, selected all 3, added them, saved, reloaded: "2 checks and 1 group are subscribed."
Remove all unsubscribes every check and group when you save Web app: "0 checks and 0 groups are subscribed." and "No subscribers yet" after save and reload
A new channel starts with every check and group in that list subscribed Web app: a new Email channel showed "2 checks and 1 group are subscribed." before saving, listing exactly the rows of the subscriber list
Auto-subscribe applies to checks created later in the web app Web app: with the option on, a check created in the web app showed as subscribed ("3 checks and 1 group are subscribed.")
The list shows a group only with "Group override for alert settings" on, without its checks; a group without the override isn't listed and its checks are Web app: group with the override listed (Checks: 1), its check not; group without it not listed, its check listed with the group name beside it
Turning off a group's override removes its subscriptions and doesn't subscribe its checks Web app and API: after unticking and saving, the channel showed "7 checks and 0 groups are subscribed."; the group's check appeared only under "Not subscribed yet"; the API showed no subscription for the group or the check
CLI: to subscribe a group, set alertChannels with an alertEscalationPolicy; without the policy the channel page doesn't list the group CLI deploy (checkly 10.2.0) of a CheckGroupV2 with alertChannels: without a policy, override off and the channel page "0 checks and 0 groups are subscribed."; with runBasedEscalation(1), override on and "0 checks and 1 group are subscribed." listing the group

Not tested / left out

  • Alert delivery itself wasn't tested, only the channel page and the API: no check failed and no notification was sent.
  • Checks created through the public API are left out. In testing, a check created with default parameters was subscribed to every channel, whatever the auto-subscribe option said. That needs a product decision before it's documented.
  • The Vercel integration and Terraform aren't tested.

🤖 Generated with Claude Code

@mintlify

mintlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
checkly-422f444a 🟢 Ready View Preview Nov 21, 2026, 2:47 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@hlenke hlenke left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Needs changes · The steps, labels and group rules match the product. Two sentences say more than the product does: the warning about turning off a group's override, and Remove all. Fix those two, and the rest is optional wording.

The new section sits right after the setup steps, whose third step ("Subscribe Checks") it expands, and before the secrets section. That placement fits the page.

Merge readiness

  • CI is green and the PR merges cleanly. main hasn't changed communicate/alerts/channels.mdx since the merge base.
  • Overlap: #774 (sentence case) and #861 (AEO metadata) also touch this file, but in other places (headings, frontmatter). Neither should conflict with this insertion. If #774 lands first, nothing here needs re-casing: the new headings are already sentence case.
  • pr_impact.py: nothing to fix. The page is a hub with 25 inbound pages, and the PR adds a section without changing any slug or existing anchor.

Inline comments: 2 Important, 3 Wording.

What I checked
  • Read the whole diff (1 file, 25 added lines) from the merge base c6fb661, and the PR's version of the page, with line numbers.
  • UI labels against the web app source at monorepo origin/main (78812e3f39), apps/webapp/src/pages/alert-channel-builder/. Subscriptions (section heading), Add subscribers, Remove all, the Type filter, the header checkbox ("Select all {count}"), the "Add {count} subscribers" button, and Automatically subscribe newly created checks to this alert channel all match. With error tracking on, the checkbox label goes on with ", and pre-select it for new error projects". The page's version is still correct as a prefix.
  • A new channel starts with every alertable check and group subscribed: confirmed in the channel builder page component.
  • Which groups and checks are listed: the subscribers repository in apps/backend/api/src/repositories/alert-channel-subscribers/ lists a group only when it overrides alert settings, and lists a check only when its group doesn't. That matches line 80. Group override for alert settings is the label used on main in platform/groups.mdx and communicate/alerts/configuration.mdx.
  • Turning off the override: apps/webapp/src/components/alerts/alert-settings/ResourceAlertSettings.vue clears the group's alert channel subscriptions when the box is unticked. For what happens to the checks, see the inline comment on line 83.
  • Remove all and the header checkbox: useAlertChannelSubscribers.ts and PageAlertChannelBuilderSubscriptionsPicker.vue act on every check and group matching the current search and type filter, on every page.
  • CLI: in checkly-cli origin/main (8076b313), packages/cli/src/constructs/check-group-v2.ts sets no alert override when alertEscalationPolicy is unset. That matches line 88 and the existing note on constructs/check-group-v2.mdx (line 105).
  • The PR description's own end-to-end tests (local stack, CLI 10.2.0) cover the unfiltered Remove all and a group check that had no subscription of its own.
  • I didn't run end-to-end tests: the local app was not started for this run. Everything above was verified against source.
  • Not verified: Terraform behavior (line 88 makes no Terraform-specific claim beyond "subscribe them in code").

Comment thread communicate/alerts/channels.mdx Resolved
Comment thread communicate/alerts/channels.mdx Resolved

1. Open the channel from **Alert channels**.
2. In the **Subscriptions** section, click **Add subscribers**.
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select all of them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggested change
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select all of them.
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select every one that matches your search and filter, on all pages.

Wording. The header checkbox selects everything the search and type filter find, not just the visible page. The picker labels it "Select all {count}" and applies it across pages (PageAlertChannelBuilderSubscriptionsPicker.vue). "all of them" doesn't say which set.

Comment thread communicate/alerts/channels.mdx Resolved
Comment thread communicate/alerts/channels.mdx Resolved

@hlenke hlenke left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ready to merge · Both important fixes are applied, the Remove all sentence and the override warning, and now match the product. One optional wording suggestion from the last review is still open. The failed docs-gate job isn't caused by this PR: re-run it.

This review covers the four commits since 96cb470 (all "Apply suggestion"). No merge from main in between.

CI. docs-gate timed out after 30 minutes waiting for Mintlify's vale-spellcheck check. Mintlify posted that check about two hours later, as neutral, with a Vale configuration error. #853 and #855 failed the same way. The gate counts neutral as passing, so a re-run should go green. Vale didn't actually spellcheck the page. I read the new text for spelling and found nothing.

Overlap. #774 and #861 also touch this file. Both merge with this PR without conflict (git merge-tree). #774 changes ### Configuration Inheritance in communicate/alerts/configuration.mdx to sentence case. The new link's anchor #configuration-inheritance stays the same.

Inline: 1 wording (optional).

What I checked
  • Diff 96cb470..975ea45 and the full PR diff from merge base c6fb661. main hasn't changed communicate/alerts/channels.mdx since then. It changed communicate/alerts/configuration.mdx and constructs/check-group-v2.mdx only in their Global settings links. Neither change touches the headings or fields this PR links to.
  • New links: /communicate/alerts/configuration#configuration-inheritance goes to ### Configuration Inheritance (line 38 on main). /constructs/check-group-v2#param-alert-escalation-policy goes to <ResponseField name="alertEscalationPolicy"> (line 232), and main already uses that anchor in two places.
  • Source re-checked at monorepo origin/main@6f20624069, against 78812e3 from the last review. In the alert channel builder, the subscribers repository and the check-group module, the only changes are refactors: shared history-join helpers, a shared count helper, and an event-argument default in the subscriptions picker. The labels, Remove all, the header checkbox, the group listing rules and override handling are unchanged. checkly-cli origin/main@c58d58c1: check-group-v2.ts still sets no alert override without alertEscalationPolicy.
  • pr_impact.py: one info line (the page is a hub with 25 inbound pages). Nothing to fix: no slug or existing anchor changes.
  • gh pr checks 854: only docs-gate fails, with the same timeout as #855. gh pr view: MERGEABLE. The merge state is BLOCKED by the failed check.
  • End-to-end: not run. The changed lines restate UI behavior verified against source in the last review, and the review scripts test check runs, not the channel editor. The PR description reports the author's own end-to-end tests.
  • Could not verify: Terraform behavior. Line 88 makes no Terraform-specific claim beyond "subscribe them in code".


1. Open the channel from **Alert channels**.
2. In the **Subscriptions** section, click **Add subscribers**.
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select all of them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Wording (optional, still open from the last review) · "all of them" doesn't say which set. The header checkbox selects every check and group that matches the search and type filter, on all pages. The picker labels it "Select all {count}".

Suggested change
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select all of them.
3. Search by name, or filter by **Type**. Select checks and groups one by one, or select the header checkbox to select every one that matches your search and filter, on all pages.

@hlenke
hlenke merged commit f2eaae0 into main Nov 23, 2026
7 of 8 checks passed
@hlenke
hlenke deleted the hlenke/docs-alert-channel-subscriptions branch November 23, 2026 19:06

This branch was successfully deployed

1 active deployment
staging — 975ea45f Deployed Nov 21, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants