Repository navigation
docs(alerts): subscribe many checks and groups to a channel at once - #854
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WL5whpDSr7Q5xKKT2Xwyf6
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WL5whpDSr7Q5xKKT2Xwyf6
hlenke
left a comment
There was a problem hiding this comment.
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.
mainhasn't changedcommunicate/alerts/channels.mdxsince 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 onmaininplatform/groups.mdxandcommunicate/alerts/configuration.mdx. - Turning off the override:
apps/webapp/src/components/alerts/alert-settings/ResourceAlertSettings.vueclears 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.tsandPageAlertChannelBuilderSubscriptionsPicker.vueact on every check and group matching the current search and type filter, on every page. - CLI: in
checkly-cliorigin/main(8076b313),packages/cli/src/constructs/check-group-v2.tssets no alert override whenalertEscalationPolicyis unset. That matches line 88 and the existing note onconstructs/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").
|
|
||
| 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. |
There was a problem hiding this comment.
| 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.
hlenke
left a comment
There was a problem hiding this comment.
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..975ea45and the full PR diff from merge basec6fb661.mainhasn't changedcommunicate/alerts/channels.mdxsince then. It changedcommunicate/alerts/configuration.mdxandconstructs/check-group-v2.mdxonly in their Global settings links. Neither change touches the headings or fields this PR links to. - New links:
/communicate/alerts/configuration#configuration-inheritancegoes to### Configuration Inheritance(line 38 onmain)./constructs/check-group-v2#param-alert-escalation-policygoes to<ResponseField name="alertEscalationPolicy">(line 232), andmainalready uses that anchor in two places. - Source re-checked at monorepo
origin/main@6f20624069, against78812e3from 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-cliorigin/main@c58d58c1:check-group-v2.tsstill sets no alert override withoutalertEscalationPolicy. 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: onlydocs-gatefails, 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. |
There was a problem hiding this comment.
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}".
| 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. |
Requested by Hannes · project thread
Affected Components
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".
alertChannelswith analertEscalationPolicy; without the policy the channel page doesn't list the groupalertChannels: without a policy, override off and the channel page "0 checks and 0 groups are subscribed."; withrunBasedEscalation(1), override on and "0 checks and 1 group are subscribed." listing the groupNot tested / left out
🤖 Generated with Claude Code