# mongo-go-driver Validation Report Generated 2026-05-07 — SecantusDB 0.3.0a65 vs mongo-go-driver fd85a834c40e (`vendor/mongo-go-driver/`). Run `uv run python -m invoke validate-go` to refresh. The pass rate is the analogue of the pymongo conformance gauge for the official Go driver — same shape, different wire-protocol pickiness. Type-strict bugs (int32 vs int64) that pymongo accepts silently fail loudly here. ## Summary by package | Package | Passed | Failed | Skipped | Total | Pass rate | |---|---:|---:|---:|---:|---:| | `bson` | 5061 | 0 | 14 | 5075 | 100.0% | | `internal/integration` | 247 | 20 | 29 | 296 | 92.5% | | `internal/integration/unified` | 42 | 0 | 0 | 42 | 100.0% | | `mongo` | 303 | 0 | 10 | 313 | 100.0% | | **Overall** | **5653** | **20** | **53** | **5726** | **99.6%** | ## Failures (20) First 30 failed tests for triage: ``` internal/integration :: TestCursor_All/getMore_error internal/integration :: TestCursor_All internal/integration :: TestCursor_Close/killCursors_error internal/integration :: TestCursor_Close internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/find_client-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/find_operation-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/aggregate_with_changeStream_client-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/aggregate_with_changeStream_operation-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/runCommandCursor_client-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout/runCommandCursor_operation-level_timeout internal/integration :: TestCursor_tailableAwaitData_applyRemainingTimeout internal/integration :: TestDatabase/run_command/gets_result_and_error internal/integration :: TestDatabase/run_command internal/integration :: TestDatabase/list_collection_names/filter_not_found internal/integration :: TestDatabase/list_collection_names internal/integration :: TestDatabase/list_collections/verify_results/replica_set_filter internal/integration :: TestDatabase/list_collections/verify_results internal/integration :: TestDatabase/list_collections/getMore_commands_are_monitored internal/integration :: TestDatabase/list_collections internal/integration :: TestDatabase ``` ## How this is generated **mongo-go-driver's tests are run unmodified, against a standalone SecantusDB daemon.** The submodule at `vendor/mongo-go-driver/` is checked out at the pinned upstream tag with zero local edits. A nested submodule `testdata/specifications/` (the MongoDB driver-spec JSON corpus) is also pulled — without it the bson-corpus tests fail on missing files. `go_validation/runner.py` spawns `python -m secantus --host 127.0.0.1 --port --storage-path ':memory:'` as a subprocess, waits for its TCP listener, exports `MONGODB_URI` (the env var `internal/integtest.MongoDBURI` and `internal/integration/mtest` read at setup), then runs `go test -json -count=1 ` for the in-scope set in `go_validation/include_packages.py`. From the go-driver's point of view it's connecting to a real `mongod` over TCP — exactly like its CI does. Tests gated on topology (`mtest.RequiresReplicaSet`, `mtest.RequiresSharded`, etc.) self-skip when the server doesn't match — those skips are honest gaps, not failures. Pass rate above is therefore a meaningful conformance number against the same language-canonical driver mongodump and mongorestore are built on.