Skip to content

Commit 7451dcd

Browse files
authored
chore(flagpole): Remove Instructions to add flag to flagpole.flagpole_only_features (#10877)
* remove flagpole only instructions * fix
1 parent 1b7f7d3 commit 7451dcd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

develop-docs/application/feature-flags/flagpole.mdx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ To see the latest context properties available, check out the repo-specific cont
160160

161161
## Rolling out a new Flagpole feature
162162

163-
Creating a new Flagpole Feature is currently a 3 step process:
163+
Creating a new Flagpole Feature is currently a 2 step process:
164164
1. Register a new feature in Sentry's `temporary.py` file or GetSentry's `features.py` file with the Flagpole strategy:
165165
```python
166166
features.add(
@@ -176,8 +176,6 @@ features.add(
176176
feature.<feature_scope>:<feature_name>
177177
```
178178

179-
3. Add the feature name to the `flagpole.flagpole_only_features` list in sentry-options-automator's default [`app.yaml`](https://github.com/getsentry/sentry-options-automator/blob/483737d45dbc68253e926c3f860b5ae33111697b/options/default/app.yaml#L219) file, omitting the `feature.` prefix.
180-
181179
Once the option change is deployed, the feature checks will immediately be active in all environments and regions.
182180

183181
_Note:_ The feature config should not be merged until the registration commit in step 1 has been fully deployed to all target environments. This is because Options Automator will fail to push options to any environments missing the option registration.
@@ -194,9 +192,6 @@ file should contain a top-level `options` object containing your feature object,
194192
and a `flagpole.flagpole_only_features` list option containing the name of the
195193
feature you want to test, without the `feature.` prefix:
196194
```yaml
197-
options:
198-
flagpole.flagpole_only_features: ['organizations:is_sentry']
199-
200195
'feature.organizations:is_sentry':
201196
created_at: '2024-06-01T00:00:00.000000'
202197
enabled: false
@@ -211,10 +206,6 @@ options:
211206
rollout: 100
212207
```
213208

214-
_Note:_ The `flagpole_only_features` option will only be required while
215-
Flagpole is actively being rolled out.
216-
217-
218209
You can push your feature option to your local devserver using the following `getsentry` CLI command:
219210

220211
```bash

0 commit comments

Comments
 (0)