Write globals.css before cleanup; run cleanup async

FixSecurityService
Shipped
April 21, 2026 at 3:05 PM UTC
Author
Kamo
Commit
f625bfe

Reorder provisionUpdate so writeConfigFiles (colors, config, manifest) runs before background file cleanup. Reload org from DB for fresh colors. Run cleanupExtraBackgrounds in a CompletableFuture after publishing success so a slow or stuck MinIO exists/delete cannot block the job or leave globals.css unwritten. Remove long @Transactional on provisionFull to avoid holding a DB connection for the whole MinIO work. Drop dead CSS_VAR_HEX placeholder and simplify replaceVar hex pattern to 3/6-digit only.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing