Skip to content

ENT-14766: Prepared cf-reactor event types for package events - #6451

Merged
larsewi merged 3 commits into
cfengine:masterfrom
larsewi:reactor-event-types
Oct 30, 2026
Merged

larsewi merged 3 commits into
cfengine:masterfrom
larsewi:reactor-event-types

Conversation

@larsewi

@larsewi larsewi commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Prepares cf-reactor event types for the upcoming package events. These need the EvalContext to look up the package module, an optional package_module attribute in the when body, and a state constructor that can fail on an unknown module. No behavior change for the existing file events.

Whichever of this and #6446 merges second needs to add the ctx parameter to UserWatcherStateNew().

Generated with Claude Code

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
…be created

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@olehermanse

Copy link
Copy Markdown
Member

@cf-bottom jenkins

@cf-bottom

Copy link
Copy Markdown

@larsewi
larsewi merged commit 97f0547 into cfengine:master Oct 30, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants