发布

  • feat: Add discord integration. (Fixes #359) (#510)

    frostbyte_neo 发布于 2026-04-13 01:09:48 +00:00

    • Add app/integrations/gitlab.py with a REST client against GitLab's /api/v4 API

    • Build investigation tools — GitLabCommitsTool, GitLabMRTool, GitLabPipelinesTool, GitLabFileTool — using the existing @tool decorator pattern

    • Wire GitLab into detect_sources.py and resolve_integrations so the planner automatically picks it up when a GitLab repo is referenced in an alert

    • Add onboarding via the existing wizard flow for gitlab integration

    • Write E2e test cases for gitlab integration

    • Lint Fixes

    • Add end to end test case with grafana alert and gitlab repo url

    • Add missing state and integration config

    • Add gitlab test fixture for e2e testing

    • Fix error related to startsAt, Use utility function to convert into ISO timeformat

    • Remove unused integration id form config

    • Fix params for list commits, optionally send since param

    • Add flow test

    • Add test cases for gitlab integration file

    • Revert max tokens change

    • Revert local llm config

    • Resolve merge conflicts

    • Add post notes api integration to add comment back on mr, its opt in based on env variable, Add test cases for same

    • Add e2e test cases for post notes api, Add placeholder in fixture json, to be replaced with env variables in e2e test

    • Fix lint errors

    • Fix lint, and unit test cases

    • Update env variable names to resolve naming issues

    • Handles unicode decode error in gitlab file get, fix doc string

    • Add comment for except block with pass

    • Add extra j as skip option moved by one place

    • Address recent comments by greptile review, Handle updated_after gracefully, correct ref_name for branch

    • Add utility to call discord api using bot token

    • Add discord context in agent state and factory

    • Add sending report to discord feature in generate report

    • Add Discord integration both from integration/cli and onboarding wizard

    • Add missing gitlab intergration in integration/cli for direct cli config

    • Add validate discord bot function in integration health to check discord connectivity

    • Add PyNaCl for sign verification, Add pydantic model for discord integration, add discord service config

    • Fix issue of registring discord command

    • Add /discord/integration route to be used as incoming API route from discord server to start investigation with /investigate

    • Add test cases for discord integration

    • Fix lint errors

    • Fix bug reported by greptile

    • Resolve bugs reported by greptile

    • Add documentation for discord and gitlab

    • Resolve greptile summaries, Removed duplicate report posting

    • Remove unused variable

    • Resolve lint issues in server.py

    • Handle http non 200 status codes gracefully for discord verification


    Co-authored-by: Vaibhav Upreti vaibhav.upreti16@gmail.com

    下载附件