mirror of https://github.com/coder/coder.git
92b2e26a48
When we exceed the db-imposed limit of logs, we need to communicate that back to the agent. In v1 we did it with a 4xx-level HTTP status, but with dRPC, the errors are delivered as strings, which feels fragile to me for something we want to gracefully handle. So, this PR adds the log limit exceeded as a field on the response message, and fixes the API handler to set it as appropriate instead of an error. |
||
---|---|---|
.. | ||
agent.pb.go | ||
agent.proto | ||
agent_drpc.pb.go | ||
compare.go | ||
compare_test.go | ||
version.go |