Skip to content

slack: Add feature flag to control benefit availability#12174

Open
Yopi wants to merge 1 commit into
yopi/slack-benefit-1from
yopi/slack-benefit-2
Open

slack: Add feature flag to control benefit availability#12174
Yopi wants to merge 1 commit into
yopi/slack-benefit-1from
yopi/slack-benefit-2

Conversation

@Yopi
Copy link
Copy Markdown
Contributor

@Yopi Yopi commented Jun 4, 2026

So that we can roll this out to Polar initially, before all organizations gets access to the Slack benefit feature


Summary by cubic

Add a per-organization feature flag to gate the Slack shared channel benefit, defaulting to off. This lets us roll out the benefit to Polar first before enabling it for all orgs.

  • New Features
    • Added slack_benefit_enabled to OrganizationFeatureSettings (default: false).
    • Added is_slack_benefit_enabled property on the Organization model.
    • Exposed slack_benefit_enabled in the client v1 types for organizations.

Written for commit 67e21cc. Summary will update on new commits.

Review in cubic

So that we can roll this out to Polar initially, before
all organizations gets access to the Slack benefit feature
@Yopi Yopi requested review from a team and frankie567 as code owners June 4, 2026 15:02
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
polar Ready Ready Preview, Comment Jun 4, 2026 3:05pm
polar-sandbox Ready Ready Preview, Comment Jun 4, 2026 3:05pm
polar-test Ready Ready Preview, Comment Jun 4, 2026 3:05pm

Request Review

@Yopi Yopi changed the base branch from main to yopi/slack-benefit-1 June 4, 2026 15:03
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

OpenAPI Changes

Schemas

  • 🔀 OrganizationFeatureSettings (modified)
    • 🔼 Property slack_benefit_enabled added

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Preview Environment
URL: https://polar-preview-vm.taildbff7b.ts.net/pr-12174
API: https://polar-preview-vm.taildbff7b.ts.net/pr-12174/v1/
Logs: backend
SHA: 67e21cc7abd707b5a2054322c863eeb7460a9130

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.

1 participant