Skip to content

[BACKEND] [DEFECT] Migrate media storage updater from Upload Thing to Cloudflare R2 #971

@jji05

Description

@jji05

Is your feature request related to a problem? Please describe.

There are too many issues with Upload Thing's support with Payload CMS (and the fact that they just carelessly make so many destructive changes), a lot of media issues are showing up which make media on our site very unreliable.

Describe the solution you'd like

Need to transition to Cloudflare R2 which offers a really good free tier plan AND is far more reliable.

Describe alternatives you've considered

Unless there are better options:

https://payloadcms.com/docs/upload/storage-adapters

Additional context

BEFORE MERGING

  • Integration test written for services
  • Schemas annotated if adding new models
  • Code generation run (hint: pnpm generate:types)
  • Appropriate mocks created where possible
  • PR Reviewed (For non-trivial changes)
  • Changes tested after rebasing on master or merging in master (hint: git fetch origin master:master, then git rebase master or git merge master)
  • All required PR checks passing

Metadata

Metadata

Assignees

Labels

backendrelating to code in the /server directorybugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions