Skip to content

fix: stream scan results data instead of silencing timeouts#481

Merged
tdruez merged 3 commits intomainfrom
459-api-timeout
Feb 19, 2026
Merged

fix: stream scan results data instead of silencing timeouts#481
tdruez merged 3 commits intomainfrom
459-api-timeout

Conversation

@tdruez
Copy link
Contributor

@tdruez tdruez commented Feb 19, 2026

Issues

Changes

  • Refine the scan_results API action to "stream" the scan data from ScanCode.io back to the client making the request on DejaCode
  • Return a 400 status code response in case the scan data could not be fetched
  • Add a new DEJACODE_INTEGRATION_REQUESTS_TIMEOUT setting to manage the Requests timeout value

Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez tdruez changed the title 459 api timeout fix: stream scan results data instead of silencing timeouts Feb 19, 2026
@tdruez tdruez merged commit 65c725c into main Feb 19, 2026
5 checks passed
@tdruez tdruez deleted the 459-api-timeout branch February 19, 2026 07:41
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

Comments