Skip to content

Fix out-of-action writes in the run #144

Closed

Description

@jtklein-agents

Parent

#118

What to build

The page store will run under MobX's default action enforcement with no configure call, so every write to observable state outside an action is fixed first, on MobX 5, where it can be judged on its own. This ticket fixes the writes in the run's ASTRAL start and the run's partition-file loader (two writes after an await).

Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.

Acceptance criteria

  • Each of the two members either is an action or wraps the writes that follow an await in runInAction.
  • Any other out-of-action write found in the run's module (through an alias, or into a nested object) is fixed the same way.
  • The parity baseline gains each member that becomes an action, in this change.
  • No configure call is added and no temporary enforcement setting is used.
  • MobX stays on 5 and the decorators stay.
  • The coverage tests pass unchanged.
  • Jest, lint, the typecheck baseline check and the end-to-end suite pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions