Skip to content

fix(crons): Slugify monitor_slug in consumer - #50856

Merged
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/fix-crons-slugify-monitor-slug-in-consumer
Jun 14, 2023
Merged

evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/fix-crons-slugify-monitor-slug-in-consumer

Conversation

@evanpurkhiser

@evanpurkhiser evanpurkhiser commented Jun 13, 2023 •

Copy link
Copy Markdown
Member

@evanpurkhiser
evanpurkhiser requested a review from a team as a code owner June 13, 2023 20:25
@evanpurkhiser
evanpurkhiser requested a review from rjo100 June 13, 2023 20:25
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 13, 2023
We missed this when removing slugification from relay in getsentry/relay#2099
@evanpurkhiser
evanpurkhiser force-pushed the evanpurkhiser/fix-crons-slugify-monitor-slug-in-consumer branch from 4cc9d62 to ebafdfe Compare June 13, 2023 21:26

# Ensure the monitor_slug is slugified, since we are not running this
# through the MonitorValidator we must do this here.
monitor_slug = slugify(params["monitor_slug"])[:MAX_SLUG_LENGTH].strip("-")

@rjo100 rjo100 Jun 13, 2023 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@evanpurkhiser
evanpurkhiser merged commit ad99676 into master Jun 14, 2023
@evanpurkhiser
evanpurkhiser deleted the evanpurkhiser/fix-crons-slugify-monitor-slug-in-consumer branch June 14, 2023 18:08
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 30, 2023

This branch was successfully deployed

1 active deployment
Preview — ebafdfe4 Deployed Jun 13, 2023 by vercel[bot]
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.

3 participants