Skip to content

Move feature flag initialization logic out of lib.rs.#11380

Merged
vorporeal merged 1 commit into
masterfrom
david/move-feature-flag-init-to-submodule
May 20, 2026
Merged

Move feature flag initialization logic out of lib.rs.#11380
vorporeal merged 1 commit into
masterfrom
david/move-feature-flag-init-to-submodule

Conversation

@vorporeal
Copy link
Copy Markdown
Contributor

@vorporeal vorporeal commented May 20, 2026

Description

Trying to do a little codebase clean-up. We've got way too much stuff in app/src/lib.rs, which should probably be mostly (if not only?) module definitions, plus perhaps a couple public re-exports (for integration tests and such).

We already have a warp::features module (which is where the feature flags used ot be) - seems like a good place for init_feature_flags().

@cla-bot cla-bot Bot added the cla-signed label May 20, 2026
@vorporeal vorporeal requested a review from bnavetta May 20, 2026 03:35
Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vorporeal vorporeal marked this pull request as ready for review May 20, 2026 03:37
@vorporeal vorporeal enabled auto-merge (squash) May 20, 2026 03:38
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 20, 2026

@vorporeal

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR moves feature flag initialization helpers from app/src/lib.rs into the existing warp::features module and updates the in-crate call sites to use features::init_feature_flags().

Concerns

No blocking concerns found. No approved spec context was provided, so this review is limited to the attached diff plus correctness and security checks.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@bnavetta bnavetta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! We should update the /promote-feature skill and any others that reference feature flags

@vorporeal vorporeal merged commit fdd7492 into master May 20, 2026
48 checks passed
@vorporeal vorporeal deleted the david/move-feature-flag-init-to-submodule branch May 20, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants