-
Notifications
You must be signed in to change notification settings - Fork 384
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
Allow bypassing OT Chromium checks in non-prod environments #4705
Conversation
@@ -66,6 +67,10 @@ def get_chromium_files_for_validation() -> dict: | |||
def find_use_counter_value( | |||
body: dict, chromium_files_dict: dict) -> int | None: | |||
"""Find where the use counter is defined and return its value.""" | |||
# Chromium file checks can be bypassed, but only in non-prod environments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional nit: Should this be factored and live in settings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definitely should be - and I'll write an issue to make this change and land that in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits
#4707 created |
Fixes #4428
This change adds a checkbox to the OT creation form in non-prod environments to skip the Chromium file checks. The server-side code is implemented so that a bypass request would always be ignored in prod environments.