Skip to content

feat: add QualiTorque provider for environment lifecycle alerts#6217

Open
chengyixu wants to merge 1 commit intokeephq:mainfrom
chengyixu:feat/qualitorque-provider
Open

feat: add QualiTorque provider for environment lifecycle alerts#6217
chengyixu wants to merge 1 commit intokeephq:mainfrom
chengyixu:feat/qualitorque-provider

Conversation

@chengyixu
Copy link
Copy Markdown

Summary

Adds a new QualiTorque (Torque) provider that integrates Keep with QualiTorque's cloud infrastructure automation platform. Closes #5073.

Features:

  • Webhook (push) mode: Receive real-time notifications from Torque for environment lifecycle events (launch, deploy, error, drift, teardown, etc.)
  • API (pull) mode: Poll the Torque REST API for environments in error/warning states
  • Maps 12 Torque environment statuses to Keep severity/status levels
  • Handles multiple webhook payload formats (environment_, sandbox_, type/notification_type variants)
  • 30 unit tests covering _format_alert, validate_scopes, _get_alerts, severity/status mappings, and edge cases
  • Provider documentation with webhook and API setup instructions

Files changed:

  • keep/providers/qualitorque_provider/ — Provider implementation
  • tests/providers/qualitorque_provider/ — Unit tests
  • docs/providers/documentation/qualitorque-provider.mdx — Documentation
  • docs/mint.json — Navigation entry

Test plan

  • Unit tests pass (pytest tests/providers/qualitorque_provider/)
  • Provider appears in the UI provider list
  • Webhook mode: POST to /alerts/event/qualitorque with sample payload creates an alert
  • Pull mode: Configured provider fetches environments and creates alerts for error states
  • Documentation renders correctly in docs site

/claim #5073

🤖 Generated with Claude Code

Adds a new QualiTorque (Torque) provider that supports both webhook (push)
and REST API (pull) modes for receiving environment lifecycle notifications.

- Webhook mode: receives notifications from Torque for environment events
  (launch, deploy, error, drift, teardown, etc.)
- Pull mode: polls Torque API for environments in error/warning states
- Maps 12 Torque environment statuses to Keep severity/status levels
- Handles multiple webhook payload formats (environment_*, sandbox_*, etc.)
- Includes 30 unit tests covering format_alert, validate_scopes, get_alerts
- Adds provider documentation and mint.json navigation entry

Closes keephq#5073

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[➕ Provider]: add qtorque provider

1 participant