Skip to content

Commit

Permalink
Debug info to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjudd committed Nov 12, 2024
1 parent 3704408 commit 4001ea6
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@ object DepsRunner extends WorkerMain[Unit] {
} else {
Nil
}
if (!labelsToRemove.isEmpty) {
workRequest.directDepLabels
.diff(workRequest.usedDepWhitelist)
.map { label =>
out.println(s"label: ${label} pathsForLabel: ${pathsForLabel(label)}")
}
out.println(
s"labelsToRemove: ${labelsToRemove}." +
s"\nusedDepWhiteList: ${workRequest.usedDepWhitelist}" +
s"\nusedPaths: ${usedPaths}",
)
}
labelsToRemove.foreach { depLabel =>
out.println(s"Target '$depLabel' not used, please remove it from the deps.")
out.println(s"You can use the following buildozer command:")
Expand Down

0 comments on commit 4001ea6

Please sign in to comment.