Commit 00f11de
Fix uquery owner behavior around package boudary violations outside of allowlist
Summary:
This diff fixes the `uquery` owner behavior for package boundary violations outside of the allowlist in Buck2. Previously, uquery owner would only look up all parent packages if source file lives in package boundary exception allowlist buckconfig. However, with buck2, we no longer enforce this allowlist, so in order to return all owners of a source file, we should always check all parent packages for owning targets.
Posted here: https://fb.workplace.com/groups/buck2dev/permalink/4249680261986680/
Differential Revision: D92361150
fbshipit-source-id: 1e46885a1044acdc2a919ffef18b38c7365923031 parent 81b1e03 commit 00f11de
File tree
2 files changed
+7
-30
lines changed- app/buck2_query_impls/src
- tests/core/query/uquery
2 files changed
+7
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
291 | 288 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 289 | + | |
| 290 | + | |
304 | 291 | | |
305 | 292 | | |
306 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
| |||
0 commit comments