solo-io / bumblebee

Get eBPF programs running from the cloud to the kernel in 1 line of bash
Apache License 2.0
1.26k stars 78 forks source link

UI displays an error message when there is a loading error #96

Closed albertlockett closed 1 year ago

albertlockett commented 1 year ago

When the ebpf verifier rejects the program that the user has written, we simply display an empty UI. It's not clear what has happened until the user exits the UI (it gets printed here). We can be more user friendly by displaying the verifier error to the user:

image
albertlockett commented 1 year ago

This is the user experience we currently have

https://user-images.githubusercontent.com/5846846/207603348-f75b0fca-00d1-4b4d-aa6e-fa7456c24aea.mov