Skip to content

Rewrite feature flag docs for rules, phases, and triggers - #3557

Merged
dylanlerch merged 9 commits into
mainfrom
dylan/claude/feature-flag-rules-docs-e4ad74
Nov 11, 2026
Merged

dylanlerch merged 9 commits into
mainfrom
dylan/claude/feature-flag-rules-docs-e4ad74

Conversation

@dylanlerch

@dylanlerch dylanlerch commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Feature flags now use rules, phases, and triggers in place of the per-environment targeting form. Projects with existing flags stay on the legacy model until they're upgraded, so the old docs need to stay available.

Changes

Adds new pages under feature-flags/ with the latest documentation for rules. Existing pages moved to feature-flags/legacy/ with a banner pointing to the new docs.

Resolves BMBB-1256

Add new feature flag pages for rule-based flags (overview, getting
started, evaluation, rules and evaluation context, phased rollouts,
rollout groups, previews, managing flags, providers, and upgrading to
rules). Move the existing pages to feature-flags/legacy and redirect the
old targeting URLs there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Nov 5, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3557.z22.web.core.windows.net/.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

Comment thread src/pages/docs/feature-flags/rules.md Resolved
dylanlerch and others added 8 commits November 10, 2026 22:16
- Replace the evaluation sequence with an environment configuration section
- Confirm that raising a percentage keeps existing users, and drop the provider refresh marker
- Warn that a due trigger turns a phase back on after it's turned off
- Correct context attribute matching to case-insensitive, per the provider specification tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remove stale client identifier rotation references
- Drop the Private Preview hint from the legacy overview
- Use the Minimum version condition name and Select wording
- Remove an unsupported claim about default values

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanlerch
dylanlerch marked this pull request as ready for review November 10, 2026 13:21
@dylanlerch
dylanlerch requested a review from a team November 10, 2026 13:29
![Feature Flag slug](/docs/img/feature-flags/feature-flag-slug.png)

Below is an example of evaluating the flag with slug `dark-mode` in C#:
## Feature flags

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

do we care about duplicate headings?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

no need to change... just something i picked up


Phases let you plan a feature flag's whole rollout in an environment up front, from the first internal users to everyone, and move through it one stage at a time. This page covers adding phases, setting triggers so phases turn on by themselves, and turning phases on and off by hand to move a rollout forward or roll it back.

## Phases and triggers

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I found this section overloaded... the rest add a phase extra is fine - can iterate later

@kielfrost-octo

Copy link
Copy Markdown

Good first strike. Big walls of text originally was overwhelming but when pairing with Claude actually worked out pretty well. Do we need a tag line for feature flags :)

@kielfrost-octo kielfrost-octo 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.

Let's go!

@dylanlerch
dylanlerch merged commit e6ce785 into main Nov 11, 2026
7 checks passed
@dylanlerch
dylanlerch deleted the dylan/claude/feature-flag-rules-docs-e4ad74 branch November 11, 2026 03:07
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.

4 participants