nodejs / nodejs/release-cloudflare-worker

Add bucket locks to dist-prod, dist-staging

Open
#527 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.