Skip to content

Conversation

@hdonnay
Copy link
Member

@hdonnay hdonnay commented Jan 5, 2026

This adds a different API to the toolkit/events package that
forwards to a slog.Handler extracted from a context.Context. This
deprecates the (unused) Group/Sink/Event architecture in favor of
a much simpler facade.

The end goal of this addition is to allow claircore components to emit
events into a separate per-request (whatever that means) event stream.
Review on CodeApprove

This adds a different API to the `toolkit/events` package that
forwards to a `slog.Handler` extracted from a `context.Context`. This
deprecates the (unused) `Group`/`Sink`/`Event` architecture in favor of
a much simpler facade.

The end goal of this addition is to allow claircore components to emit
events into a separate per-request (whatever that means) event stream.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay requested a review from a team as a code owner January 5, 2026 20:09
@hdonnay hdonnay requested review from crozzy and removed request for a team January 5, 2026 20:09
Copy link
Contributor

@crozzy crozzy left a comment

Choose a reason for hiding this comment

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

SGTM

@hdonnay
Copy link
Member Author

hdonnay commented Jan 6, 2026

/fast-forward

@github-actions github-actions bot merged commit f992bec into quay:main Jan 6, 2026
7 checks passed
@hdonnay hdonnay deleted the hack/toolkit-events branch January 6, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants