Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

idempotency: wire Idempotency-Key plugin into mutating endpoints

オープン
#149 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
api, backend

調査の方向性

まず apps/api/src/plugins/idempotency.ts と specs/api/conventions.md の冪等性セクションを読み、その後 POST /api/projects/:slug/updates の handler を見つけてください。ダブルタップのケースに対するルート単位のテストを実行または追加し、リスクのあるミューテーションエンドポイントに plugin を組み込み、契約でカバーされたら「まだ組み込まれていない」というステータス上の注記を削除してください。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
1日 20時間
マージ済み PR(30日)
25

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeForPhilly/codeforphilly-ng のほかの issue

CodeForPhilly/codeforphilly-ng の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。