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

Agent Crash When there are no documents for embedding. #55

Open
zvigrinberg opened this issue Jan 15, 2025 · 0 comments
Open

Agent Crash When there are no documents for embedding. #55

zvigrinberg opened this issue Jan 15, 2025 · 0 comments

Comments

@zvigrinberg
Copy link
Contributor

Agent crashes at the beginning when no documents at all available for embedding.

Container images with utilities and tools are possible and exists, and they contain no application code at all.

If it's expected to have files for embedding anyway ( at least 1 file) , then if one wants to invoke the analysis on such container images, then one must pass in different documents ( like scripts, manifests, configuration files, text files, documentation, directories structure, etc.), but in case there are 0 documents in the input , the agent should just log that error message and move on to listen for next requests , instead of crashing unexpectedly.

Reproducing input:

Example input:

  • Vulnerability CVE-2024-34069
  • image: registry.redhat.io/openshift4/ose-ironic-rhel9:v4.13.0-202408150008.p0.geb58310.assembly.stream.el9
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

No branches or pull requests

1 participant