Skip to content

chore(ACI): Add render_label for ticketing providers#108795

Merged
ceorourke merged 5 commits intomasterfrom
ceorourke/add-render-label-remaining-providers
Feb 24, 2026
Merged

chore(ACI): Add render_label for ticketing providers#108795
ceorourke merged 5 commits intomasterfrom
ceorourke/add-render-label-remaining-providers

Conversation

@ceorourke
Copy link
Member

Follow up to #108419 to add the ticketing providers.

I tried to add sentry apps in this but it's going to require a larger change so I'll keep that as a separate follow up.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 21, 2026
@ceorourke ceorourke marked this pull request as ready for review February 21, 2026 00:42
@ceorourke ceorourke requested review from a team as code owners February 21, 2026 00:42


class TicketingIssueAlertHandler(BaseIssueAlertHandler):
label = "Create a ticket in {integration}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe 'label_template' to make it clearer this isn't intended to be used as-is and to make a comment about what we replace and how seem appropriate?

Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

name="GitHub Enterprise",
external_id="github_enterprise:1",
)
action_data = {**GITHUB_ACTION_DATA_BLOBS[3]}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test uses wrong constant for GitHub Enterprise data

Low Severity

test_github_enterprise_action references GITHUB_ACTION_DATA_BLOBS[3] to get a GitHub Enterprise data blob. This blob happens to have the GitHub Enterprise action id, but it lives inside the GITHUB_ACTION_DATA_BLOBS list, which is misleading. The reference is fragile — if anyone reorders or adds entries to that list, this test would silently use the wrong blob. A dedicated GITHUB_ENTERPRISE_ACTION_DATA_BLOBS constant (similar to how JIRA_SERVER_ACTION_DATA_BLOBS exists separate from JIRA_ACTION_DATA_BLOBS) would make the intent clear and avoid index-based coupling.

Fix in Cursor Fix in Web

@ceorourke ceorourke merged commit 1b6ba7a into master Feb 24, 2026
79 checks passed
@ceorourke ceorourke deleted the ceorourke/add-render-label-remaining-providers branch February 24, 2026 17:22
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
Follow up to #108419 to add the
ticketing providers.

I tried to add sentry apps in this but it's going to require a larger
change so I'll keep that as a separate follow up.
wedamija pushed a commit that referenced this pull request Feb 24, 2026
Follow up to #108419 to add the
ticketing providers.

I tried to add sentry apps in this but it's going to require a larger
change so I'll keep that as a separate follow up.
ceorourke added a commit that referenced this pull request Feb 24, 2026
Follow up to #108419 and
#108795 to add a `render_label`
method for sentry app actions to be used by the backwards compatible
issue alert serializer.
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants