witty-crayon-22786
12/06/2021, 10:16 PM-ldebug
+ --loop
got a little bit more interesting in #13559: it now reports which edges were invalidatedwitty-crayon-22786
12/06/2021, 10:17 PM--loop check
looks like:
14:09:56.36 [DEBUG] Dependency DigestFile(testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala) of Some("Snapshot(testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala)") changed.
14:09:56.45 [DEBUG] Dependency Snapshot(testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala) of Some("@rule(pants.engine.internals.graph.hydrate_sources(testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala))") changed.
14:09:56.46 [DEBUG] Dependency @rule(pants.engine.internals.graph.hydrate_sources(testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala)) of Some("@rule(pants.core.util_rules.source_files.determine_source_files())") changed.
14:09:56.46 [DEBUG] Dependency @rule(pants.core.util_rules.source_files.determine_source_files()) of Some("@rule(pants.backend.scala.dependency_inference.scala_parser.analyze_scala_source_dependencies())") changed.
14:09:56.46 [DEBUG] Running Analyzing testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala under semaphore with concurrency id: 5
witty-crayon-22786
12/06/2021, 10:18 PMwitty-crayon-22786
12/06/2021, 10:18 PM14:09:56.46 [DEBUG] Connected to nailgun instance nailgun server for nailgun_server_org.pantsbuild.backend.scala.dependency_inference.ScalaParser at 127.0.0.1:55685...
14:09:56.47 [DEBUG] Completed: Analyzing testprojects/src/jvm/org/pantsbuild/example/app/ExampleApp.scala
witty-crayon-22786
12/06/2021, 10:22 PMDependency X of Y changed
message above source analysis, we can see that early cutoff prevented us from actually re-running the graph calculation rules above the analyzer (since all we did was add a comment)witty-crayon-22786
12/06/2021, 10:38 PM+
sign to the code (for the first time) does trigger symbol remapping, but it’s a false positive: that’s a consumed symbol, rather than a provided symbol. so those two types of analysis should be broken out into separate @rule
outputs most likely. cc @fast-nail-55400, @ancient-vegetable-10556fast-nail-55400
12/06/2021, 10:39 PMfast-nail-55400
12/06/2021, 10:39 PMwitty-crayon-22786
12/06/2021, 10:39 PMwitty-crayon-22786
12/06/2021, 10:40 PM