Docs gap: no self-hosted upgrade runbook (helm upgrade procedure, rollback, breaking changes)
Mantenedores costumam responder em até 1 dia
@germangarces já está trabalhando nisso.
Desde 6/5/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Problem
The K8s/OpenShift hosting page on docs.flagsmith.com contains a single "Key upgrade notes" entry (about v0.37.0 dropping bundled in-cluster Postgres data). Beyond that, there is no documented self-hosted upgrade procedure.
The current implicit guidance to operators is "run helm upgrade, migrations auto-run via Django, good luck." For production deployments (especially regulated ones running change-management processes), this is insufficient.
What's missing
- Helm upgrade procedure - recommended command, version-pinning guidance, what happens to each deployment during the upgrade
- Database migration behavior - how the
migrateDbjob runs, where to find migration logs, the fact that migrations are idempotent and safe to re-run, what to do when migrations silently fail - Pre-flight checks - before upgrading, verify (a) DB role has DDL privileges, (b) DB connection auth is stable for the duration of migrations, (c) chart values schema hasn't broken
- Rollback procedure - does
helm rollbackwork cleanly given the forward-only schema migrations? What's the operator's rollback story if a migration fails midway? - Downtime expectations - what's expected to be available during a rolling upgrade, and what isn't
- Breaking-change communication - the chart's CHANGELOG.md is per-commit and doesn't flag breaking changes. Sub-component bumps (e.g. flagsmith-sse Redis key format change in v3 -> v4) deserve a prominent upgrade notes section.
- Sub-component upgrade gotchas - flagsmith-sse, flagsmith-edge-proxy, flagsmith-task-processor (where applicable) version-skew rules
Known gotchas worth documenting
These have been observed in real upgrades and are worth surfacing publicly so operators can avoid or diagnose them:
- Silent migration failures - a partial migration can leave tables missing (e.g.
environment-documents), causing endpoint-specific 500s. Diagnostic is to inspect themigrateDbjob logs (or new API pod startup logs). Resolution is to re-run migrations (idempotent). - Short-lived DB token auth - when Postgres auth uses a sidecar that refreshes tokens periodically (e.g. Azure managed identity), long-running migrations can fail mid-run when the token expires.
- Postgres role DDL privileges - production roles with stricter grants than dev (e.g. no CREATE TABLE) cause migrations that pass in dev to fail in prod.
python manage.py createcachetableis one command that needs CREATE TABLE. - flagsmith-sse v3 -> v4 - Redis storage format changed. No data loss but in-flight subscribers will miss updates briefly during repopulation. Plan for low-traffic window.
- Frontend image rolling vulns - upgrading to fix one CVE can surface new dependency CVEs. Operators using container security tooling will see this; doc should set expectation.
What good looks like
A new page under deployment-self-hosting/ titled "Upgrading self-hosted Flagsmith", covering the items above. Plus a structured "Breaking changes and upgrade notes" section in the chart README that's maintained per release rather than only via CHANGELOG.md.
Why now
Recurring source of customer support load that could be defused with docs. Filing to put the gap on the roadmap.
- Linguagem predominante
- Python
- Estrelas
- 9.9k
- Forks
- 658
- Merge médio
- 1d 15h
- PRs com merge (30d)
- 168
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
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Flagsmith/flagsmith#9119 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Fix Button Alignment in SDK Installation SectionTalvez já em andamento @manueldezman assumiu há 3 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Flagsmith/flagsmith#9056 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceTalvez já em andamento @jcd1991 assumiu há 4 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
Flagsmith/flagsmith#9045 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Expose whether an organisation is blocked for API usageTalvez já em andamento @PiUnknown assumiu há 39 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
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Talvez já em andamento @SAY-5 assumiu há 13 dias. 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
Todas as issues de Flagsmith/flagsmith
Issues semelhantes
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NousResearch/hermes-official-plugins#538 ·
Mantenedores costumam responder em até 3 dias
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidateTalvez já em andamento @houzhongyu assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MakazhanAlpamys/Soup#3415 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias