<#14975 `--changed` may not detect an inferred dep...
# github-notifications
q
#14975 `--changed` may not detect an inferred dependency on a deleted (or malformed) file Issue created by stuhood Although we have yet to see it in production, (EDIT: See #17512) currently dependency inference may prevent
--changed
from finding any dependents of a missing or malformed file. With explicitly specified dependencies in
BUILD
files, removing a file and not also updating the dependent
BUILD
files will cause
BUILD
files to fail to parse. But with dependency inference, unless `[python-infer].unowned_dependency_behavior=error` is set, inference
@rules
will silently not find the source of a symbol. To resolve this, we should probably attempt to bias toward defaulting to warning (and possibly erroring) for unrecognized imports, across all languages. pantsbuild/pants