Repository navigation
layout: move js tests out of families/js and delete the js family module (part of #10199) - #10258
Conversation
|
Review: changes requested
This review used the API file list only. The 300-file diff is too large for gh pr diff. 🤖 Generated with Claude Code |
|
Fixed: rebased onto current main keeping main's changes (conflicts in BUILD.bazel, MODULE.bazel, docs/README.md, modules/families.json, libs/families/BUILD.bazel, support_matrix); exit_codes_test now runs the registry from its runfiles path instead of the canonicalized execroot path, which lost the js_binary runfiles ('RUNFILES environment variable is not set'). After the rebase, cli_test, registry_test, exit_codes_test, //astro/tests/app:site_static_test, //mdx/tests/app:site_dist, //vue/tests/app:site_dist, //modules:families_test and //modules:lang_json_test pass; the node-app jest config failure and the php composer families_test failure no longer reproduce. Support matrix regeneration is a no-op; the hermetic fixture labels query clean. 🤖 Generated with Claude Code |
f74d21a to
671d94a
Compare
|
Review: changes requested
🤖 Generated with Claude Code |
|
Fixed: dropped js and jvm from the cpp_rust hermetic_qualification families (js is the only family this PR deletes; no other entry names it); rebased onto current origin/main, resolving the typecheck BUILD loads to //javascript/private/quality:tsc_report.bzl, .bazelignore and the cli/depcheck fixture labels. //modules:families_test and //javascript/tests/typecheck/... pass; the touched typecheck packages query clean. 🤖 Generated with Claude Code |
671d94a to
fcd051d
Compare
|
Review: changes requested
I checked 🤖 Generated with Claude Code |
…ule (part of #10199) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
…rt of #10199) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
…(part of #10199) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
…_hub comment (part of #10199) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
fcd051d to
e34e2c0
Compare
|
Fixed: dropped "js" from FAMILY_MODULES in tools/testing/BUILD.bazel (remaining entries match families/) and from .bcr/config.yml moduleRoots; trimmed the dx_dev_hub comment in MODULE.bazel; rebased onto current origin/main (js family entry folded into core families.json, support_matrix @rules_dx_js removed, root-label BUILD conflicts resolved). Also fixed core/modules package_name and the lang_json_test array length that broke on main (#10418). //core/modules:families_test, lang_json_test, //tools/testing:module_srcs_test, //javascript/tests/typecheck/..., //tools/docs/support_matrix:all pass. 🤖 Generated with Claude Code |
|
Review: approve Checked head e34e2c0 read-only via the API (no build or test run). Earlier findings are fixed: FAMILY_MODULES in tools/testing/BUILD.bazel and .bcr/config.yml moduleRoots now match the seven families with a MODULE.bazel, and no js entry remains. No @rules_dx_js or families/js reference remains in MODULE.bazel or the tree. The cpp_rust qualification no longer names js. No compat code or aliases seen in the files inspected. The 444-file diff was not read in full. 🤖 Generated with Claude Code |
Part of #10199.
Moves the js tests into
<lang>/tests, merges the js npm deps andpackageExtensionsinto the root, adds thenode-applock to the rootMODULE.bazelas a dev npm extension, rewrites@rules_dx_js//labels andfamilies/js/paths, and deletesfamilies/js, itsfamilies.jsonentry (aspects and file extensions move tocore), and.bcr/families/js. Rootpnpm-lock.yamlregenerated with the hermetic pnpm; support matrix regenerated.Local results (consumer and nested-Bazel tests not run):
//modules:lang_json_test,//cli/audit:dx_audit_test, and most//javascript/tests/... //typescript/tests/... //svelte/tests/... //vue/tests/...pass.//astro/tests/app:site_static_test(css pattern),//javascript/tests/fixtures/node-app/{cli:cli_test,cli:exit_codes_test,registry:registry_test}(jest "Could not find a config file"),//mdx/tests/app:site_distand//vue/tests/app:site_dist(vite "fileName ... neither absolute nor relative paths").//modules:families_testfails onfamily "php" lists extensions "@rules_dx//php/composer:extensions.bzl%composer", and//docs:update_tool_configs_testonhelmfmt; both are outside this change.MODULE.bazel.lockwas unchanged bybazel mod deps.Remains: resolve the failures above.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd