sapling/eden/fs/fuse
Wez Furlong 28f7b4a0b0 eden: show desktop notification for blob/tree fetch errors
Summary:
This commit causes a desktop notification to be shown if we generate
EIO or ETIMEDOUT responses via fuse; the prompt is intended to make it obvious
to the user that they need to connect to the VPN.

The commit by itself doesn't show a notification, it allows configuring a
command that can be run to do something to show a notification.

The test plan includes one such configuration for our corp environment.

* It doesn't trigger for thrift-originated downloads (eg: prefetch), only for
  VFS operations through FUSE.
* Ideally we'd know exactly when we have a network related error in the store
  code and use that to trigger the notification.  However, we have a rather
  convoluted set of importers and fallbacks today, one of which is interpreting
  a generic response returned from a pipe, so it is not especially clear
  exactly where we should locate the logic

Reviewed By: chadaustin

Differential Revision: D17513364

fbshipit-source-id: 45134f3672679cb5580cb0c1bc12a0d6e38525ca
2020-02-10 08:28:49 -08:00
..
fuse_tester rename tracing to telemetry 2019-10-15 13:39:41 -07:00
privhelper fix warnings in the macOS build 2019-12-20 16:14:17 -08:00
test rename tracing to telemetry 2019-10-15 13:39:41 -07:00
BufVec.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BufVec.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
DirList.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
DirList.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Dispatcher.cpp remove the dead FileHandle class 2019-10-18 12:17:43 -07:00
Dispatcher.h ensure fuse capability flags survive graceful restart 2019-12-10 10:25:30 -08:00
FuseChannel.cpp eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
FuseChannel.h eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
FuseTypes.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeNumber.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeNumber.h Replace Folly Format with fmt in logger to reduce binary size 2019-11-18 05:53:08 -08:00
PollHandle.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PollHandle.h Tidy up license headers 2019-10-11 05:28:23 -07:00
RequestData.cpp eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
RequestData.h eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00