Skip to content

Conversation

LucilleH
Copy link
Collaborator

Summary

I noticed that a lot of the shell-related functionality have panics and we have no idea if they are happening or not until some reports come in. This is to inform us on the panics and proactively fix issues

How was it tested?

devbox run build
./devbox shell on invalid base shell

@LucilleH LucilleH requested review from savil and loreto December 14, 2022 21:59
@LucilleH LucilleH force-pushed the lucille--shell-fish branch from 9f985e7 to 59e43d1 Compare December 14, 2022 22:13
Copy link
Collaborator

@savil savil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

Could we move sentry.Init to before command-execution in the sshshim code too: https://github.com/jetpack-io/devbox/blob/main/internal/cloud/openssh/sshshim/command.go#L17

(would have to remove sentry.Init from the logSentry function in that file)

@LucilleH LucilleH force-pushed the lucille--shell-fish branch from 809a88c to 571b47d Compare December 14, 2022 23:00
@LucilleH LucilleH merged commit 19a1183 into main Dec 14, 2022
@LucilleH LucilleH deleted the lucille--shell-fish branch December 14, 2022 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants