Skip to content

patchwork: derive check context field from CI job name#33

Merged
theihor merged 1 commit intomainfrom
check-context-slug
Dec 16, 2025
Merged

patchwork: derive check context field from CI job name#33
theihor merged 1 commit intomainfrom
check-context-slug

Conversation

@theihor
Copy link
Contributor

@theihor theihor commented Dec 15, 2025

Currently for BPF CI the "context" field of a checks is effectively a constant with enumerator, for example:

bpf/vmtest-bpf-next-VM_Test-48

This has an undesirable side-effect: different checks (such as "AI review" vs "test_progs") may overwrite each other, depending on when they run: for every PR update or for every new revision of the series.

Change how the context identifier is constructed: slugify the job name, so that the check is associated with a job, independent of the order or run time.

Currently for BPF CI the "context" field of a checks is effectively a
constant with enumerator, for example:

    bpf/vmtest-bpf-next-VM_Test-48

This has an undesirable side-effect: different checks (such as "AI
review" vs "test_progs") may overwrite each other, depending on when
they run: for every PR update or for every new revision of the series.

Change how the context identifier is constructed: slugify the job
name, so that the check is associated with a job, independent of the
order or run time.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
@theihor theihor requested a review from danielocfb December 15, 2025 23:42
Copy link

@danielocfb danielocfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very familiar with these code paths, but patch seems fine to me; thanks.

@theihor theihor merged commit 8f39ca1 into main Dec 16, 2025
5 checks passed
@theihor theihor deleted the check-context-slug branch December 16, 2025 05:54
Sign up for free to 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.

2 participants