Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: SessionBuilder makes systems + world immutable during session build + Add a rollback-safe world reset utility #489

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Commits on Nov 12, 2024

  1. fix(stages): Move SystemStages has_started into resource to make startup

    system condition safe for rollback.
    MaxCWhitehead committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    114dce6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d27421 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    956391e View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    793db0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8de69f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8d1058 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4654b58 View commit details
    Browse the repository at this point in the history
  5. fix(sesssions): Store Sessions as shared resource, so not copied in

    snapshots, or imapacted by reset
    MaxCWhitehead committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    2098760 View commit details
    Browse the repository at this point in the history
  6. feat(SystemStages): Use builder pattern for SystemStages to restrict

    mutation of stages after initialization.
    
    Add 'startup resources' captured in system stages, so on init/reset, can
    re-initalize resources. (Also utilized for implementing session builder,
    without direct mutation of World, stores resources from session plugin install.)
    MaxCWhitehead committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bcd0bd5 View commit details
    Browse the repository at this point in the history
  7. chore: Remove exisitng reset_internals impl, systems no longer mutable.

    Is replaced by new reset features.
    MaxCWhitehead committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4d37ad5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3f2d8f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. feat: handle_world_reset can be optionally provided SystemStages to

    immediately startup after reset instead of waiting until next tick.
    MaxCWhitehead committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    437ca6a View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2024

  1. Configuration menu
    Copy the full SHA
    69f9a1b View commit details
    Browse the repository at this point in the history