Skip to content

How the test files group into conversion tickets after the swap #294

Closed

Description

@jtklein-agents

Question

After the swap ticket, 66 test files (62 under src/, 4 in e2e/helpers/) and 5 support files in src/test/ convert to TypeScript. The first conversion ticket is fixed: the support files and the bridge helper. How do the rest group into tickets sized for one agent session each: by directory (src/app/store has about 40 files), by what the tests need (bridge users, React-rendering .jsx, main process, shell-config, e2e helpers), or by a file-count cap? Which tickets block which, and which can run in parallel on the spec branch? Which ticket carries the tsconfig.json include and the wider second pass of scripts/typecheck-baseline.js for e2e/?

Activity

  1. added
    wayfinder:grilling
    on Nov 22, 2026
  2. jtklein-agents commented on Nov 22, 2026

    @jtklein-agents
    OwnerAuthor

    Resolution

    Group by what the tests need, about 1,200 lines of test code per ticket at most. After the swap ticket, the spec has ten conversion tickets and one closing ticket. Line counts are from master at 2044cbc.

    # Ticket Files Lines
    1 Support files and bridge helper (src/test/) 5 145
    2 Main-process tests (src/main/) 12 694
    3 Shell-config tests (src/*.test.js) and e2e helper tests (e2e/helpers/) 10 927
    4 Page tests outside the store (src/app/, src/app/components/), including .jsx → .tsx 8 471
    5 Store: alignment 6 1,191
    6 Store: partition 3 906
    7 Store: run computeds, options and input actions 3 1,063
    8 Store: run lifecycle, run list, start and cancel 4 817
    9 Store: substitution, tree, model and input-file options 9 1,063
    10 Store: citation, host, menu and the small bridge-call tests 11 626
    11 Closing ticket n/a n/a

    Store files per ticket (all under src/app/store/, names without .test.js):

    • 5: alignmentStore, AlignmentOptions, finalAlignment, parseAlignment, loadAlignment, writeConcatenatedAlignment
    • 6: Part, Partition, loadPartitionFile
    • 7: Run.computeds, RunSimpleOptions, runInputActions
    • 8: runLifecycle, RunList, startRun, cancelRun
    • 9: substitutionOptions, treeFileOptions, InputFile, modelSelection, OutGroup, Option, astral, loadTree, loadAstralTree
    • 10: citationConfig, pageStoreGaps, host, menu, checkOutputName, selectOutputDir, showItemInFolder, openPath, provideStateReport, readText, version

    Rules

    • Bridge helper adoption: each conversion ticket replaces the direct window.rendererBridge = … assignments in its own files. Ticket 1 does not touch the other tests.
    • Blocking: the swap blocks everything. Ticket 1 blocks tickets 4 to 10. Tickets 2 and 3 depend only on the swap and can run in parallel with ticket 1 and each other. Tickets 4 to 10 touch separate files and can run in parallel once ticket 1 is merged. Ticket 11 is blocked by all the others.
    • e2e typecheck wiring: ticket 3 carries the tsconfig.json include for e2e/helpers/*.test.ts and the wider second pass in scripts/typecheck-baseline.js.
    • Closing ticket: narrows the Vitest include to .ts and .tsx, fixes the "Jest owns *.test.js" comment in e2e/playwright.config.js, and checks the destination's done list.
    • Agent docs: docs/agents/checks.md, AGENTS.md and CODING_STANDARDS.md are kept out of git on the driving dev's clone, so no pull request carries them. The swap ticket's body lists the exact doc edits as a checklist to apply in the main checkout when the swap merges, so the docs describe Vitest before the conversion tickets start.

    Rejected: one ticket per directory, which leaves a single 5,600-line store ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

wayfinder:grilling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions