Docs gap: no self-hosted upgrade runbook (helm upgrade procedure, rollback, breaking changes)
メンテナーはふだん 1 日以内に返信
@germangarces がすでに取り組んでいます。
2026年5月6日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- Python
- スター
- 9.9k
- フォーク
- 658
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 168
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Flagsmith/flagsmith のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Flagsmith/flagsmith#9119 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix Button Alignment in SDK Installation Section対応中かも @manueldezman が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#9056 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidance対応中かも @jcd1991 が 4 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
Flagsmith/flagsmith#9045 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Expose whether an organisation is blocked for API usage対応中かも @PiUnknown が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#8773 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500対応中かも @SAY-5 が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Flagsmith/flagsmith#8510 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Flagsmith/flagsmith の issue をすべて見る
似ている issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-official-plugins#538 ·
メンテナーはふだん 3 日以内に返信
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate対応中かも @houzhongyu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MakazhanAlpamys/Soup#3415 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信