Skip to content

[ENG-895] feat: update Slack App documentation - #59

Open
miguelangaranocurrents wants to merge 13 commits into
mainfrom
cursor/slack-docs-improvements-770b
Open

[ENG-895] feat: update Slack App documentation#59
miguelangaranocurrents wants to merge 13 commits into
mainfrom
cursor/slack-docs-improvements-770b

Conversation

@miguelangaranocurrents

@miguelangaranocurrents miguelangaranocurrents commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

User description

Summary

  • document Fix with AI, all run-result modes, test-result truncation, private channels, destination limits, and installation status/recovery in the Slack App guide
  • add distinct Currents vs Slack administrator guidance (Slack App guide and Action lifecycle Slack setup)
  • update the Slack overview and AI overview entry points; clarify Slack App data access in the privacy page
  • keep Slack App documentation framework-agnostic and use third person in PR-added copy
  • merge latest main (including Vitest docs and CI setup updates)

Out of scope (per review)

  • legacy Slack Webhook migration/setup changes (left unchanged on main)
  • unrelated Action settings navigation wording outside Slack permissions

Verification

  • merged origin/main into this branch
  • git diff --check
  • internal link check on touched Slack/AI/privacy files

Screenshots

Current product screenshots for newly documented UI states are not in the repository; existing Slack assets received alt text and captions only.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • Documentation
    • Updated the AI overview with a new “Slack Fix with AI” entry point, including the Fix with AI button/modal behavior and a dedicated “Fix with AI from Slack” section.
    • Refreshed Slack integration setup and reference docs with clearer admin responsibilities, an installation checklist (including recovery), destination limit guidance, improved notification UX (threading and run/result modes), and channel picker behavior (public/private).
    • Expanded Slack data-access explanations and tightened lifecycle notification enablement guidance under Actions > Settings.
    • Improved mention configuration guidance and troubleshooting checks.
    • Enhanced legacy Slack Webhook migration steps and added duplicate-notification warnings.

Generated description

Below is a concise technical summary of the changes proposed in this PR:
Expand the Slack App documentation to clarify installation roles, notification configuration, destination/channel handling, recovery states, and data-access boundaries for Currents and Slack administrators. Add a Slack-based Fix with AI path and update the AI overview so failed-test notifications can be handed off to agent tools directly from Slack.

TopicDetails
AI handoff Add a Slack-based Fix with AI entry point and document how failed-test messages can launch or copy prompts for AI coding tools.
Modified files (3)
  • ai/overview.md
  • resources/integrations/slack/README.md
  • resources/integrations/slack/slack-app.md
Latest Contributors(2)
UserCommitDate
cursoragent@cursor.comdocs: restore third-pe...July 28, 2026
agoldis@gmail.comNo subjectJuly 23, 2026
Slack setup Clarify Slack App setup, permissions, notification modes, destination limits, private channels, truncation, and recovery steps for Slack and Actions admins.
Modified files (4)
  • guides/currents-actions/lifecycle-notifications.md
  • resources/data-privacy/access-to-customer-data.md
  • resources/integrations/slack/README.md
  • resources/integrations/slack/slack-app.md
Latest Contributors(2)
UserCommitDate
cursoragent@cursor.comdocs: restore third-pe...July 28, 2026
miguelangaranocurrents[] fix: include slack ...June 18, 2026
Review this PR on Baz | Customize your next review

Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Slack documentation now covers Slack-based Fix with AI entry points, expanded Slack App setup and notification configuration, lifecycle administration, data access, and migration from legacy webhooks.

Changes

Slack documentation

Layer / File(s) Summary
Slack App setup and channel configuration
resources/integrations/slack/slack-app.md
Installation roles, recovery states, destination limits, and public/private channel setup are documented.
Notifications and Fix with AI
ai/overview.md, resources/integrations/slack/README.md, resources/integrations/slack/slack-app.md
Slack notification modes, test notifications, Fix with AI actions, mentions, and troubleshooting guidance are updated.
Lifecycle administration and data access
guides/currents-actions/lifecycle-notifications.md, resources/data-privacy/access-to-customer-data.md
Administrator responsibilities, Slack permissions, accessible data, and notification setup are clarified.
Legacy webhook migration
resources/integrations/slack/README.md, resources/integrations/slack/slack-webhook.md
Webhook configuration details and migration steps to the Slack App are added, including duplicate-notification warnings.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately reflects the main change: updating Slack App documentation.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/slack-docs-improvements-770b

Comment @coderabbitai help to get the list of available commands.

@miguelangaranocurrents
miguelangaranocurrents marked this pull request as ready for review July 23, 2026 22:14

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@resources/integrations/slack/slack-app.md`:
- Around line 2-31: Update the nearby Slack Enterprise Grid administrator
warning in the Slack App documentation to say the app may be installed by an Org
Owner or Org Admin, matching the permissions table and preserving the rest of
the warning.

In `@resources/integrations/slack/slack-webhook.md`:
- Around line 81-89: Update the “Migrate to the Slack App” instructions,
specifically step 3, to explicitly map the legacy “Events (Optional)”
settings—including Run Start, Run Finish, Run Timeout, and Run Canceled—to each
destination, preserving the existing failed-run, lifecycle-event, branch, and
tag guidance.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9328ae7f-1a72-430c-8944-e5410e71b70c

📥 Commits

Reviewing files that changed from the base of the PR and between 0976efd and c9a380d.

📒 Files selected for processing (6)
  • ai/overview.md
  • guides/currents-actions/lifecycle-notifications.md
  • resources/data-privacy/access-to-customer-data.md
  • resources/integrations/slack/README.md
  • resources/integrations/slack/slack-app.md
  • resources/integrations/slack/slack-webhook.md

Comment thread resources/integrations/slack/slack-app.md Outdated
Comment thread resources/integrations/slack/slack-webhook.md Outdated
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
resources/integrations/slack/slack-app.md (1)

46-49: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Scope account_inactive recovery by deployment type.

The checklist covers both single-workspace and Enterprise Grid installations, but Line 49 requires an Org Owner/Admin for every recovery. Single workspaces should reference the Workspace Owner/Admin from Line 47; reserve Org Owner/Admin for Enterprise Grid.

Suggested clarification
-4. If the app was already installed and notifications stopped working with an `account_inactive` error, the integration should be **disconnected** and reinstalled by an Org Owner/Admin. Reinstalling generates a new, valid token.
+4. If the app was already installed and notifications stopped working with an `account_inactive` error, disconnect and reinstall it using the required administrator level: **Workspace Owner/Admin** for a single workspace or **Org Owner/Admin** for Enterprise Grid. Reinstalling generates a new, valid token.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@resources/integrations/slack/slack-app.md` around lines 46 - 49, Update the
account_inactive recovery step in the Slack installation checklist to
distinguish deployment types: require a Workspace Owner/Admin for
single-workspace reinstallations and an Org Owner/Admin for Enterprise Grid
reinstallations. Preserve the existing disconnect-and-reinstall flow and clarify
that the required role depends on the deployment type.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@resources/integrations/slack/slack-app.md`:
- Around line 46-49: Update the account_inactive recovery step in the Slack
installation checklist to distinguish deployment types: require a Workspace
Owner/Admin for single-workspace reinstallations and an Org Owner/Admin for
Enterprise Grid reinstallations. Preserve the existing disconnect-and-reinstall
flow and clarify that the required role depends on the deployment type.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e71a2d4a-6893-433c-88bc-96116bc07096

📥 Commits

Reviewing files that changed from the base of the PR and between c9a380d and b60ea13.

📒 Files selected for processing (2)
  • resources/integrations/slack/README.md
  • resources/integrations/slack/slack-app.md

cursoragent and others added 2 commits July 23, 2026 22:42
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@resources/integrations/slack/slack-webhook.md`:
- Around line 87-94: The migration checklist must preserve the legacy “Single
Notification for All Groups” setting by mapping it to the Slack App equivalent
or explicitly documenting that it cannot be migrated. Clarify under “Events
(Optional)” that a blank selection means all legacy events are enabled,
including “Run Start,” and specify how that event should be handled despite
having no Slack App equivalent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a9dfe8cc-93f0-4fbf-a90d-bd338f406537

📥 Commits

Reviewing files that changed from the base of the PR and between b60ea13 and 1194b28.

📒 Files selected for processing (2)
  • resources/integrations/slack/slack-app.md
  • resources/integrations/slack/slack-webhook.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • resources/integrations/slack/slack-app.md

Comment thread resources/integrations/slack/slack-webhook.md Outdated
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
guides/currents-actions/lifecycle-notifications.md (1)

26-26: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Document the concrete Slack roles required for each workspace type.

Saying that the required role “depends” on single-workspace versus Enterprise Grid leaves administrators unsure whom to involve. Name the required role for each topology, or link directly to the installation section that specifies it.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@guides/currents-actions/lifecycle-notifications.md` at line 26, Update the
Slack authorization guidance in the lifecycle notifications documentation to
name the concrete Slack role required for single-workspace installations and for
Enterprise Grid, or link directly to the existing installation section that
specifies both roles. Keep the Currents administrator and member permissions
unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@guides/currents-actions/lifecycle-notifications.md`:
- Line 26: Update the Slack authorization guidance in the lifecycle
notifications documentation to name the concrete Slack role required for
single-workspace installations and for Enterprise Grid, or link directly to the
existing installation section that specifies both roles. Keep the Currents
administrator and member permissions unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 86116e09-f694-41a6-86c1-120b3858b017

📥 Commits

Reviewing files that changed from the base of the PR and between 1194b28 and 1011164.

📒 Files selected for processing (1)
  • guides/currents-actions/lifecycle-notifications.md

cursoragent and others added 6 commits July 24, 2026 03:06
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
@miguelangaranocurrents miguelangaranocurrents changed the title Update Slack App documentation [ENG-895] feat: update Slack App documentation Jul 24, 2026
cursoragent and others added 2 commits July 28, 2026 00:52
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Co-authored-by: miguelangaranocurrents <miguelangaranocurrents@users.noreply.github.com>
Comment on lines +19 to +21
## Requirements and permissions

Before installing the Currents Slack App, the installation must be performed by a user with the correct administrator permissions in Slack. The required role depends on how the Slack account is structured:
Currents and Slack permissions are separate:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The heading here is now ## Requirements and permissions, but the FAQ's account_inactive recovery text still links See [Requirements](#requirements), so the anchor no longer resolves and the administrator-role guidance table becomes unreachable — should we update the link to #requirements-and-permissions (confirm exact GitBook slug), or rename the heading back to Requirements?

Severity web_search

Want Baz to fix this for you? Activate Fixer

Other fix methods

Fix in Cursor

Prompt for AI Agents
Before applying, verify this suggestion against the current code. In
resources/integrations/slack/slack-app.md, the section heading around lines 19-21 was
renamed to `## Requirements and permissions`, changing its GitBook-generated anchor away
from `#requirements`. The FAQ/recovery instructions for `account_inactive` (around line
~384-389) still contain `See [Requirements](#requirements)`, which now points to a
non-existent anchor. Update that link's fragment to match the new heading's anchor
(likely `#requirements-and-permissions`, but confirm the exact GitBook slug), or
alternatively rename the heading back to `Requirements` to preserve the old anchor.
After the change, verify by previewing the GitBook page that clicking the link navigates
correctly to the Requirements section.

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