How Vehicle Visuals in Inspections Work
Source: autosoft-workshop/app/controllers/inspections_controller.rb
- Vehicle visual URLs are dynamically regenerated for customer-facing views using signed URLs — the URLs expire and are refreshed each time the customer loads the inspection
- If URL regeneration fails (S3 error, missing file, etc.), the attachment is silently excluded — the customer sees a missing image with no error message
- Capricorn-limited accounts have flagging in place for vehicle visuals on restricted account types
Support scenarios
- "The customer says images are missing from their inspection" → signed URL regeneration may have failed; the images are silently dropped if S3 cannot generate a new URL — check that the original files still exist in storage
- "Images work for staff but not for the customer" → staff may see cached or direct URLs while customer views use dynamically regenerated signed URLs that can fail independently
- "Vehicle visuals aren't showing for a Capricorn account" → Capricorn-limited accounts may have restrictions on vehicle visuals