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

Update scan queue #159

Open
JonoYang opened this issue Aug 4, 2023 · 3 comments
Open

Update scan queue #159

JonoYang opened this issue Aug 4, 2023 · 3 comments

Comments

@JonoYang
Copy link
Member

JonoYang commented Aug 4, 2023

The scan queue has several issues:

  • process_scan crashes when it loses connection with scancode.io. We should ensure that we handle this exception correctly and stop the queue if we can't communicate with scancode.io
  • The code that deals with calling scancode.io should also be updated along the lines of https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/purldb.py .
  • process_scan should rotate between the three in-progress scans to see which is available first to be indexed, rather than waiting on one.
  • Submitted scans would not always update their status properly and would be stuck in the scan submitted stage.
@404-geek
Copy link
Contributor

@JonoYang can you assign this to me ?

@mohammedabualsoud
Copy link

@JonoYang I’m a computer scientist applying through G-SOC24 with a passion for backend technologies.

My focus lies in cloud computing and system design, areas where I’ve honed my expertise through hands-on experience.
My background includes designing microservices, leveraging event-driven architectures, and crafting RESTful APIs. I’m enthusiastic about exploring the codebase.

Looking forward to connecting and discuss the project milestones.

@404-geek
Copy link
Contributor

@JonoYang @keshav-space @pombredanne @tdruez

I have made a Draft GSOC Proposal for the issue linked with below project idea for GSOC

https://github.com/nexB/aboutcode/wiki/GSOC-2024-Project-Ideas/#purldb-add-improved-scan-queue-with-multiple-scio-instances

Proposal Link

Can anyone please have a look into the proposal and vet it to see if the approaches are justified?

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

3 participants