Skip to content
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

Fix: Creating flags on review apps attempting to notify our flags Discord channel #4107

Merged

Conversation

KevinMulhern
Copy link
Member

Because:

  • When creating a flag on a review app it was returning a 500 response because the discord notifier isn't configured.
  • We don't want testing flags on review apps to create noise in our Discord channel.

This commit:

  • Do not run the discord notifier service if we're in the development environment or staging (review apps).
  • Removes the json responses for creating flags, those were used from the removed react implementation of the flag form.

…cord channel

Because:
* When creating a flag on a review app it was returning a 500 response because the discord notifier isn't configured.
* We don't want testing flags on review apps to create noise in our Discord channel.

This commit:
* Do not run the discord notifier service if we're in the development environment or staging (review apps).
* Removes the json responses for creating flags, those were used from the removed react implementation of the flag form.
@KevinMulhern KevinMulhern force-pushed the fix/flags-discord-notifications-from-review-apps branch from 6af5c5d to d7ffaf1 Compare September 2, 2023 11:53
@KevinMulhern KevinMulhern temporarily deployed to odin-review-app-pr-4107 September 2, 2023 11:58 Inactive
@KevinMulhern KevinMulhern self-assigned this Sep 2, 2023
@KevinMulhern KevinMulhern added the Type: Bug Involves something that isn't working as intended label Sep 2, 2023
@KevinMulhern KevinMulhern merged commit 42195fa into main Sep 4, 2023
2 checks passed
@KevinMulhern KevinMulhern deleted the fix/flags-discord-notifications-from-review-apps branch September 4, 2023 07:21
ZachBaird pushed a commit to ZachBaird/theodinproject that referenced this pull request Sep 4, 2023
…cord channel (TheOdinProject#4107)

Because:
* When creating a flag on a review app it was returning a 500 response
because the discord notifier isn't configured.
* We don't want testing flags on review apps to create noise in our
Discord channel.

This commit:
* Do not run the discord notifier service if we're in the development
environment or staging (review apps).
* Removes the json responses for creating flags, those were used from
the removed react implementation of the flag form.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Involves something that isn't working as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants