Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Webhooks: endpoint delivery mode with signature checks

Đang mở
#679 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Start by reading ADR 0030 and issue #37, then trace the existing deliveries mode and the operator HTTP server. The issue names no source or test files, so locate the webhook configuration, startup hook, settings, and Needs attention entry points. Done means endpoint mode verifies X-Hub-Signature-256, configures the public URL, surfaces repository hints and status, and documents that the App webhook must be active.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Second part of #37's webhook delivery modes, after the deliveries mode. Priority: low.

  • POST /webhooks/github on the operator HTTP server, checked with HMAC-SHA256 against X-Hub-Signature-256 and a secret from the instance .env. It stays outside operator authentication; ADR 0030 lists it as one of the routes without a token.
  • At start, PATCH /app/hook/config with the instance's public URL when webhooks.mode is endpoint.
  • Feed the same repository-level hints as the deliveries mode.
  • Settings shows the mode and the last hint time; a Needs attention entry appears when endpoint mode has received no delivery since startup for 10 minutes.
  • Document that the App's webhook must be active.
Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
243

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của basaltbytes/usine

Tất cả issue của basaltbytes/usine

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.