Scan runs: skipped-stage reasons show server paths and English to the customer #409

Closed
opened 2026-09-26 07:40:08 +00:00 by sharang · 0 comments
Owner

A scan run lists its skipped stages with the reason the agent recorded, verbatim. Some reasons carry server internals and English engineering text. For example:

Einlesen der Dateien: pump_station.st: artifact 629cfea7-… source not found at /data/compliance-scanner/artifacts/uploads/6ab3…/62dee60e-…_pump_station.st

A customer sees our storage layout, internal ids and English, on the German UI.

Proposal

  • Stored: SkippedStage gets a stable reason_code (e.g. artifact_missing, archive_password_required, tool_failed, tool_timeout, unsupported_format) plus the affected file's customer-facing name only. The raw detail goes to the log, not the run.
  • Dashboard: it maps the code to German/English text (like coverage::reason in #406) and shows the file name, never a path.

Same class as the lint-path leak fixed in #406. Seen during the UI audit (#408).

A scan run lists its skipped stages with the reason the agent recorded, verbatim. Some reasons carry server internals and English engineering text. For example: > Einlesen der Dateien: pump_station.st: artifact 629cfea7-… source not found at /data/compliance-scanner/artifacts/uploads/6ab3…/62dee60e-…_pump_station.st A customer sees our storage layout, internal ids and English, on the German UI. **Proposal** - **Stored:** `SkippedStage` gets a stable `reason_code` (e.g. `artifact_missing`, `archive_password_required`, `tool_failed`, `tool_timeout`, `unsupported_format`) plus the affected file's *customer-facing* name only. The raw detail goes to the log, not the run. - **Dashboard:** it maps the code to German/English text (like `coverage::reason` in #406) and shows the file name, never a path. Same class as the lint-path leak fixed in #406. Seen during the UI audit (#408).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#409