Add a mechanism to prevent breaking buildscripts targets that do not run in CI

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From https://mongodb.slack.com/archives/C05V4F6GZ6J/p1744210498373119

       

      There are some buildscripts targets that don't run in CI (maybe this is the actual problem), but you can end up accidentally breaking them by removing files they list as sources, with no way to know.

      Then if you do something like ` bazel test --test_tag_filters=server-programmability //...` locally it will fail.

      See linked bug for an example of this.

       

      Initial ideas:

              Assignee:
              Unassigned
              Reporter:
              Sean Lyons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: