daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
6.87k stars 745 forks source link

Appropriately handle missing logs error #696

Open Tpuljak opened 2 weeks ago

Tpuljak commented 2 weeks ago

Is your feature request related to a problem? Please describe. When the workspace creation request is submitted to the server, the server logs a few errors regarding to missing workspace/project logs. The CLI retries the endpoint until the logs become available so this does not present a usage issue but a UX one.

Describe the solution you'd like We should find a solution that suppresses these logs so the user is not concerned with them.

nkkko commented 1 week ago

Is this the manifestation of the problem mentioned here:

ERRO[1272] API ERROR                                     URI="/log/workspace/130f2a5df128?follow=true" error="Error #01: open /Users/nikola/Library/Application Support/daytona/server/logs/130f2a5df128/log: no such file or directory\n" latency="228.125µs" method=GET status=500
Tpuljak commented 1 week ago

Is this the manifestation of the problem mentioned here:

Exactly.