Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

idempotency: wire Idempotency-Key plugin into mutating endpoints

Open
#149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
api, backend

Research direction

Read apps/api/src/plugins/idempotency.ts and the idempotency section of specs/api/conventions.md first, then locate the handler for POST /api/projects/:slug/updates. Run or add the per-route tests for the double-tap case, wire the plugin into the at-risk mutating endpoints, and remove the not-yet-wired status caveat once the contract is covered.

Written by the indexing model from the issue text.

Description

The idempotency plugin (apps/api/src/plugins/idempotency.ts) is implemented and registered, but no route handler calls it — mutating endpoints don't honor the Idempotency-Key header yet.

specs/api/conventions.md#idempotency documents the target contract and now carries a status note marking it not-yet-wired (surfaced by the spec-drift audit).

Do: wire idempotency into the at-risk mutating endpoints — start with POST /api/projects/:slug/updates (the double-tap case the spec cites) — plus per-route tests. Then remove the status caveat from conventions.md.

Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
1d 20h
Merged PRs (30d)
25

Contributor guide

No contributing guide indexed for this repository

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.

More from CodeForPhilly/codeforphilly-ng

All issues in CodeForPhilly/codeforphilly-ng

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.