Stale flags remain stale after being modified
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 66/100
Direção de pesquisa
Start by reading the stale-flag detection logic and Project.stale_flags_limit_days in api/projects/models.py; trace where a feature flag update is handled and how its Stale tag is applied. Check the existing tests for stale flags and add coverage for an actively updated flag. Done means flags become stale only after the configured period without updates, and updating a stale flag removes the tag.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Is your feature request related to a problem?
Today our feature flag staleness detection is rather simple: once any of a feature's versions is older than a [configurable] period, the feature will automatically earn a "Stale" tag. The mechanism ignores whether the flag is being actively maintained, and the tag is never removed.
Describe the solution you'd like.
One would expect that a feature flag isn't marked as stale unless it receives no updates within Project.stale_flags_limit_days.
A stale flag being updated should also have the tag removed.
Describe alternatives you've considered
- A workaround is to tag the feature "Permanent", but it's not a good solution.
- It's also possible to extend the default period from 30d to a longer time.
Additional context
- Reported by a customer via the Feature Lifecycle dashboard (#7001).
- Staleness only runs for projects with v2 feature versioning on Scale-Up/Enterprise plans.
- Original design: #184. Related: #6125.
- Linguagem predominante
- Python
- Estrelas
- 7.1k
- Forks
- 603
- Merge médio
- 3d 8h
- PRs com merge (30d)
- 102
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Flagsmith/flagsmith
-
Expose whether an organisation is blocked for API usageTalvez já em andamento @PiUnknown assumiu há 27 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Flagsmith/flagsmith#8773 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Environment colors mismatch in audit log viewTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Flagsmith/flagsmith#8681 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Talvez já em andamento @SAY-5 assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Flagsmith/flagsmith#8510 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Sales dashboard: download_org_data 500s with "Object of type generator is not JSON serializable"Talvez já em andamento @Iflaqbhat assumiu há 46 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
Todas as issues de Flagsmith/flagsmith
Issues semelhantes
-
agents nolte-linux security skills
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
nolte/claude-shared#732 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 2 dias
-
[Bug] Source archive filter: dry run excludes SystemVerilog (.sv) files with no preflight warningAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
FinanceFlash/unvibecode#906 ·
Mantenedores costumam responder em até 1 dia