Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73655

Add linter rule to require SERVER TODO on js test feature flag checks

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Correctness

      In SERVER-72517 we found some problems with testing with feature flags when the flags are eventually removed. We mitigated some of those problems, but it's hard to fully solve them. We think that a reasonable guard rail would be to require any usage of `FeatureFlagUtils` to include a TODO with a SERVER ticket about how the code should be removed when the feature flag is removed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: