Bug Description
Issue #6196 was previously reported and closed with PRs #6210 and #6201, but the labels
are still not appearing on alerts in Keep.
Root Cause
The fix in the previous PRs added extraction of LABELS from the webhook payload, but
parsed it as a list of strings. AlertDto.labels is typed as dict | None, so passing
a list causes pydantic to silently drop the value — resulting in "labels": {} on every alert.
Fix
Parse the LABELS string (e.g. "env:prod,team:sre") into a dict ({"env": "prod", "team": "sre"}).
This is addressed in PR #6526.
Bug Description
Issue #6196 was previously reported and closed with PRs #6210 and #6201, but the labels
are still not appearing on alerts in Keep.
Root Cause
The fix in the previous PRs added extraction of
LABELSfrom the webhook payload, butparsed it as a
listof strings.AlertDto.labelsis typed asdict | None, so passinga list causes pydantic to silently drop the value — resulting in
"labels": {}on every alert.Fix
Parse the
LABELSstring (e.g."env:prod,team:sre") into a dict ({"env": "prod", "team": "sre"}).This is addressed in PR #6526.