witty-crayon-22786
06/14/2021, 5:00 PMwitty-crayon-22786
06/14/2021, 5:04 PMhundreds-father-404
06/14/2021, 5:04 PMwitty-crayon-22786
06/14/2021, 5:09 PMwitty-crayon-22786
06/14/2021, 5:09 PMhundreds-father-404
06/14/2021, 5:10 PMwitty-crayon-22786
06/14/2021, 5:12 PMwitty-crayon-22786
06/14/2021, 5:12 PMhundreds-father-404
06/14/2021, 5:17 PMwitty-crayon-22786
06/14/2021, 5:17 PMhundreds-father-404
06/14/2021, 6:26 PM./pants --stats-log --no-remote-cache-read --no-process-execution-local-cache --no-pantsd lint src/python/pants/util/strutil.py
against a remote cache server with intentional slowdown of remote cache writes
diff --git a/src/rust/engine/workunit_store/src/lib.rs b/src/rust/engine/workunit_store/src/lib.rs
index 3d56e8947..6b61d1c87 100644
--- a/src/rust/engine/workunit_store/src/lib.rs
+++ b/src/rust/engine/workunit_store/src/lib.rs
@@ -864,6 +864,7 @@ impl Drop for RunningWorkunit {
fn drop(&mut self) {
if let Some(workunit) = self.workunit.take() {
+ panic!("Dropped! {:?}", workunit);
self.store.cancel_workunit(workunit);
}
}
}
witty-crayon-22786
06/14/2021, 6:27 PMwitty-crayon-22786
06/14/2021, 6:28 PM.pants.d/pants.log
… would maybe want to add some special cased logging instead or something.witty-crayon-22786
06/14/2021, 6:28 PMhundreds-father-404
06/14/2021, 7:36 PMfast-nail-55400
06/14/2021, 8:22 PM