Repository navigation
test: gate community-only tenant cases from EE - #21874
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Move the memory model-resolution test internal/service/memory_message_owner_tenant_test.go, internal/service/memory_message_test.go |
The test was added to a dedicated file and removed from its previous file. It checks that the updated memory stores the owner tenant’s model ID. |
Search active-tenant identity test
| Layer / File(s) | Summary |
|---|---|
Move the search identity test internal/service/search_active_tenant_test.go, internal/service/search_test.go |
The test was added to a dedicated file and removed from its previous file. It checks the completion plan’s success code and identity. The unused common import was removed. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Refactor
Suggested labels: ci, ☯️ refactor
Suggested reviewers: wangq8
Merge Risk: 
Minimal · up to 169bd
-
The community-only tests are being separated from EE builds. No merge-blocking risk was identified.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 2 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the tests at dawn,
Two hops, two files, the old lines gone.
Owner models match their place,
Search plans keep the tenant’s trace.
Then carrots crunch, and checks pass on.
What problem does this PR solve?
Move the two community-only tenant tests into
!eetest files so they continue to run in community builds without failing the enterprise test suite. Keep the shared test helpers and remaining tests available to both editions.Type of change