File tree Expand file tree Collapse file tree
apps/sim/lib/uploads/shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,14 @@ export type StorageContext =
2424 | 'workspace-logos'
2525
2626/**
27- * Contexts exempt from storage quota checks — small metadata assets not managed
28- * by the user (profile pictures, logos, OG images). All other contexts represent
29- * user-driven uploads and must pass quota validation before upload is initiated.
27+ * Contexts exempt from storage quota checks. Includes system-internal contexts
28+ * (`logs` — written by the execution pipeline, not user-initiated) and small
29+ * metadata assets (`profile-pictures`, `workspace-logos`, `og-images`). All
30+ * other contexts are user-driven uploads and must pass quota validation.
31+ *
32+ * Note: `logs` is excluded from `ALLOWED_UPLOAD_CONTEXTS` in the multipart
33+ * endpoint, so it is unreachable there. The exemption applies to non-multipart
34+ * (single-part) upload paths used by the execution logging pipeline.
3035 */
3136export const QUOTA_EXEMPT_STORAGE_CONTEXTS = new Set < StorageContext > ( [
3237 'profile-pictures' ,
You can’t perform that action at this time.
0 commit comments