docs: Clarify which flag operations require change requests vs which bypass
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #7548 de @SahilJat — cerrado sin fusionar
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
Comienza con la página de documentación de change requests y compara su redacción actual con el tipo FeatureState y la lógica de is_live en api/features/models.py. Documenta que los valores predeterminados del entorno y las anulaciones de segmentos requieren change requests cuando están habilitados, mientras que las anulaciones a nivel de identidad se activan inmediatamente y omiten el flujo de trabajo. Se considerará terminado cuando la página explique claramente esta distinción y por qué existe.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current state
The change requests docs page generically says "attempting to change a flag value will prompt you to create a new Change Request". The page does not distinguish between feature-state types and which trigger the CR workflow.
What the code does (verified in api/features/models.py)
FeatureState has three types determined by identity_id and feature_segment_id:
@property
def type(self) -> str:
if self.identity_id and self.feature_segment_id is None:
return IDENTITY
elif self.feature_segment_id and self.identity_id is None:
return FEATURE_SEGMENT
elif self.identity_id is None and self.feature_segment_id is None:
return ENVIRONMENT
The is_live property:
@property
def is_live(self) -> bool:
if self.environment.use_v2_feature_versioning:
if self.identity_id is not None:
return True
return (
self.environment_feature_version_id is not None
and self.environment_feature_version.is_live
)
Identity-level feature states are live immediately. CRs are tied to versioning (environment_feature_version). Identity-level FS does not use versioning, so it is not gated by the CR workflow.
Implication for customers
- Environment defaults: require CR when enabled
- Segment overrides: require CR when enabled
- Identity-level overrides: bypass CR; live immediately
Customers ask "why didn't this require approval?" when they don't see this distinction. The docs should make the scope explicit so the behavior is predictable.
Suggested docs addition
A small section under change requests describing which feature-state types the workflow applies to, and noting that identity-level overrides are live immediately and intentionally bypass the workflow (consistent with the use case of developer/QA targeting).
- Lenguaje dominante
- Python
- Estrellas
- 9.9k
- Forks
- 658
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 168
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Flagsmith/flagsmith
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Flagsmith/flagsmith#9119 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Fix Button Alignment in SDK Installation SectionPosiblemente ocupada @manueldezman la tomó hace 3 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Flagsmith/flagsmith#9056 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidancePosiblemente ocupada @jcd1991 la tomó hace 4 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Flagsmith/flagsmith#9045 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Expose whether an organisation is blocked for API usagePosiblemente ocupada @PiUnknown la tomó hace 38 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Flagsmith/flagsmith#8773 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Posiblemente ocupada @SAY-5 la tomó hace 13 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Flagsmith/flagsmith#8510 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de Flagsmith/flagsmith
Issues similares
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NousResearch/hermes-official-plugins#538 ·
Los mantenedores suelen responder en 3 días
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePosiblemente ocupada @houzhongyu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MakazhanAlpamys/Soup#3415 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días