This commit was merged in pull request #487.
This commit is contained in:
1 parent
530df9cc3d
commit
ecc6466a18
2 files changed
+212
-13
No files matched your search
@@ -14,6 +14,7 @@ together on stage in one pass before the next prod promotion.
|
||||
| #477 | Findings grouped per rule; gitleaks ignores `*.launch` debugger ids |
|
||||
| #478–#482 | iOS readiness 1–5: Carthage and lifecycle, iOS rules, Unity targets, app variants, public samples (with the mobsfscan and Firebase fixes) |
|
||||
| #484 | Groups take over their places' decisions (#483) |
|
||||
| #486 | The clone cache heals itself after an interrupted clone or fetch |
|
||||
|
||||
**Customer-visible on the next prod rescan** is marked **[visible]**: these
|
||||
change what a customer sees on their existing targets, without them doing
|
||||
@@ -199,6 +200,23 @@ places) and rescan.
|
||||
- **[visible]** iOS apps with newer Swift now get mobile analysis; generic-api-key
|
||||
findings on Firebase Storage URLs close as no longer found.
|
||||
|
||||
### 14. #486 Clone cache heals itself
|
||||
|
||||
- **Do:** on the stage node, break the cache entry of a git target in
|
||||
`/home/sharang/bp-cache/pruefwerk-stage-repos/<tenant>/<target>` three
|
||||
ways, one per scan: empty the directory (`rm -rf <entry>/* <entry>/.git`),
|
||||
write garbage into `<entry>/.git/FETCH_HEAD`, create `<entry>/.git/index.lock`.
|
||||
Start **Prüfung starten** after each.
|
||||
- **Expect:** every scan completes; no "could not find repository" or
|
||||
"corrupted loose reference file". The two stage targets that failed on this
|
||||
before scan again on their next schedule.
|
||||
- **Log:** `clone cache entry is not a usable repository; cloning it again`
|
||||
(empty directory), `removing a lock an interrupted git left` (lock); a
|
||||
corrupt object store: `clone cache entry is broken; cloning it again`. No
|
||||
`*.cloning-*` directories stay beside the entries.
|
||||
- **[visible]** customers whose scans failed on a broken cache entry get scans
|
||||
again; nothing else changes.
|
||||
|
||||
## After the pass
|
||||
|
||||
- The nightly job on `main` is green with the new mobile targets.
|
||||
|
||||
Reference in new issue
Block a user