Skip to content

feat: add missing proto fields to RunAnalyzer API#507

Merged
shanghaikid merged 1 commit intomainfrom
feat/run-analyzer-full-proto-support
Mar 18, 2026
Merged

feat: add missing proto fields to RunAnalyzer API#507
shanghaikid merged 1 commit intomainfrom
feat/run-analyzer-full-proto-support

Conversation

@shanghaikid
Copy link
Contributor

Summary

  • Add db_name, collection_name, field_name, analyzer_names fields to RunAnalyzerRequest, aligning with the proto definition
  • Make analyzer_params, with_detail, with_hash optional, since users can specify analyzer via collection field or analyzer names instead
  • Add integration tests for collection_name+field_name and db_name usage

Test plan

  • yarn build passes
  • All 22 FullTextSearch tests pass (NODE_ENV=dev npx jest test/grpc/FullTextSearch.spec.ts)
  • New test: run analyzer with collection_name and field_name should success
  • New test: run analyzer with db_name should success

🤖 Generated with Claude Code

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shanghaikid

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

…n_name, field_name, analyzer_names)

Support running analyzer by specifying collection field or analyzer names instead of inline analyzer_params.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: ryjiang <[email protected]>
@shanghaikid shanghaikid force-pushed the feat/run-analyzer-full-proto-support branch from c7b4d57 to abee67f Compare March 18, 2026 01:58
@shanghaikid shanghaikid merged commit 8149f49 into main Mar 18, 2026
2 of 3 checks passed
@shanghaikid shanghaikid deleted the feat/run-analyzer-full-proto-support branch March 18, 2026 02:27
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.32%. Comparing base (bcb7ab0) to head (abee67f).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #507   +/-   ##
=======================================
  Coverage   97.32%   97.32%           
=======================================
  Files          54       54           
  Lines        3925     3928    +3     
  Branches     1034     1037    +3     
=======================================
+ Hits         3820     3823    +3     
  Misses        105      105           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants