mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:50:13 +01:00
This is trying to reduce how much we run tidy over due to poor performance of tidy. It's opening the door for issues where a header file is modified in a way that introduces tidy issues in a different target. However, that's not the typical tidy issue we see. There may also be a risk where a source file indirectly becomes a source file for a target in a way that `same_pkg_direct_rdeps` doesn't return, but I'm not sure that's applicable for how we use targets. An example of this locating a diagnostic error can be found in the "Add tidy issue" commit's run (which I cancelled before it finished running, but note the error): https://github.com/carbon-language/carbon-lang/actions/runs/13932649182/job/38993348130?pr=5144