Skip to content

feat(Flag Dependency): Index flag references - #8525

Draft
emyller wants to merge 1 commit into
mainfrom
feat/segment-dependency-flag-reference
Draft

emyller wants to merge 1 commit into
mainfrom
feat/segment-dependency-flag-reference

Conversation

@emyller

@emyller emyller commented Sep 14, 2026

Copy link
Copy Markdown
Contributor
  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Contributes to #8412

This implements the support foundation for flag dependency in the Management API:

  • Flag references (prerequisite) are now indexed upon changes to segments.
  • Segments are now validated against flag circular dependency:
    • When updating rules;
    • When updating overrides;
    • When drafting segment changes (Segment Change Requests).

How did you test this code?

Functional tests included.

@emyller emyller self-assigned this Sep 14, 2026
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

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

3 Skipped Deployments
Project Deployment Actions Updated
docs Ignored Ignored Sep 14, 2026 2:24pm UTC
flagsmith-frontend-preview Ignored Ignored Sep 14, 2026 2:24pm UTC
flagsmith-frontend-staging Ignored Ignored Sep 14, 2026 2:24pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions Bot added api Issue related to the REST API feature New feature or request labels Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant