Skip to content

Conversation

@olehermanse
Copy link
Member

No description provided.

@olehermanse
Copy link
Member Author

@cf-bottom jenkins

@cf-bottom
Copy link

Copy link
Member

@nickanderson nickanderson left a comment

Choose a reason for hiding this comment

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

Suggestion for Moduie -> Module and I aslo just thoguht about the limit on execution, cfengine requires the policy files its reading to not be writeable by anyone but the owner (this is only enforced at the mode level afaik, you can bypass it with acls).


- When strings get excessively long, everything you do with them takes a long time.
To test this and give some kind of idea: parsing and storing a ~3MB string in a variable took 25 seconds on the author's laptop.
- If you want to include these variables in reporting data, they will be truncated.
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you try this? If I remember correctly they will be skipped (i.e., not reported at all).

Copy link
Member Author

@olehermanse olehermanse Nov 3, 2025

Choose a reason for hiding this comment

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

No, please try it when you have a chance. (IMO it is a bug if they are skipped).

Copy link
Contributor

Choose a reason for hiding this comment

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

Tested it, it gets truncated, not skipped

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse
Copy link
Member Author

@cf-bottom Please build this in Jenkins.

@cf-bottom
Copy link

@olehermanse olehermanse merged commit 3643bfc into cfengine:master Nov 3, 2025
2 checks passed
@olehermanse olehermanse deleted the limits branch November 3, 2025 13:10
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