Skip to content

[SPIKE] Plan for FF updates for the directed launch #24045

Closed

Description

@OlgaPotiagalova

Please investigate what is required to enable essential features via FF for all corporation types for the possible soft launch:

IA
Change of directors
Change of address
Alteration
Correction

Voluntary Dissolution
Admin Dissolution
Put Back On
Continuation In (desirable)
Amalgamation (desirable)

Activity

  1. added
    Entities Team
    on Oct 25, 2024
  2. OlgaPotiagalova commented on Oct 28, 2024

    @OlgaPotiagalova
    CollaboratorAuthor

    Amalgamation is disabled for BEN, and the Continuation In is still in development.
    @severinbeauvais Are all other features already enabled in Prod for BEN?

  3. severinbeauvais commented on Oct 28, 2024

    @severinbeauvais
    Collaborator

    No, BEN is not fully enabled in Prod. Here's what's configured as of right now. Most of these flags can allow specific business types.

    Filing FF in Prod
    IA Enabled
    COD BEN, CP
    COA BEN, CP
    Alteration Disabled - but actually, alterations are allowed
    Correction BEN, SP, GP, SP
    Voluntary Dissolution CP BEN BC CC ULC SP GP CBEN C CCC CUL
    Admin Dissolution Same as Voluntary Dissolution
    Put Back On Disabled
    Continuation In Disabled
    Amalgamation Disabled
    AR Correction CP
    Consent for Amalg Out Disabled
    Amalgamation Out Disabled
    Consent for Cont Out Disabled
    Continuation Out Disabled
    AGM Extension Disabled
    AGM Location Change Disabled
    Alteration - Change Business Types Disabled
    Restoration Disabled
    Registration Enabled
  4. severinbeauvais commented on Nov 6, 2024

    @severinbeauvais
    Collaborator

    Analysis

    Everything starts from Namerequest UI, so the relevant LaunchDarkly projects that play a part in end-to-end deployment of Business Registry features are:

    • namerequest (for named or numbered)
    • namex (needs to be compatible with Namerequest UI)
    • sbc-auth (for MBR)
    • entity-ui (for enabled actions)
    • lear (needs to be compatible with Create/Edit/Filings UIs)

    NOTE: I am ignoring FFs for dissolution, restoration, amalgamation and continuation in.

    Namerequest Feature Flags

    1. supported-name-change-entities
      • currently, in Prod = BC CBEN CP DBA FR GP
      • need to add CC, CR and ULC
    2. supported-alteration-types
      • currently, in Prod = BECR
      • need to add BECV, CCV, UC, BECC, ULCB and ULBE
      • in Namerequest UI, need to replace BC -> BEN and ULC -> BEN message with action button (see Namerequest UI: update BC to BEN message #24278) will be done for MVP; leave this as-is for Directed Launch
    3. supported-incorporation-registration-entities
      • currently, in Prod = BC CP DBA FR GP
      • need to add CC, CR, and UL (should this be ULC?)

    Namex Feature Flags

    1. enable-won-emails
      • currently, in Prod = False
      • need to change to True

    SBC Auth Feature Flags

    1. allowable-business-search-types
      • controls which businesses to search to affiliate
      • currently, in Prod = BEN,SP,GP,CP
      • need to add BC,CC,ULC (need to review this)
    2. ia-supported-entities
      • currently, in Prod = BEN,CP,GP,SP
      • need to add BC,CC,ULC (need to review this)
    3. enable-bc-ccc-ulc
      • currently, in Prod = False
      • need to change to True
    4. enable-ltd-and-ulc-affiliate
      • currently, in Prod = False
      • need to change to True
    5. allowable-business-passcode-types
      • currently, in Prod = BEN, CP
      • need to add BC, CC, ULC (need to review this)

    Entity UI Feature Flags

    1. supported-business-summary-entities
      • currently, in Prod = CP BEN SP GP
      • need to add BC, CC and ULC
    2. enable-non-ben-corps
      • currently, in Prod = False
      • need to change to True
    3. supported-change-of-directors-entities
      • currently, in Prod = BEN CP
      • need to add BC, CC and ULC
    4. supported-change-of-address-entities
      • currently, in Prod = BEN CP
      • need to add BC, CC and ULC
    5. supported-alteration-entities
      • TBD
    6. supported-alteration-change-business-types
      • currently, in Prod = None
      • need to add BEN, BC, CC and ULC
    7. supported-filings
      • currently, in Prod = IA, Dissolution and Registration
      • no change needed (dissolution, registration, amalgamation and continuation in are not in scope)
    8. businesses-to-manage-in-colin NEW
      • verify no new LEAR businesses need to be added

    LEAR Feature Flags

    1. enable-bc-ccc-ulc
      • currently, in Prod = False
      • need to change to True
      • used for sync (COLIN API)
      • used for Email Reminder job

    This analysis is now complete.

  5. severinbeauvais commented on Nov 7, 2024

    @severinbeauvais
    Collaborator

    When do we change these flags?

    The flags in Prod need to be changed on (or before) the Directed Launch Date. There are many flags to update so some time should be allocated for this activity (up to an hour, including double-checking and smoke testing).

    How do we test this?

    The flags can be set in Test environment the same as we will want them in Prod and all features can be verified there prior to Directed Launch.

    This is a change to how we use Test right now. Currently, Test looks like Dev. Now, Test would look like Prod.

    Targeted flags?

    If desired, flags can (individually) be targeted to specific users or "groups" in Prod (or any environment). Note that the configuration to do this is approximately 15 minutes per flag (given we know the individuals or groups to target). This can be done any time, if we trust targeted individuals to not use featues that are not yet officially released.

    Note that "groups" can mean lists of users, roles (per Keycloak), or various other attributes (eg, country, name, ip) -- but these other attributes are probably not useful to distinguish users. This leaves us with targeting flag variations for lists of users or roles only.

    Note that we can only target groups by Keycloak role if the respective UI updates the user record in LaunchDarkly. Filings UI, Create UI and Edit UI do this. I don't know if Namerequest UI or Auth Web (SBC Auth) do this.

    Do we want a test ticket (specifically for Riyaz)?

    I believe this is referring to testing the availability of only specific features in Test. This could also refer to "smoke testing" in Prod that the desired features are enabled (and no more).

    Tickets have been created -- see below. These tickets could be for Riyaz only, or we could make this testing a team activity -- up to Olga to decide.

    Create ticket(s) for next steps

    1. Feature Flags: set LaunchDarkly variations for directed launch
    2. Feature Flags: set LEAR Prod variations for directed launch not needed
    3. Testing: verify feature-flagged features in Test
    4. Testing: smoke-test some FF in Prod

    Open questions

    1. SBC Auth PO to confirm that we will only add BC, CC and ULC to sbc-auth::allowable-business-search-types (ie, not all business types)
    2. SBC Auth PO to confirm that we will only add BC, CC and ULC to sbc-auth::ia-supported-entities (ie, not all business types)
    3. SBC Auth PO to confirm that we will only add BC, CC and ULC to sbc-auth::allowable-business-passcode-types (ie, not all business types)
  6. changed the title [-][SPIKE] Plan for FF updates for the soft launch[/-] [+][SPIKE] Plan for FF updates for the directed launch[/+] on Nov 8, 2024
  7. severinbeauvais commented on Nov 8, 2024

    @severinbeauvais
    Collaborator

    @OlgaPotiagalova @Mihai-QuickSilverDev For your review (and responses), please and thanks!

    @riyazuddinsyed @seeker25 @sameer0422 @fareenr FYI!

  8. seeker25 commented on Nov 8, 2024

    @seeker25
    Contributor

    Thanks Severin for looking into this

  9. deleted a comment from OlgaPotiagalova on Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions