You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnself.Terminated('abruptly lost active connection to pantsd runner: {!r}{}'.format(
nailgun_error, exception_suffix))
...handles fetching the remote exception after a connection is terminated. But because the PID transmitted on connections no longer changes, this strategy is no longer accurate (and in fact, sending the PID to the client this way may not be useful).
The text was updated successfully, but these errors were encountered:
I agree, if I understood the flow of NailgunError correctly, the pid in the error should always be the same pid as the daemon or None, which makes this code a bit redundant.
That means that in all cases, this code will fetch any exception triggered by the daemon.
Yep. Perhaps we would need to do something like sending a session id, and passing it around as thread local, similar to the logging settings, and the zipkin trace ids? cc @cattibrie, @illicitonion
This code path:
pants/src/python/pants/bin/remote_pants_runner.py
Lines 162 to 181 in 421834c
...handles fetching the remote exception after a connection is terminated. But because the PID transmitted on connections no longer changes, this strategy is no longer accurate (and in fact, sending the PID to the client this way may not be useful).
The text was updated successfully, but these errors were encountered: