Skip to content

[Bug]: VARIANT flag not available on different ref #4200

Description

@lyio

Bug Description

When defining a new variant flag type on a different branch, the flag will not be available to clients.

I attempted to create a new flag on a branch in the Git repo backing my Flipt instance and test the client implementation. I keep getting an error that the flag is unknown. For flags of type BOOLEAN this works without issue, however VARIANT flags seem to be available only when the flag is present on the main branch.

Which major version?

None

Version Info

1.58.1

Search

  • I searched for other open and closed issues before opening this

Steps to Reproduce

  1. Use GitOps backend for Flipt
  2. Create second branch in the backing repository
  3. Create variant feature flag on that branch
  4. Request the flag via evaluate/v1/variant

Expected Behavior

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions