hackclub / hackclub/hcb

Add idempotency key support to v4 data-mutating endpoints

Open
#11,764 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
871
Forks
140
Avg merge
1d 20h
Merged PRs (30d)
201

Description

When doing something that changes data (e.g. updating grants), you should be able to set an idempotency key to ensure that if the request gets run twice somehow, the operation doesn't happen twice. This can be especially helpful for endpoints that move money (e.g. transfers, issuing grants)

Contributor guide

Open the contributing guide

Research direction

Start by locating the v4 data-mutating endpoints, especially those that update grants or handle transfers. Define the supported idempotency-key behavior for repeated requests and verify that each operation happens only once, including the relevant endpoint tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.