Repository navigation
quality: runfiles mode on the split command, move JS and python lint tools to split (part of #15405) - #15929
Merged
Conversation
…tools to split (part of #15405) Command carries a runfiles mode (none, own, own_if_present) and quality_exec derives RUNFILES_MANIFEST_FILE or RUNFILES_DIR from the program it spawns through one helper for every host. The plan schema moves to v7. This retires real_core.bzl runfiles_env, ALWAYS_OWN_MANIFEST and launch::policy_for in favour of one table in tool_env.rs. djlint, docstrfmt, eslint, gplint, graphql_eslint, mbake, prettier, remark, stylelint and yamllint now plan through the split engine. eslint_typed_owned stages frameworks/react.mjs, which the shipped frameworks.mjs has imported since #15865.
TrapsterDK
force-pushed
the
split-runfiles
branch
from
December 6, 2026 00:12
9379794 to
ec6508d
Compare
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.
Batch 2, feature E of #15405.
Commandcarries a runfiles mode:none,ownorown_if_present.quality_execbuildsRUNFILES_MANIFEST_FILEorRUNFILES_DIRfor the program it spawns, using one helper (launcher::runfiles_env) on every host. With the manifest-only layout on Windows, the manifest is used. The plan schema moves to v7, and exec and runner change together.real_core.bzlrunfiles_env,ALWAYS_OWN_MANIFESTandlaunch::policy_for/RunfilesPolicy. One table inreal/tool_env.rsnow drives both the full runner and the split plan.split_commands_spawn_what_the_full_runner_spawnsthat compares argv and env, including the runfiles variable.eslint_typed_ownednow stagesframeworks/react.mjs. The shippedframeworks.mjshas imported it since quality: fix review findings for #15842 #15845 (part of #15298) #15865, andreal_result_eslint_typedfailed on 78ddddd because of it.Known failure that this PR does not cause: on 78ddddd,
real_result_vale_asciidoc_dirtyandreal_result_docstrfmt_rst_dirtyfail to build withvale path tool asciidoctor has no split plan/vale path tool rst2html has no split plan. Split vale (#15923) rejects PATH helpers that need runfiles env. I reproduced this on the base commit.Tests:
tools/dx teston the quality runner, exec, adapter, column_units, real_pipeline_unit, real_aspect_presence, real_result_{yamllint_shipped_clean,eslint_typed,sqlfluff_shipped_clean} and 18 matrix targets for the touched families. 31 passed. The only failures were the two vale-dependent targets above.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw5ZsSt78ouJoi3QnQ