Repository navigation
Added wakeup sources to cf-reactor - #6452
Draft
nickanderson wants to merge 8 commits into
Draft
nickanderson wants to merge 8 commits into
nickanderson wants to merge 8 commits into
Conversation
|
Thanks for submitting a PR! Maybe @larsewi can review this? |
nickanderson
force-pushed
the
cf-reactor-watch-methods
branch
5 times, most recently
from
November 1, 2026 02:56
97c8808 to
9bf50d9
Compare
Member
Author
|
@cf-bottom jenkins please |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/14968/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-14968/ |
nickanderson
force-pushed
the
cf-reactor-watch-methods
branch
from
November 1, 2026 03:02
9bf50d9 to
03066ee
Compare
Stepping the system clock back postponed every watcher check by the size of the step. Ticket: TBD Changelog: Title
Ticket: TBD Changelog: None
The new wakeup_sources attribute of when bodies lists, in order of preference, how a watcher is woken up before its interval. The methods other than polling are provided by the Enterprise extension; without it, cf-reactor polls. Polling at the interval continues underneath every method. Without wakeup_sources, the first available method is used. Ticket: TBD Changelog: Title
Without these, a confined cf-reactor falls back to polling. Changelog: None Ticket: TBD
…dows A file in a directory opened without sharing no longer looks deleted, a watcher whose check fails is kept and checked again within a second, and \\?\ prefixes and trailing separators are stripped before checking. Changelog: None Ticket: TBD
Changelog: None Ticket: TBD
Changelog: None Ticket: TBD
Changelog: None Ticket: TBD
nickanderson
force-pushed
the
cf-reactor-watch-methods
branch
from
November 1, 2026 05:50
03066ee to
0b49892
Compare
Member
Author
|
@cf-bottom jenkins please |
|
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/14969/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-14969/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets cf-reactor wake a watcher as soon as its file changes instead of waiting for the next poll.
Merge together:
#6452
https://github.com/cfengine/enterprise/pull/1025
https://github.com/cfengine/nova/pull/2745
cfengine/buildscripts#2594