Repository navigation
test(mongo): name Mongo test blocks after what they test, not a deleted project list - #30410
Conversation
Test names and the MongoDB Family subsystem doc still carried numbered labels from a framework-limitations list in a project doc that was deleted when the Mongo target work closed out. The labels point at nothing, so the test blocks now say what they test, and the doc keeps only the Linear ticket links. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
prisma#30410 renames the test blocks in this file, so this PR keeps the block name as it is on main and only adds tests inside it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: prisma/orm/.coderabbit.yml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughFeature labels were removed from MongoDB migration-planner documentation and test suite descriptions. Issue references, test cases, and assertions remain unchanged. ChangesMongoDB label cleanup
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change removes feature labels from MongoDB test descriptions and documentation while preserving the tests and issue references. The supplied evidence indicates no behavior change or merge-blocking risk. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 3 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
@prisma/orm-extension-arktype-json
@prisma/orm-extension-middleware-cache
@prisma/orm-extension-paradedb
@prisma/orm-extension-pgvector
@prisma/orm-extension-postgis
@prisma/orm-extension-supabase
@prisma/orm-family-mongo
@prisma/orm-family-sql
@prisma/orm-framework
@prisma/orm-mongo
@prisma/orm-postgres
@prisma/orm-sqlite
@prisma/orm-target-mongo
@prisma/orm-target-postgres
@prisma/orm-target-sqlite
@prisma/orm-toolchain
commit: |
size-limit report 📦
|
… DCO workflow (#30419) ## At a glance The merge-queue commits for #30392, #30397 and #30410 each carry two `DCO` results: ```text DCO dco success <- the DCO app; the ruleset requires this one DCO github-actions success <- .github/workflows/dco.yml; ignored ``` After this PR only the app's result remains. ## What this PR changes 1. Deletes `.github/workflows/dco.yml`. 2. `docs/oss/ci-pipeline.md` says the `DCO` check comes from the DCO app, on PRs and on merge-queue commits. ## Why the placeholder existed, and why it can go The DCO requires a `Signed-off-by:` trailer on every commit. The [DCO GitHub App](https://github.com/apps/dco) enforces it by posting a check named `DCO`. Until recently the app only ran on PRs, so a merge-queue commit never got a `DCO` result and the queue stalled. `dco.yml` filled that gap: it ran on `merge_group`, echoed a message, and passed without reading any commits. The app now handles merge-queue events: the org installation accepted its new "Merge queues" permission. The `main` ruleset requires `DCO` from the app only, so the placeholder's result no longer counts toward the merge. It only costs a runner for every queued PR. ## Tests None; this is a workflow deletion. This PR's own trip through the merge queue shows the app's `DCO` result satisfying the requirement without the placeholder. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified that the DCO app posts a separate check for pull requests and merge-queue commits. * **Chores** * Removed a redundant DCO workflow check; DCO sign-off checks continue to be posted by the DCO app. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
At a glance
Nine Mongo test blocks and two sentences in a subsystem doc started with a numbered label that pointed at a list in a project doc. That doc was deleted when the Mongo target work closed out, so the labels now point at nothing:
What this PR changes
describenames in three Mongo test files drop their label and keep the description of what they test.docs/architecture docs/subsystems/10. MongoDB Family.mddrops the labels next to its two known-gap notes and keeps the Linear ticket links (TML-2447, TML-2448), which are durable.No test logic or production code changes.
Why
.agents/rules/no-transient-project-ids-in-code.mdcforbids IDs from project plans and specs in code and test names, becauseprojects/documents are deleted at close-out and the IDs then point at nothing. These labels are that case. Linear ticket IDs are allowed by the same rule, so the doc keeps those.Files touched:
packages/2-mongo-family/5-query-builders/orm/test/integration/orm-ergonomics.test.tspackages/2-mongo-family/2-authoring/contract-psl/test/interpreter.polymorphism.test.tspackages/3-mongo-target/1-mongo-target/test/mongo-planner.test.tsdocs/architecture docs/subsystems/10. MongoDB Family.mdTests
Only test names changed.
pnpm --filter <pkg> testandlintpass for@internal/mongo-orm,@internal/mongo-contract-psland@internal/target-mongo, and no label is left anywhere in the repo.🤖 Generated with Claude Code
Summary by CodeRabbit