Skip to content

Initialize Flipper module state while loading#1008

Open
jnunemaker wants to merge 1 commit into
mainfrom
fix-racy-configuration-init
Open

Initialize Flipper module state while loading#1008
jnunemaker wants to merge 1 commit into
mainfrom
fix-racy-configuration-init

Conversation

@jnunemaker

Copy link
Copy Markdown
Collaborator

Flipper now initializes its memoized module state during library load, before parallel boot paths can race on first access. This covers the configuration and group registry singletons while Ruby's require/autoload lock is still serializing the feature load.

Validation: bundle exec rspec spec/flipper_spec.rb and bundle exec rspec spec/flipper/engine_spec.rb both pass.


Compound Engineering
Codex_GPT--5

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.

1 participant