Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Make it more clear when src-cli freezes because docker is unresponsive #44432

@eseliger

Description

@eseliger

Midway through an execution, the docker daemon seems to become unresponsive at some point occasionally.
Users would usually be confused, wait for quite an additional while, and then often reach out to get support why their execution is stuck. 99% of these requests seem to just be docker locking up, so we should tackle this problem and give users proper insight why things are stuck, so they know how to get unstuck.

What we want to do here:

  • We add a watchdog that is running while an execution is ongoing, to check if docker is becoming unresponsive (docker ps is known to hang, for example)
  • If that watchdog triggers, we show an additional banner in the src-cli output, next to the execution saying some nice messaging about "hey docker might be stuck, if no progress is made, restart docker and and maybe try reducing concurrency with -j

Metadata

Metadata

Assignees

Labels

batch-changesIssues related to Batch Changesstrategic-ready/very-highWork needed to be Strategic ready, with priority very high

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions