sweep icon indicating copy to clipboard operation
sweep copied to clipboard

Sweep: add a new webhook endpoint to receive events from Linear. Users should be allowed to tag a linear ticket with the Sweep label and invoke Sweep.

Open sweep-nightly[bot] opened this issue 1 year ago • 2 comments

Description

This pull request introduces a new webhook endpoint to handle events from Linear, allowing users to tag Linear tickets with the "Sweep" label to trigger specific workflows in the Sweep system.

Summary

  • Added a new handler handle_linear_ticket in sweepai/handlers/on_linear_ticket.py to process Linear webhook events.
  • Created a new webhook endpoint /linear in sweepai/api.py to receive and handle requests from Linear.
  • Introduced new environment variables LINEAR_API_KEY and LINEAR_LABEL_NAME in sweepai/config/server.py to configure the Linear integration.
  • Replaced the Jira webhook endpoint with the Linear webhook endpoint, reflecting a shift in focus from Jira to Linear for ticket management.

Fixes #3669.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

This is an automated message generated by Sweep AI.

sweep-nightly[bot] avatar May 04 '24 01:05 sweep-nightly[bot]

Rollback Files For Sweep

  • [ ] Rollback changes to sweepai/api.py
  • [ ] Rollback changes to sweepai/handlers/on_linear_ticket.py
  • [ ] Rollback changes to sweepai/config/server.py

This is an automated message generated by Sweep AI.

sweep-nightly[bot] avatar May 04 '24 01:05 sweep-nightly[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sweep-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2024 1:23am

vercel[bot] avatar May 04 '24 01:05 vercel[bot]