-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Currently, we have a lot of exported experimental APIs in the x/ directory and in some integration-test-only packages. Only a few of the APIs are used by internal teams (e.g. Atlas Proxy, ADL, etc) and none of them are intended for use by external users. However, because so many experimental APIs are exported, it’s difficult to understand the impact of changing some of those APIs. A better approach is to export the minimum possible surface area that still allows supporting internal Go driver users while minimizing confusion to external users and improving the Go Driver Team’s developer efficiency.
Reduce internal team migration pain and increase the Go Driver Team’s developer efficiency by moving a significant number of packages into internal/ directories to prevent them from being used outside of the Go driver.
Definition of done:
- Move packages to an internal/ directory.
- benchmark
- cmd
- examples
- mongo/integration
- mongo/integration/mtest
- mongo/integration/unified
- Rename cmd/godriver-benchmark to cmd/benchmark.
Dependencies:
- OSS Fuzz uses cmd/build-oss-fuzz-coprus.
- Upcoming AWS Lambda test/development toolchain may use something in cmd/
- has to be done before
-
GODRIVER-3065 Update Atlas testing for v2
- Backlog
- is duplicated by
-
GODRIVER-2206 Move test utilities to internal
- Closed
- is related to
-
GODRIVER-3064 Change google/oss-fuzz PR to use v1
- Closed
-
GODRIVER-3069 Update Atlas Test to use V1
- Closed