Add webhook-based monitoring specification with GitLab System Hook support#38
Merged
Merged
Conversation
Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update monitoring to use webhooks instead of polling
Add webhook-based monitoring specification to replace polling
Nov 23, 2025
notfolder
reviewed
Nov 23, 2025
| #### 4.7.2 必要な権限 | ||
| - Webhookを設定するには、プロジェクトの **Maintainer** 以上の権限が必要 | ||
|
|
||
| ## 5. 実装計画 |
| - 移行ガイド | ||
| - リリースノート | ||
|
|
||
| ## 6. 移行戦略 |
| - RabbitMQキューは両方式で共通のため、データロスなし | ||
| - 処理中タスクは影響を受けない | ||
|
|
||
| ### 6.3 移行チェックリスト |
| 2024-01-15 10:30:45 INFO [webhook.server] Task queued successfully | ||
| ``` | ||
|
|
||
| ### 8.2 メトリクス |
| - キュー投入の高速化 | ||
| - 不要なデータベースアクセスの削減 | ||
|
|
||
| ## 11. よくある質問(FAQ) |
Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Contributor
Author
Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Contributor
Author
Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Copilot
AI
changed the title
Add webhook-based monitoring specification to replace polling
Add webhook-based monitoring specification with GitLab System Hook support
Nov 23, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue requests transitioning from 5-minute polling to webhook-based monitoring for GitHub/GitLab issues and pull requests. Current approach wastes API quota and introduces unnecessary latency.
Changes
Added comprehensive Japanese specification document (
docs/webhook_specification.md) covering:Architecture
labeledactions withcoding agentlabelDesign specifications (in Japanese)
Document structure (9 sections)
GitLab System Hook Support
POST /webhook/gitlab/systemfor instance-wide hooks (in addition to project-level webhooks)GITLAB_SYSTEM_HOOK_TOKENenvironment variable for separate authenticationKey design points
No code changes in this PR—specification only. The document focuses on architecture and design rather than implementation details.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.