You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞 CLI continues to run AFTER the Engine stops running #9062
This is particularly problematic when the Engine exits / gets killed and the CLI continues to run. Without an external timeout (e.g. GitHub Actions job timeout), the CLI execution will not terminate.
Furthermore, pressing qonce does not quit the CLI. In other words, the CLI is not able to terminate gracefully when it's no longer connected to the Engine.
Run dagger call docs lint in the dagger/dagger repository
Wait for the module to load & context is uploaded (if the Engine is stopped before, the CLI will exit too)
Now stop the Engine - docker stop works. Killing the Engine has the same effect. I discovered this in a scenario when the Engine was getting killed (still debugging that) and the CLI would continue running & returning level=ERROR msg="failed to emit telemetry" error="failed to upload metrics: context deadline exceeded: retry-able request failure"
Observe a variation of the following state:
Notice that the CLI continues running, even when the Engine is not around and dagger call is unable to continue making progress.
Log output
Note: this particular Engine instance was stopped & started a few times.
changed the title [-]🐞 CLI continues running when the Engine stops running[/-][+]🐞 CLI continues to run AFTER the Engine stops running[/+]on Nov 27, 2024
Activity
[-]🐞 CLI continues running when the Engine stops running[/-][+]🐞 CLI continues to run AFTER the Engine stops running[/+]