Skip to content

Split the run file into one module per class family #119

Closed

Description

@jtklein-agents

Parent

#118

What to build

Prefactor for the MobX work, and an amendment to the spec's order of steps: the spec does not mention moving classes. The 24 option classes that live beside the run today move out into a module of their own, so that the run and the run's options can be covered, rewritten and converted in separate tickets without editing the same file. The person using raxmlGUI notices nothing.

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

Acceptance criteria

  • The run's option classes (the Option and tree-file subclasses declared beside the run) live in their own module or modules; the run is the only class left in its module.
  • The module-level constants those option classes read (the binaries list, the analysis option lists, the CPU count and the like) move with them. The run imports what it needs from the options' module; the options' module never imports the run's module.
  • The move is pure: no member is added, removed, renamed or rewritten, and every decorator stays as it is.
  • No circular import exists between page store modules after the move.
  • Every importer, and every source-scan test that opens a moved class's file, points at the new module.
  • Each typecheck baseline entry whose file path changes is rewritten in this change; no new diagnostic is sheltered.
  • 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