audit facility for feature flags
Bug #670019 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
When feature flags are changed, mistakes may happen. Having the older versions be recoverable in some fashion - e.g. log file / email to losas / db history would give us a rollback mechanism (find the change, revert it).
Related branches
lp:~sinzui/launchpad/feature-flag-audit-0
- Robert Collins (community): Approve
- Stuart Bishop (community): Approve (db)
- Martin Pool (community): Needs Fixing
-
Diff: 672 lines (+416/-18)14 files modifieddatabase/schema/comments.sql (+8/-0)
database/schema/patch-2208-48-0.sql (+14/-0)
database/schema/security.cfg (+1/-0)
lib/lp/services/features/browser/changelog.py (+25/-0)
lib/lp/services/features/browser/configure.zcml (+7/-0)
lib/lp/services/features/browser/edit.py (+24/-7)
lib/lp/services/features/browser/tests/test_changelog.py (+91/-0)
lib/lp/services/features/browser/tests/test_feature_editor.py (+36/-10)
lib/lp/services/features/changelog.py (+38/-0)
lib/lp/services/features/model.py (+27/-1)
lib/lp/services/features/templates/feature-changelog.pt (+48/-0)
lib/lp/services/features/templates/feature-info.pt (+15/-0)
lib/lp/services/features/templates/feature-rules.pt (+10/-0)
lib/lp/services/features/tests/test_changelog.py (+72/-0)
tags: | added: feature-flags |
Changed in launchpad-foundations: | |
importance: | Medium → High |
Changed in launchpad: | |
assignee: | nobody → Benji York (benji) |
Changed in launchpad: | |
assignee: | Benji York (benji) → nobody |
Changed in launchpad: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
milestone: | none → 11.03 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Big +1 from me, but I'm hoping Martin or someone else takes it on. If not, someone please kick me about this, because I agree that being able to revert easily and reliably is very important for the kind of power that the feature flags can wield.