Skip to content

Add retries for the raw result upload from the lurker sidecar - #3785

Merged
Weltraumschaf merged 3 commits into
mainfrom
feat/lurker-upload-retries
Sep 15, 2026
Merged

Weltraumschaf merged 3 commits into
mainfrom
feat/lurker-upload-retries

Conversation

@J12934

@J12934 J12934 commented Aug 25, 2026

Copy link
Copy Markdown
Member

Description

When upload fails it can be painful to retry the entire scan just rerun the file upload.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@J12934 J12934 self-assigned this Aug 25, 2026
@J12934 J12934 added the enhancement New feature or request label Aug 25, 2026
@netlify

netlify Bot commented Aug 25, 2026

Copy link
Copy Markdown

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit 907df23
🔍 Latest deploy log https://app.netlify.com/projects/docs-securecodebox/deploys/6aa17283efba640008bbcf64

@Weltraumschaf Weltraumschaf moved this from Triage to In Progress in secureCodeBox Aug 26, 2026
@J12934 J12934 moved this from In Progress to To Review in secureCodeBox Aug 31, 2026
When upload fails it can be painful to retry the entire scan just to
rerun the file upload.

Signed-off-by: Jannik Hollenbach <[email protected]>
@Reet00

Reet00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The lurker keeps trying to upload the file even if the scan filed and there is no file to upload. The lurker should not do the retries if the findings file does not exist

The scan container is already gone when the lurker starts up, if the
file isn't there it won't appear later, so no point in retrying the fs
call

Signed-off-by: Jannik Hollenbach <[email protected]>
@J12934
J12934 force-pushed the feat/lurker-upload-retries branch from 3a205d7 to 1d90286 Compare September 9, 2026 14:32
Comment thread lurker/main.go Dismissed
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

@J12934
J12934 requested a review from Reet00 September 10, 2026 06:20
Comment thread lurker/main.go
Comment thread lurker/main.go
Comment thread lurker/main.go
Comment thread lurker/main.go
@github-project-automation github-project-automation Bot moved this from To Review to Reviewer Approved in secureCodeBox Sep 15, 2026
@Weltraumschaf
Weltraumschaf merged commit 8349ebe into main Sep 15, 2026
50 checks passed
@Weltraumschaf
Weltraumschaf deleted the feat/lurker-upload-retries branch September 15, 2026 08:44
@github-project-automation github-project-automation Bot moved this from Reviewer Approved to Done in secureCodeBox Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants