Skip to content

fix(config): harden provide strategy parsing#11245

Draft
lidel wants to merge 1 commit intomasterfrom
feat/provide-entity-roots-with-dedup
Draft

fix(config): harden provide strategy parsing#11245
lidel wants to merge 1 commit intomasterfrom
feat/provide-entity-roots-with-dedup

Conversation

@lidel
Copy link
Member

@lidel lidel commented Mar 20, 2026

Warning

not ready for review, this is a sandbox for running CI

- config: ParseProvideStrategy returns error, rejects "all" mixed with
  selective strategies, removes dead strategy==0 check
- config: add MustParseProvideStrategy for pre-validated call sites
- config: ValidateProvideConfig validates strategy at startup
- config: ShouldProvideForStrategy uses bitmask check for ProvideStrategyAll
- core/node: downstream callers use MustParseProvideStrategy
- core/node: fix Pinning() nil return that caused fx.Provide panic
@lidel lidel force-pushed the feat/provide-entity-roots-with-dedup branch from 8d8d18c to 420b111 Compare March 20, 2026 18:40
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