Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty search if no collection found #331

Merged
merged 2 commits into from
Jan 19, 2025
Merged

empty search if no collection found #331

merged 2 commits into from
Jan 19, 2025

Conversation

dinmukhamedm
Copy link
Member

@dinmukhamedm dinmukhamedm commented Jan 19, 2025

Important

Handle missing collection in search_traces in traces.rs by returning an empty response and remove packageManager from package.json.

  • Behavior:
    • In search_traces in traces.rs, handle case where semantic_search.query returns an error by returning an empty TraceSearchResponse.
  • Misc:
    • Remove packageManager field from package.json.

This description was created by Ellipsis for 0505983. It will automatically update as commits are pushed.

@dinmukhamedm dinmukhamedm merged commit 7d76552 into main Jan 19, 2025
3 checks passed
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 0505983 in 22 seconds

More details
  • Looked at 43 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. app-server/src/routes/traces.rs:57
  • Draft comment:
    The use of unwrap() on trace_id and span_id can lead to panics if the keys are not present. Consider using get with error handling to avoid potential runtime errors.
  • Reason this comment was not posted:
    Comment was not on a valid diff hunk.
2. frontend/package.json:147
  • Draft comment:
    The removal of the packageManager field might affect the package management setup if pnpm was being used. Ensure this change is intentional and won't disrupt the build process.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_DpGctyIeISkt3VUy


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

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