FeaturevisorFeaturevisor

Workflow

State files

When you build your datafiles, Featurevisor generates some additional JSON files that are used to keep track of the most recently deployed build of your project. These files are called state files.

Location

They are located in the .featurevisor directory.

You don't have to deal with them directly ever, but they contain valuable rollout information for the next build to maintain consistent bucketing of your users against features.

Committing state files

It is recommended that you keep your state files in the Git repository, but not manually commit them yourself when sending Pull Requests.

We will learn more about it in Deployment.

Restoring state files

If you have already built your datafiles, you can restore the state files to the last known state in Git by running:

$ featurevisor restore

This will only work if the state files already exist in the Git repository.

Previous
Building datafiles