glanceapp / glanceapp/glance

Docker Container widget shows overall healthy even if a container in the group is unhealthy

Open
#1,043 0 comments 1 reaction 0 assignees View on GitHub
bug report
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### Description

When grouping multiple containers of a service and one of the child services is in the "unhealthy" state, the overall state of the service is still shown as "OK".

Image

The unhealthy state should be reflected, just like a child container that is not running.

I'm using Glance 0.8.5, installed via docker compose on my home server.

The config for the widget is just this:

```yaml
- name: Home
columns:
- size: small
widgets:
- type: docker-containers
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Docker containers widget with the provided YAML configuration, grouping multiple containers where one is unhealthy and another is running. Trace how the widget calculates the group's overall state; done means an unhealthy child makes the group unhealthy, like a non-running child, while healthy groups remain OK.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.