Skip to content

feat(integrations): Add coding agent framework foundation #97981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

jennmueng
Copy link
Member

@jennmueng jennmueng commented Aug 18, 2025

Summary

  • Establishes foundational framework for coding agent integrations
  • Abstract CodingAgentIntegration and CodingAgentClient base classes
  • Generic models and utilities for coding agent implementations
  • Feature flag: organizations:seer-coding-agent-integrations
  • CodingAgentState model

Stacked PRs will follow.

jennmueng and others added 18 commits August 13, 2025 01:32
This establishes the foundational framework for coding agent integrations:

- Abstract CodingAgentIntegration and CodingAgentClient base classes
- Generic models and utilities for coding agent implementations
- Organization coding agent trigger API endpoint with feature flag protection
- CODING_AGENT integration feature enum
- Complete test coverage for framework components

The framework provides a standard interface that specific coding agent
implementations can build upon while maintaining consistency across
different agent providers.
- Abstract CodingAgentIntegration and CodingAgentClient base classes
- Generic models and utilities for coding agent implementations
- Feature flag: organizations:seer-coding-agent-integrations
- Enhanced autofix utilities with coding agent state models
@jennmueng jennmueng requested review from a team as code owners August 18, 2025 07:42
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 18, 2025
- Revert autofix utils changes to master version
- Remove coding agent prompt functions (will be in POST PR)
- Remove test files that depend on POST endpoint functionality
- Keep only core foundation classes and feature flag
cursor[bot]

This comment was marked as outdated.

Copy link

codecov bot commented Aug 18, 2025

Codecov Report

❌ Patch coverage is 94.11765% with 4 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/sentry/integrations/coding_agent/integration.py 88.88% 3 Missing ⚠️
src/sentry/integrations/coding_agent/client.py 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #97981      +/-   ##
==========================================
- Coverage   80.73%   80.64%   -0.10%     
==========================================
  Files        8604     8594      -10     
  Lines      381301   378953    -2348     
  Branches    24710    24659      -51     
==========================================
- Hits       307843   305604    -2239     
+ Misses      73080    72980     -100     
+ Partials      378      369       -9     

cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant