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
#465's change key for uploaded files is a digest of each upload's
artifact id and content_hash, but nothing ever stored content_hash on an
uploaded artifact (ingest hashed the blob and dropped it). So the key
never described the files actually uploaded.
- the upload handler stores the sha256 of the uploaded bytes on the
artifact
- a scan stores the sha256 ingest computed on older uploads that have
none, so existing targets become comparable (a scheduled run skips from the third scan on)
- a person's scan request takes over a pending scheduled/webhook
follow-up in the scan gate instead of being dropped, so "Prüfung
starten" right after an upload always scans in full
Unchanged scheduled rescans still skip (identical uploads, same build).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p