nodejs / nodejs/release-cloudflare-worker
Add bucket locks to dist-prod, dist-staging
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 57
- Forks
- 21
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 19
Description
R2 supports bucket locking (https://developers.cloudflare.com/r2/buckets/bucket-locks/), this allows for writing new objects to a bucket but prevents overwriting. I'm not 100% sure this will work for our bucket structure, but I think we should look into using it since the majority of our assets are static and should never change
cc @nodejs/build since this requires someone with write access to R2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Cloudflare R2 bucket-lock documentation and inspect how the dist-prod and dist-staging buckets are configured in this repository. Determine whether locking fits the existing bucket structure and identify the required write-access review; done means both buckets are safely configured without preventing legitimate asset publishing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100