Repository navigation
quality: exec writes the path-tool wrappers, vale converters split (part of #15405) - #15931
Merged
Merged
Conversation
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.
Exec now writes the path-tool wrappers, so a split vale shard no longer rejects PATH helpers that need runfiles. This fixes the main failure "vale path tool asciidoctor/rst2html has no split plan".
Command.path(dirs) becomesCommand.path_tools, each with name, binary, leading args and aRunfilesmode from the shared tool_env table.quality_exec::wrapperholds the one wrapper writer (sh on unix, .cmd on Windows); the full runner calls it too, so the two cannot drift.planned_path_toolsreplacespath_dirs. Every path tool now plans, including renamed or arg-carrying ones.real_result_vale_asciidoc_dirtyandreal_result_docstrfmt_rst_dirtyare the regressions.split_commands_spawn_what_the_full_runner_spawnsgains vale rst2html and vale asciidoctor cases that compare the wrapper files the full runner writes with the ones exec writes. Exec tests cover wrappers on PATH.Not moved: buf (BUF_CACHE_DIR is a made-first scratch dir, needs exec to create dirs, no row yet), bicep (needs H).
Ran:
tools/dx test //core/quality/runner:quality_runner_test //core/quality/exec:quality_exec_test //core/quality/testdata:real_result_vale_asciidoc_dirty //core/quality/testdata:real_result_docstrfmt_rst_dirty -- --keep_going, all pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw5ZsSt78ouJoi3QnQ