Repository navigation
Characterize what the batch scripts run, as the README describes it - #52
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Self-review rubric (anchor:
Judgment call:
Verdict: ready to merge. This review was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
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.
Summary
tests/test_batch_scripts.pypreviously checked only that the Windows batch scripts useREMrather than#comments (Batch scripts start with '#' lines, which cmd.exe runs as a command #37). Nothing guarded the behaviour that the README documents for them.REMlines and blank lines ignored:up.bat/down.batrun exactly the Compose commands the README gives as their equivalents, includingdown.bat's--volumes, which the README warns deletes Viron's database volumes.create_environments.batdefaults the maximum size to100and reads it from%~1, runs sizes1up to and including the maximum, deletesenvironments.jsonbefore the loop, invokesmain.py <size> --exit-after-createwith stdout appended tooutput.txtand stderr toerror_log.txt, and printsError occurred while running with size <n>.on a non-zero exit status.--exit-after-createtoken the script passes is checked against the literalmain.pycomparesargv[2]with, so renaming the flag on one side only fails the suite.Work selection
A documentation accuracy sweep of
README.mdagainstmain.py,graphik.py,render_window.py,headless_run.py,usage_reporting.pyand the three.batscripts found no drift, so this cycle fell back to test expansion. Every open issue was deferred:Vironsubmodule pointer, which is not changed without explicit authorization.Test plan
python3 -m unittest discover -s tests— 150 tests ran, OK (141 before this change).--volumesremoved fromdown.batand--exit-after-createremoved fromcreate_environments.bat, the two corresponding new tests failed; with the scripts restored, all 10 tests in the file passed.No tracking issue — gap found during triage.
This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson