Skip to content

quality: exec writes the path-tool wrappers, vale converters split (part of #15405) - #15931

Merged
TrapsterDK merged 1 commit into
mainfrom
split-path-tools
Dec 6, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
split-path-tools

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

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".

  • Exec schema v8: Command.path (dirs) becomes Command.path_tools, each with name, binary, leading args and a Runfiles mode from the shared tool_env table.
  • New quality_exec::wrapper holds the one wrapper writer (sh on unix, .cmd on Windows); the full runner calls it too, so the two cannot drift.
  • Plan: planned_path_tools replaces path_dirs. Every path tool now plans, including renamed or arg-carrying ones.
  • Tests: real_result_vale_asciidoc_dirty and real_result_docstrfmt_rst_dirty are the regressions. split_commands_spawn_what_the_full_runner_spawns gains 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

@TrapsterDK
TrapsterDK merged commit 9b2914d into main Dec 6, 2026
0 of 7 checks passed
@TrapsterDK
TrapsterDK deleted the split-path-tools branch December 6, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant