- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.2k
pkg/terminal: allow custom starlark commands to be used in on prefix #4170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/terminal: allow custom starlark commands to be used in on prefix #4170
Conversation
25cddf2    to
    d544789      
    Compare
  
    | PS. if we constrain the things that an  | 
| 
 PPS. Thinking more about this having a reduced server-side version of the starlark interpreter that can only call a small subset of our API (eval, stacktraces, goroutine lists...) could be useful. | 
| 
 Yeah, I had this thought originally too. This was simpler, but also I think it's a useful feature outside the original request. | 
| Marking as draft as there is an edge case I thought of that I'd like to fix before another review. | 
| Alright, updated to handle more situations explicitly. The flow now is: 
 The code handles multiple layers of this invalidation logic by maintaining a stack of booleans on the  One caveat that still remains is  | 
d0b4e7f    to
    a1d65fc      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #4160