Skip to content

Unfence timer_policy example (follow-up to #3682)#3730

Merged
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:CFE-4681/unfence-timer-policy
Jul 8, 2026
Merged

Unfence timer_policy example (follow-up to #3682)#3730
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:CFE-4681/unfence-timer-policy

Conversation

@nickanderson

Copy link
Copy Markdown
Member

Summary

Follow-up to #3682: removes the {skip TODO} fence from the timer_policy example in content/reference/promise-types/classes.markdown.

Why

#3682 fenced the example ```cf3 {skip TODO} because the cfengine CLI's bundled syntax-description.json did not yet know timer_policy on classes: promises, so cfengine dev lint-docs rejected it. As of cfengine CLI 0.18.0 that syntax snapshot includes the attribute, so the fence is no longer needed. Dropping it means the example is syntax-checked and reformatted like every other block.

Verified locally with cfengine CLI 0.18.0: cfengine format --check, cfengine dev format-docs (idempotent, clean git diff), and cfengine dev lint-docs (block now reports PASS) all succeed.

The 3.24 (#3728) and 3.27 (#3729) backports already carry this change.

cfengine CLI 0.18.0 ships a syntax-description.json that includes timer_policy on classes: promises, so the example no longer needs the {skip TODO} fence to pass cfengine dev lint-docs. Dropping it means the example is syntax-checked like the others. Follow-up to cfengine#3682 (merged with the fence).
@nickanderson nickanderson merged commit b6a1308 into cfengine:master Jul 8, 2026
2 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.

1 participant