Repository navigation
Remove dead tools scripts and skip CI for dev-only tool paths - #550
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.
Summary
Remove 19 scripts under
tools/that nothing calls, and stop CI from running for changes that cannot affect the build.Removed (each ran or was read first; the repo had no referrer, or the epic it served is closed)
tools/hoist_diff.php,tools/prof/{kindfreq,leakprobe,basetemp,strtemp,census,array_alias_borrow,array_alias_copy,null_seed_array_copy,rcunmatched,nested_prop}.php,tools/prof/{fastcase,live_stacks}.sh,tools/audit/{cap_run,requirements,triage}.php.tools/w4_repros.sh(tests/aot/repro/w4/is gone),tools/fuzz.sh+tools/fuzz_gen.php(superseded bytests/parser/fuzz.sh). Dangling references indocs/design/value-channels.mdandtests/aot/repro/README.mdupdated.Kept on purpose (cited from
src/comments, docs, or the audit chain): the rest oftools/prof,tools/audit,fiber_ceiling.*,offload_bench.php,libclass_smoke.sh,ext_smoke.sh,cellguard_scan.sh,ownflow_*, and every script the gate,bin/buildor a workflow calls.CI
tools/prof/**,tools/audit/**,tools/bench/**and the dev-only scripts nothing in CI,gate.sh,run_tests.sh,bin/buildortests/**/run.shcalls are added topaths-ignoreofci.yml(push and pull_request) and to thepaths:list ofci-docs-only.yml, so a PR that touches only those paths still gets the required check names reported green. A change todifftest.sh,gate.sh,install_smoke.sh,check_version.sh,fetch_bootstrap.sh, theselfhost*scripts,link_stubs.sh,librefpack_smoke.sh,libsuperglobal_smoke.sh,lib/limit.shortools/docker/**still runs the full pipeline. A new script undertools/runs CI until it is added to the list; the header comment says so.The
ci.ymldiff is the header comment and the twopaths-ignorelists; the jobs section is untouched, so it merges cleanly with #546.Testing
actionlintclean onci.ymlandci-docs-only.yml.paths-ignorerule (skipped only when every changed file matches), not yet exercised. This PR touchestools/files that are removed, which are ignored, plus.github/workflows/*, which is not, so it will run the full CI.