fix(scan): a git target with a new upload is scanned, uploads beside git listed
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 10m34s

Stage: a ZIP uploaded to a git-created target was followed by a scheduled
run that skipped with "no new commits" (the git path), so the new upload
seemed ignored. It was: the code scan reads the repository only.

- A git target with a file uploaded since its last completed scan is not
  skipped for "no new commits"; with no uploads nothing changes.
- An archive uploaded to a git target is listed under "Nicht ausgeführt"
  as not scanned (upload it as a target of its own), in DE and EN.
- UPLOAD_CHANGE_SKIP=false turns the skipping of unchanged uploads off
  (on by default).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-10-08 23:33:14 +02:00
1 parent 1602acd233
commit c85e775385
5 files changed
+114 -5

No files matched your search

+6 -1
View File
@@ -79,7 +79,12 @@ with no new commits since the last scan, or of uploaded files that are the
same as at the last scan (compared by their SHA-256, so any newly uploaded
file, even one with the same name, is scanned), does not scan again; the run
says so under
**Nicht ausgeführt** and counts as no scan. After an update of Prüfwerk every
**Nicht ausgeführt** and counts as no scan. A git target to which a file was
uploaded since its last scan is scanned, even without new commits; its code
scan reads the repository, so an archive uploaded to a git target is listed
under **Nicht ausgeführt** as not scanned: upload it as a target of its own.
The administrator can turn the skipping of unchanged uploads off with
`UPLOAD_CHANGE_SKIP=false`. After an update of Prüfwerk every
target is scanned once more, since new rules can find more in the same code.
**Prüfung starten** always scans in full, also when a restart of Prüfwerk
interrupted it and it is started again. The daily CVE check of the known