π Before claiming this issue
Two quick steps before you open a PR:
- β Star the repository β low-friction signal that you'll follow through
- π¬ Comment
I'll take this (or similar) below β prevents two contributors racing on the same issue
Full policy: CONTRIBUTING.md β How to claim. If a claim is older than 7 days with no PR, you can reclaim it politely.
Context
The Worker quota requirement worker-quota/spec.md "Concurrent writes do not lose increments" claims that 20 concurrent requests against a free-tier key result in counter equal to 20 exactly (no lost updates). This needs an independent reproducibility test with higher concurrency.
Where to look
- File: worker/src/quota.ts (created by task 3.6)
- The spec says 20 concurrent requests; we want 100 to truly stress the atomicity guarantee
- KV getWithMetadata + put is NOT atomic by default; needs explicit single-flight pattern (D1 atomic counter or Durable Object)
Expected outcome
Estimated effort
M (3 to 6h)
How to claim
Comment "@hoainho I will take this" to claim. PR within 10 days or unclaimed.
Acceptance criteria
Context
The Worker quota requirement worker-quota/spec.md "Concurrent writes do not lose increments" claims that 20 concurrent requests against a free-tier key result in counter equal to 20 exactly (no lost updates). This needs an independent reproducibility test with higher concurrency.
Where to look
Expected outcome
Estimated effort
M (3 to 6h)
How to claim
Comment "@hoainho I will take this" to claim. PR within 10 days or unclaimed.
Acceptance criteria