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 7m53s
iOS readiness, story 4. A repository with a phone and a tablet app showed
the same flaw twice with nothing telling them apart.
- pipeline/variants.rs recognises the variants once per scan:
Eclipse/ADT sibling apps, several Android application modules, product
flavors and build types with their own source sets (src/<flavor>/;
src/main is shared and labels nothing), several app targets of one
Xcode project (sources in the directory named after the target). One
module, flavor or target alone is no variant.
- Classification: one `app_variant` fact per variant, with its source
(adt, gradle-module, gradle-flavor, xcode-target); the target page's
"Erkannte Merkmale" lists them.
- Finding.variant and Occurrence.variant: RunFindings labels every finding
by the innermost variant directory holding its file, before grouping
(so a group's place list names each place's variant) and on save; rows
stored before get theirs on the next scan. Findings are never merged
across variants; a group spanning variants keeps none itself.
- Issues: the variant is in the title ("[low] mobsfscan (Tablet App): …"),
which keeps the same flaw in two variants two issues, and a **Variant**
line in the body.
- API: `variant` filter on /api/v1/findings (own or any grouped place),
GET /api/v1/findings/variants for the filter's choices.
- Dashboard: "Alle Varianten" filter (only when there are variants), the
variant under the title in the list and as a badge on the finding page.
- Nightly: finding lines carry " [variant]", so the same file in two
apps no longer collapses into one line; legacy-adt-unity now shows
each manifest finding for Pump Phone and Pump Tablet.
- Docs (findings guide); Mongo integration test tests/finding_variants.rs.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p