Skip to content

docs: FerretDB was considered, not adopted; remove its CI workflow - #3528

Merged
lilyshen0722 merged 3 commits into
mainfrom
swe/adr034-ferretdb-not-adopted
Nov 5, 2026
Merged

lilyshen0722 merged 3 commits into
mainfrom
swe/adr034-ferretdb-not-adopted

Conversation

@lilyshen0722

@lilyshen0722 lilyshen0722 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

FerretDB was considered and not adopted. Self-host is MongoDB plus Postgres. Press after #3516: the ADR says the path is walked nightly.

  • ADR-034 status and D7: these now record the outcome and why: no FerretDB release since v2.7.0 (2025-11-10). The measurements stay as the record, and the 11-05 clean-install walk results are added. The migration to Postgres only is paused until the founder reopens it; the shipped D4 freeze and requirePgConfigured stay enforced. The rules proposed for new Mongo-layer code are marked as not binding.
  • docs/database/DATABASE.md: the refusal rule gets a reason that holds on MongoDB. The partial-filter rule is removed, because FerretDB was its only reason and main's indexes already use $in and $type.
  • docs/database/POSTGRESQL_MIGRATION.md: says the migration is paused.

No self-host guide on main mentions FerretDB: its guide and compose override are only in the held #3506.

.github/workflows/backend-ferretdb.yml is removed, so a stopped path stops spending CI nightly. The test comments that pointed at it are updated. The external-Mongo test harness stays.

🤖 Generated with Claude Code

https://claude.ai/code/session_015AKgpQtAEnhB56gowm8yYg

… Postgres

ADR-034 D7 and its status now record the outcome and keep the measurements
as the record. Postgres-only work is paused until the founder reopens it.
DATABASE.md's two rules stop citing FerretDB as the reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015AKgpQtAEnhB56gowm8yYg
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

ADR-034 now records FerretDB as considered but not adopted. The FerretDB CI workflow is removed, backend comments are updated, and database guidance no longer describes FerretDB-specific behavior.

Changes: FerretDB non-adoption

Layer / File(s) Summary
Record the D7 decision and clean-install findings
docs/adr/ADR-034-postgres-single-store.md, docs/database/POSTGRESQL_MIGRATION.md
ADR-034 states that FerretDB was not adopted, self-hosting continues to use MongoDB plus Postgres, and Postgres-only work is paused. It records clean-install findings and marks proposed Mongo-layer rules as nonbinding. The PostgreSQL migration document states that the migration is paused.
Remove the FerretDB CI workflow
.github/workflows/backend-ferretdb.yml, backend/__tests__/bench/authHotPath.bench.js, backend/__tests__/utils/externalMongoMemoryServer.js, backend/__tests__/utils/testUtils.js, backend/jest.config.js
The FerretDB test and benchmark workflow is deleted. Backend comments no longer identify it as an active CI path.
Update database index guidance
docs/database/DATABASE.md
The guidance removes FerretDB-specific explanations and advises checking stored rows rather than relying on refusal errors. It retains the partial index on toolCallSlot and removes the stated operator restriction.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 13f3a

The migration is paused while existing safeguards and integration coverage remain in place. No material merge risk is apparent.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title identifies the FerretDB decision and removal of its CI workflow.
Description check Passed The description covers the FerretDB decision, migration pause, documentation updates, and CI workflow removal.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3701587 and 13f3a1e.

Files selected for processing: 6

  • backend/__tests__/bench/authHotPath.bench.js
  • backend/__tests__/utils/externalMongoMemoryServer.js
  • backend/__tests__/utils/testUtils.js
  • docs/adr/ADR-034-postgres-single-store.md
  • docs/database/DATABASE.md
  • docs/database/POSTGRESQL_MIGRATION.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

The job kept spending CI nightly on a stopped path. ADR-034 and the
comments that pointed at it now say it is gone. The external-Mongo test
harness stays; it isn't FerretDB-specific.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015AKgpQtAEnhB56gowm8yYg
@lilyshen0722 lilyshen0722 changed the title docs: FerretDB was considered, not adopted; self-host is MongoDB plus Postgres docs: FerretDB was considered, not adopted; remove its CI workflow Nov 5, 2026
The pause covers the migration, not the shipped D4 freeze. Fixes a broken
sentence, removes a promise of Compose and Helm support, and gives
DATABASE.md's refusal rule a reason that holds on MongoDB. The partial-filter
rule goes: FerretDB was its only reason. Test comments stop naming a CI leg
that no longer exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015AKgpQtAEnhB56gowm8yYg

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Head: 13f3a1e

Review (author's subagent, medium): HOLD at 3701587, then PASS on this head.

  • ADR-034 records FerretDB as considered, not adopted, and the pause covers the migration only. The D4 freeze and requirePgConfigured stay enforced.
  • No promise of Compose or Helm support remains.
  • backend-ferretdb.yml is removed, and nothing else used it.
  • DATABASE.md's refusal rule has a reason that holds on MongoDB. The partial-filter rule is gone: FerretDB was its only reason, and main's indexes already use $in and $type.
  • Backend changes are comments only.

Accepted: D6's Wave 0 text stays, since the Status covers it.

Press after #3516: the ADR says the path is walked nightly.

GATE: PASS

@lilyshen0722
lilyshen0722 added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 9aa8949 Nov 5, 2026
42 of 45 checks passed
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