Skip to content

fix(cli): skip OS junk files when seeding storage buckets#5938

Merged
Coly010 merged 1 commit into
developfrom
columferry/cli-1950-seed-buckets-skip-os-junk-files-ds_store-in-objects_path-or
Jul 23, 2026
Merged

fix(cli): skip OS junk files when seeding storage buckets#5938
Coly010 merged 1 commit into
developfrom
columferry/cli-1950-seed-buckets-skip-os-junk-files-ds_store-in-objects_path-or

Conversation

@Coly010

@Coly010 Coly010 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Skip .DS_Store, Thumbs.db, and desktop.ini when walking a bucket's objects_path during supabase seed buckets, logging Skipping OS metadata file: <path> instead of uploading them
  • Previously these OS-generated files either aborted the whole seed run (415 invalid_mime_type on MIME-restricted buckets) or silently became public objects
  • TS-only fix (legacy port); apps/cli-go is left untouched as it's the frozen Go reference

Fixes #5931, closes #5931

.DS_Store, Thumbs.db, and desktop.ini were uploaded like any other file
under a bucket's objects_path, either aborting the seed run on
MIME-restricted buckets or silently becoming public objects.

Fixes CLI-1950
@Coly010
Coly010 requested a review from a team as a code owner July 23, 2026 10:54
@Coly010 Coly010 self-assigned this Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@60c9c2c9a51bfa00c00818436aa360e8603dab47

Preview package for commit 60c9c2c.

@Coly010
Coly010 added this pull request to the merge queue Jul 23, 2026
Merged via the queue into develop with commit 621aaff Jul 23, 2026
24 checks passed
@Coly010
Coly010 deleted the columferry/cli-1950-seed-buckets-skip-os-junk-files-ds_store-in-objects_path-or branch July 23, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seed buckets: skip OS junk files (.DS_Store) in objects_path, or support an ignore list

2 participants