Skip to content

docs: build workspace packages and require a replica set in quickstart - #86

Merged
romiluz13 merged 1 commit into
mainfrom
docs/setup-build-replica-set
Oct 13, 2026
Merged

romiluz13 merged 1 commit into
mainfrom
docs/setup-build-replica-set

Conversation

@romiluz13

@romiluz13 romiluz13 commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Refs #83, #84

Changes

Clean-environment verification

A fresh clone of this branch, with an empty Bun install cache and no existing node_modules, dist, or Turbo cache, on Bun 1.4.2 and macOS:

Step Result
bun install --frozen-lockfile exit 0
cd apps/api && bun run dev before building ERR_MODULE_NOT_FOUND for @memongo/lib/dist/index.js (reproduces #83)
bun run build exit 0, 11/11 tasks, 0 cached
cd apps/api && bun run dev after building listening; /health 200 on Node 26.10.0 and 22.23.2
Documented walkthrough against an existing Atlas cluster (replica set), isolated throwaway database, no provider keys /health, /v1/status, /v1/add, /v1/search all 200; search returned exactly one result containing the README sentence, with no degradation
node scripts/check-docs-integrity.mjs passed (14 pages)

An initial connection attempt timed out for an undetermined reason. The later attempt used a longer connection allowance, and the startup wait was extended after observing index creation continue beyond 60 seconds; no Memongo runtime code changed. The throwaway database drop timed out in normal cleanup; a separate cleanup run then removed it and confirmed it was gone.

Not verified: the local Docker path, a standalone mongod (the ADD_FAILED symptom comes from #84), Node 20.19 (the minimum), and other installation variants.

Out of scope: #84 suggestions 2 and 3 (fail fast on standalone at startup and include the cause in ADD_FAILED) change runtime behavior and are left for a separate change. Another option for #83 is a Turbo dev dependency on ^build; this PR does not make that change.

🤖 Generated with Claude Code

Refs #83, #84

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@romiluz13
romiluz13 marked this pull request as ready for review October 13, 2026 11:04
@romiluz13
romiluz13 merged commit 156fd35 into main Oct 13, 2026
2 checks passed
@romiluz13
romiluz13 deleted the docs/setup-build-replica-set branch October 13, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant