Repository navigation
Pin the generated commands for every analysis (#420) - #423
Merged
jtklein-agents merged 1 commit intoNov 27, 2026
Conversation
One table of cases in src/test/commandPins.ts, run by two test files: the host the test setup installs, and a Windows host with C: paths. Each pin builds a real Run and snapshots run.args; run.command and run.settingsFileContent are pinned once per binary. Binaries the host's list lacks (ASTRAL, RAxML-NG on Windows, and a PTHREADS-named RAxML-NG stand-in for the --threads branch) are added to the list by the table. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
jtklein-agents
merged commit Nov 27, 2026
97e7041
into
spec/419-split-command-building-out-of-run-ts
4 checks passed
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #420. Part of #419.
Summary
Command pins for today's
Run: tests only, no production file changes.Each pin builds a real
Run(seed 123, 3 threads, fixed output folder and name, app version 2.0.0) and snapshotsrun.args.Decisions a reviewer should know about:
binariesarray. This also keeps the snapshots identical on ARM, x64 and one-CPU machines.--threadsbranch is unreachable in the shipped app. The flag needsPTHREADSin the binary name andraxml-nghas none. The RAxML-NG full pins use a stand-in binary namedraxml-ng-PTHREADS, so they record a command no shipped binary produces.-t/--tree: with no tree loaded the empty path is dropped and the flag stays. Today's behaviour, pinned as it is.Run.computeds.test.ts(settings file content, command start, raxml-ng/modeltest-ng command,&&joining) partly overlap the pins. The ticket forbids changing other files, so they stay.Evidence
After:
@vitest/coverage-v8was blocked in the implementing session. Branch coverage ofraxmlArgs,raxmlNgArgs,modeltestNgArgs,astralArgs, theargsgetter and thecommandgetter was checked by reading the code, twice (implementer and an independent review that found three missed arms, now covered). To get the figures:package.jsonandyarn.lockare unchanged in this pull request.test:e2ewas not run locally.Merge Danger
Door: two-way
Tests and snapshots only; reverting the commit removes them.
Blast Radius: tests
A later change to a binary version in
RunOptions.ts, or to any generated argument, now fails these snapshots. That is the point for #419; outside that spec it means a deliberatevitest -u.🤖 Generated with Claude Code