hundreds-breakfast-49010
04/03/2020, 8:09 PMhundreds-breakfast-49010
04/03/2020, 8:09 PMhundreds-breakfast-49010
04/03/2020, 8:10 PMaloof-angle-91616
04/03/2020, 8:10 PMaloof-angle-91616
04/03/2020, 8:10 PMaloof-angle-91616
04/03/2020, 8:11 PMwitty-crayon-22786
04/04/2020, 5:09 PMhundreds-father-404
04/04/2020, 5:10 PMhundreds-father-404
04/04/2020, 5:10 PMaloof-angle-91616
04/06/2020, 12:01 AMtracing
crate (https://github.com/tokio-rs/tracing) to make it easier to define v2 workunit spans in rust? we could even spawn a zipkin span for every single method call if we wanted to, as well as every hop across the FFI boundary. the github page has a few examples describing why we might want to do this. the tracing
crate also decouples creating spans and logging those spans, where logging is delegated too a tracing::Subscriber
.
the two parts this needs are:
(1) to port to the tracing
crate, which i've started (a while ago) here: https://github.com/pantsbuild/pants/pull/7395
(2) to implement a tracing::Subscriber
for zipkin, which i've mostly done here: https://github.com/cosmicexplorer/learning-progress-bar/blob/master/zipkin/src/lib.rs, and can upstream in a separate PRhappy-kitchen-89482
04/06/2020, 12:22 AMhundreds-father-404
04/06/2020, 6:03 PM./v2 fmt
is not terminating (or maybe just taking over a minute) in the fmt
stage, meaning after all the formatters have run and write to the build root. It was also taking 100% of my CPU according to top
.
I didn’t notice this on Friday. Maybe the tokio upgrade has something to do with it?early-needle-54791
04/06/2020, 9:05 PMhundreds-father-404
04/06/2020, 9:07 PMwitty-crayon-22786
04/08/2020, 4:07 PMaverage-vr-56795
04/09/2020, 3:33 PMhundreds-father-404
04/09/2020, 9:48 PMDocker
with V2? @wonderful-iron-54019 and I started writing a docker-build
plugin that wraps the command docker build
, and we took the naive approach of assuming that docker
is already installed on the system.
Is that the right approach? We do that already with assuming that /usr/bin/perl
and python
are installed on the system.aloof-angle-91616
04/09/2020, 9:50 PMLocalOnlyProcessExecuteRequest
=> an ExecuteProcessRequest
with env={'PATH': os.environ['PATH']
so that we can be explicit about when we do this and track how many are remaininghundreds-father-404
04/09/2020, 9:53 PMwitty-crayon-22786
04/09/2020, 9:53 PMaloof-angle-91616
04/09/2020, 9:54 PMwitty-crayon-22786
04/09/2020, 9:54 PM@goal_rule
using interactive process.hundreds-father-404
04/09/2020, 9:55 PM@goal_rule
but uses ExecuteProcessRequest
happy-kitchen-89482
04/10/2020, 1:21 AMdocker
binaryhappy-kitchen-89482
04/10/2020, 1:21 AMhappy-kitchen-89482
04/10/2020, 1:22 AMhappy-kitchen-89482
04/10/2020, 1:22 AMaloof-angle-91616
04/10/2020, 1:25 AMaloof-angle-91616
04/10/2020, 1:26 AMhundreds-father-404
04/10/2020, 2:09 AM--ignore-pants-warning
to apply at import time of plugins? Using deprecated_module
on something like contrib/avro/register.py
won’t work with --ignore-pants-warning
because we haven’t yet called logging.py:setup_logging()