Skip to content

Conversation

@jgallagher
Copy link
Contributor

UnstableReconfiguratorStates constructed from real systems always supplied a target blueprint, because real systems are required to always have one. We'd kept this as optional to allow for reconfigurator-cli's simulated system to not have a blueprint at all, but I'd like to make other changes related to the PlanningInput that trip over this difference.

This PR addresses the simulator side by having it claim to have a blueprint with the nil ID and containing nothing any time it's asked for the current list of blueprints or current target blueprint and one hasn't otherwise been set (i.e., by loading an example system or an existing serialized state).

(Staged on top of #9417)

Base automatically changed from john/blueprint-builder-no-planning-input to main November 21, 2025 16:40
`UnstableReconfiguratorState`s constructed from real systems always
supplied a target blueprint, because real systems are required to always
have one. We'd kept this as optional to allow for `reconfigurator-cli`'s
simulated system to not have a blueprint at all, but I'd like to make
other changes related to the `PlanningInput` that trip over this
difference.

This PR addresses the simulator side by having it claim to have a
blueprint with the nil ID and containing nothing any time it's asked for
the current list of blueprints or current target blueprint and one
hasn't otherwise been set (i.e., by loading an example system or an
existing serialized state).
@jgallagher jgallagher force-pushed the john/unstable-state-always-has-a-target branch from 00f12bb to 4866fa8 Compare November 21, 2025 16:44
@jgallagher jgallagher merged commit f8410bf into main Nov 21, 2025
16 checks passed
@jgallagher jgallagher deleted the john/unstable-state-always-has-a-target branch November 21, 2025 20:12
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.

3 participants