Skip to content

Remove dead tools scripts and skip CI for dev-only tool paths - #550

Merged
blacktrs merged 3 commits into
mainfrom
chore/prune-tools
Nov 2, 2026
Merged

blacktrs merged 3 commits into
mainfrom
chore/prune-tools

Conversation

@blacktrs

@blacktrs blacktrs commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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)

  • No referrer anywhere: 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.
  • Closed epics: tools/w4_repros.sh (tests/aot/repro/w4/ is gone), tools/fuzz.sh + tools/fuzz_gen.php (superseded by tests/parser/fuzz.sh). Dangling references in docs/design/value-channels.md and tests/aot/repro/README.md updated.

Kept on purpose (cited from src/ comments, docs, or the audit chain): the rest of tools/prof, tools/audit, fiber_ceiling.*, offload_bench.php, libclass_smoke.sh, ext_smoke.sh, cellguard_scan.sh, ownflow_*, and every script the gate, bin/build or a workflow calls.

CI
tools/prof/**, tools/audit/**, tools/bench/** and the dev-only scripts nothing in CI, gate.sh, run_tests.sh, bin/build or tests/**/run.sh calls are added to paths-ignore of ci.yml (push and pull_request) and to the paths: list of ci-docs-only.yml, so a PR that touches only those paths still gets the required check names reported green. A change to difftest.sh, gate.sh, install_smoke.sh, check_version.sh, fetch_bootstrap.sh, the selfhost* scripts, link_stubs.sh, librefpack_smoke.sh, libsuperglobal_smoke.sh, lib/limit.sh or tools/docker/** still runs the full pipeline. A new script under tools/ runs CI until it is added to the list; the header comment says so.

The ci.yml diff is the header comment and the two paths-ignore lists; the jobs section is untouched, so it merges cleanly with #546.

Testing

  • actionlint clean on ci.yml and ci-docs-only.yml.
  • The skip behaviour is reasoned from GitHub's paths-ignore rule (skipped only when every changed file matches), not yet exercised. This PR touches tools/ files that are removed, which are ignored, plus .github/workflows/*, which is not, so it will run the full CI.

@blacktrs
blacktrs merged commit 00ced81 into main Nov 2, 2026
61 of 65 checks passed
@blacktrs
blacktrs deleted the chore/prune-tools branch November 2, 2026 13:06
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