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

PYIC-6870: Remove coiEnabled flag and redundant contexts #2041

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

Wynndow
Copy link
Contributor

@Wynndow Wynndow commented Jun 20, 2024

Proposed changes

What changed

Remove coiEnabled flag and redundant contexts

Why did it change

This removes the use of the coiEnabled feature flag in the journey maps. We've been able to drop a couple of states because of this.

There are also some now unneccessary contexts which can also be removed.

There will be a fronend-change which should be merged before this.

Issue tracking

@Wynndow Wynndow requested review from a team as code owners June 20, 2024 06:49
@Wynndow Wynndow force-pushed the pyic-6870-remove-coi-ff branch 2 times, most recently from 73d5c40 to 55274f3 Compare June 20, 2024 07:22
This removes the use of the coiEnabled feature flag in the journey maps.
We've been able to drop a couple of states because of this.

There are also some now unneccessary contexts which can also be removed.

This also adds a new event to the `IDENTITY_REUSE_PAGE_TEST` state. This
is to get the tests to pass. We test that page states all have the same
events defined on them. The removal of the flag tripped the test up.
This state is a test state for a feature we aren't using, so I've just
routed to the technical error page.

There will be a fronend-change which should be merged before this.

f
The orphaned states option wasn't working. When it was created it
specifically excluded the initial journey state from it's output, as it
legitimately had no events pointing at it. This was one we had just one
map though.

Now we've split the map, we have lots of "start" states. Keeping track
of and excluding them would be hard. This option is still useful, as
it's easy to see which states are legitimate once applied, highlighting
any erroneous states.
Copy link

sonarcloud bot commented Jun 20, 2024

@Wynndow Wynndow merged commit 4d37d63 into main Jul 4, 2024
6 checks passed
@Wynndow Wynndow deleted the pyic-6870-remove-coi-ff branch July 4, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants