-
Notifications
You must be signed in to change notification settings - Fork 889
chore: move LogSender to agentsdk #12158
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @spikecurtis and the rest of your teammates on |
codersdk/agentsdk/logs.go
Outdated
pl, err := ProtoFromLog(log) | ||
if err != nil { | ||
logger.Critical(context.Background(), "failed to convert log", slog.Error(err)) | ||
return |
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.
Echo from review of previous PR:
return | |
continue |
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.
I changed this to drop **Coder Internal Error**: Failed to convert log
into the logs stream, so it's super obvious there is a big problem.
2a2203e
to
900e32a
Compare
Moves the LogSender to agentsdk and deprecates LogsSender based on the v1 API.