Skip to content

fix(skills): grouping equals needs the labels. prefix - #164

Merged
ysyneu merged 1 commit into
mainfrom
fix/group-equals-card
Aug 25, 2026
Merged

fix(skills): grouping equals needs the labels. prefix#164
ysyneu merged 1 commit into
mainfrom
fix/group-equals-card

Conversation

@ysyneu

Copy link
Copy Markdown
Contributor

The card's own example used equals: [["service","env"]]. Verified against the live API — the server rejects it:

Error: flashduty: equal service is not supported (code InvalidParameter, http 400)

Only title, description and severity may be written bare; every label must carry its labels. prefix — in equals, in i_keys, and in each cases[].equals. [["labels.service","labels.env"]] is accepted and round-trips.

The trap is sharpest right after creating a label through enrichment upsert: the label exists, but to the grouping config it is labels.<name>, never the bare name.

make check-cards green.

The card's own example used `equals: [["service","env"]]`, which the
server rejects with `equal service is not supported` (400). Only
`title`, `description` and `severity` may be written bare; every label
must carry its `labels.` prefix, in `equals`, `i_keys` and each
`cases[].equals`.
The trap is sharpest right after creating a label through
`enrichment upsert`: the label exists, but it is still `labels.<name>`
to the grouping config, never the bare name.
@ysyneu
ysyneu merged commit f643bae into mainAug 25, 2026
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ysyneu