Skip to content

Commit 5a9069e

Browse files
iamirzhanfacebook-github-bot
authored andcommitted
Remove FailureSources predicate
Summary: this predicate is only used from coverage script query, which is removed in previous diff https://fburl.com/scuba/glean_server/4h8fxz5n Reviewed By: malanka Differential Revision: D78086340 fbshipit-source-id: af2c6788d36363e493278c191e41234418505204
1 parent faf1e73 commit 5a9069e

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

glean/schema/source/buck.angle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -375,18 +375,6 @@ predicate LocatorReverseDep :
375375
TargetDependencies { target = { locator = Parent }, dependencies = Deps };
376376
{ target = Child } = Deps[..];
377377

378-
# Try to get sources of buck failures
379-
# Not all of buck failure, will be traceable to source files
380-
# e.g. when BUCK/TARGET file is broken
381-
predicate FailureSources :
382-
{
383-
source : src.File,
384-
error : buck.IndexFailureX,
385-
}
386-
{ Src, Error } where
387-
buck.FileToTarget { source = Src,locator = Locator};
388-
Error = buck.IndexFailureX { source = {locator = Locator}}
389-
390378
type FailureReason = enum {
391379
# config was intentionally skipped
392380
Skipped |

0 commit comments

Comments
 (0)