Bazel 203: Migrate dev workflows
Leaving code alone
Minimize source changes during a Bazel migration so the legacy build keeps working and product engineers retain ownership of their own application code.
Sometimes it’s Bazel that should change - things like writing to the source folder, the choice of working directory for a test, having a filesystem layout in a certain way.
We want to avoid changes that break the legacy build, and don’t want developers to have an impression that Bazel requires code changes that are really just different idioms.
If the code does have to change, maybe it can be in a superficial way.
For example you could add comments like Gazelle directives that inform the tooling without making any load-bearing changes that could break things.
Dependencies are an important case as well.
We shouldn’t change versions of any third-party library just because Bazel is managing them.

