You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cover the run's option and input-file actions on MobX 5 #137
Part of the coverage push that every conversion ticket depends on: tests that pin today's behaviour of the page store on MobX 5, so the later rewrites and the annotation-map conversion are proven against them. This ticket covers the actions of the run class that set options and load or remove input files: alignments, the partition file, trees and constraints, the output directory and name. Lifecycle actions are covered by a sibling ticket.
Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.
Acceptance criteria
Every action of the run that sets an option or loads, toggles or removes an input file runs under jest and has its resulting state asserted.
Each observable field of the run that these actions write has at least one test proving that a computed or reaction in the page store updates when the field changes.
Covered by name: the partition-file loader shows the file's path and content, including the two writes after the read resolves.
The tests assert what a caller of the page store can observe (a computed's value, the state after an action), not how a member is annotated. No panel is rendered.
A test that sets observable state directly does so inside runInAction.
The tests live in a new test file that belongs to this ticket; a renderer bridge stub the tests need is set in that file, not in the shared jest setup.
The tests pass on MobX 5 with the decorators in place. No page store source changes.
No coverage threshold is added to CI.
Jest, lint, the typecheck baseline check and the end-to-end suite pass.
Activity
jtklein-agents commentedon Nov 15, 2026
Merged in #180.