Bun corpus slice
- Position 4036:
js/third_party/mongodb/mongodb.test.ts
Gap
The upstream integration is guarded by TLS_MONGODB_DATABASE_URL, but Home rejects its harness/mongodb ESM imports before the guard can register the skipped test.
Acceptance criteria
- rewrite the harness and MongoDB imports through the bootstrap module registry
- preserve the upstream secret gate as one todo/skipped integration when credentials are absent
- expose a deterministic MongoClient surface for bootstrap diagnostics
- attempted unsupported connections fail with a structured, credential-safe MongoDB error carrying operation, sanitized endpoint, original cause, and stack context
- add conditional registration and error behavior to permanent coverage