Commit Graph

3 Commits

Author SHA1 Message Date
alt-glitch
248337d39e test: guards that scan a package by name scan where it lives now
After a move the old folder holds only generated forwarders (tools/ held 6 files), so these scans
passed on next to nothing. Scan roots go through current_path; allow-lists, exempt trees and the
config-module pattern keep old keys and judge a file by original_path.
2026-11-13 20:47:05 +00:00
alt-glitch
483e58c50b fix(boundary-lint): scan plugins and core packages where they live now, and fail on nothing to scan
The module and core scans joined old names to the root (root / "plugins", root / top), so once
plugins/ or a core package moves both directions count 0 and the lint exits 0. Scan roots and the
in-module lookup go through current_path (targets through original_module), a missing plugins/
or an empty core scan exits 2, and a file reached under two package names is scanned once.
2026-11-13 20:47:04 +00:00
alt-glitch
e8d908b1c9 fix(ci): guards fail instead of passing when they cannot see a change
Three guards could report success while they checked nothing:

- The public-surface check listed only modified files, so a moved
  file (git reports a rename) was never compared. It now pairs each
  renamed file with its old path, and treats src/hermes_agent/ as
  source.
- The change classifier read file names from the compare API, which
  stops at 300 files without saying so and drops the old path of a
  rename. A list at the cap now runs every lane, and a rename counts
  under both of its paths.
- Tree guards skipped a scan root that did not exist. The config
  reader and writer checks, the subprocess stdin check and two guard
  tests now fail when a root they scan is missing.
2026-11-06 23:02:54 -05:00