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

TCCP: Feature flag logic to support beta testing #8179

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Conversation

chosak
Copy link
Member

@chosak chosak commented Mar 1, 2024

Currently the TCCP feature flag logic prohibits it from running in either beta or production. Soon we want to be able to test on beta.

This change modifies the feature flag logic such that TCCP is always available locally or on our internal DEV4 testing server. Deploying it in other environments will require manually enabling it via the Wagtail UI.

How to test this PR

Running locally (./runserver.sh) TCCP should work properly.
Running locally as if you were in another environment (DEPLOY_ENVIRONMENT=beta ./runserver.sh) should result in a 404 for TCCP pages, unless you explicitly enable it by going to http://localhost:8000/admin/flags/TCCP/.

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code follows the standards laid out in the CFPB development guidelines

Currently the TCCP feature flag logic prohibits it from running in
either beta or production. Soon we want to be able to test on beta.

This change modifies the feature flag logic such that TCCP is always
available locally or on our internal DEV4 testing server. Deploying it
in other environments will require manually enabling it via the
Wagtail UI.
Copy link
Member

@contolini contolini left a comment

Choose a reason for hiding this comment

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

LGTM 👍 The cypress failure is a fluke.

@chosak chosak enabled auto-merge March 1, 2024 18:18
@chosak chosak added this pull request to the merge queue Mar 1, 2024
Merged via the queue into main with commit a2d0060 Mar 1, 2024
12 checks passed
@chosak chosak deleted the tccp/feature-flags branch March 1, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants