Outbound webhooks for Discord and Slack
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
The issue names no implementation files or tests beyond npm test and node scripts/check-boundary.js. Start by reading the project structure and its existing event, scheduler, and test entry points to understand where webhook delivery belongs. Done means Discord and Slack formatting, signed payloads, retries, SSRF protections, exactly-once delivery, and the specified tests and checks; the issue also asks for a screenshot of a real Discord delivery.
索引モデルが issue の本文から書いたものです。
説明
Communities live in Discord and Slack. Today nothing leaves CodeArena, so a server running a weekly tournament has to announce results by hand.
Design
- Players who run a tournament, and server admins, can add outbound webhooks with a URL and the events they want.
- Events:
- Tournament created, check-in open, started, round finished, winner decided.
- A player reaching a new rank tier (only when that player has opted in).
- New problem added to the instance.
- Built-in formatting for Discord and Slack webhook URLs (embeds and blocks). Any other URL gets a signed JSON payload.
Rules that must hold
- Signed payloads:
X-CodeArena-Signaturewith HMAC-SHA256 over the raw body and a timestamp, with a documented verification snippet. - Delivery: retries with backoff for up to 24 hours, recorded in a delivery log the owner can see. Auto-disable after repeated permanent failures, with a notice to the owner.
- No SSRF: refuse URLs that resolve to private, loopback or link-local addresses, checked at send time as well as at save time, since DNS can change. Add tests for each blocked range.
- Exactly once per event per webhook, even if the scheduler or server restarts mid-delivery. Prove it with a test.
- Nothing private in payloads: no emails, no code, no hidden tests.
Definition of done
- A real Discord channel receiving tournament events, shown in a screenshot in the pull request.
- Tests for signing, retries, SSRF rules and exactly-once delivery.
npm testandnode scripts/check-boundary.jspass.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sennaicodes/codearena のほかの issue
-
Add issue and pull request templates再び着手できるかも @franciscorodr26 が 19 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
sennaicodes/codearena#13 · コメント 1 件 ·
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
sennaicodes/codearena#31 ·
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
sennaicodes/codearena#30 ·
sennaicodes/codearena の issue をすべて見る
似ている issue
-
enhancement javascript python
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jlab-sensing/ENTS-backend#851 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
guilhermerodz/input-otp#157 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
davidjerleke/embla-carousel#1414 ·
メンテナーはふだん 4 日以内に返信
-
0. Needs triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信