Skip to content

GitLab/Gitea webhook server (optional) #10

Description

@ajianaz

Webhook Server

Add an optional webhook server for GitLab and Gitea integration, enabling automatic code review on merge requests.

Features

  • Lightweight HTTP server (behind a feature flag)
  • Receives webhook events from GitLab/Gitea
  • Triggers cora review on MR/PR diff
  • Posts review comments back via API
  • Configurable port and webhook secret

Usage

cora serve --port 8080 --gitlab --secret my-secret

Requirements

  • Feature-gated (--features webhook-server)
  • Axum or actix-web based HTTP server
  • GitLab and Gitea webhook payload parsing
  • HMAC signature verification
  • Async review processing

Acceptance Criteria

  • Receives and parses GitLab MR webhooks
  • Posts review comments to MR
  • Verifies webhook signatures
  • Feature-gated so it does not add deps for CLI-only users

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions