Skip to content

[RUN-4693] rejectUndeclaredOptions defaults to false (opt-in) - #1962

Closed
ronaveva wants to merge 1 commit into
6.2.1from
RUN-4693-docs-reject-default-false
Closed

[RUN-4693] rejectUndeclaredOptions defaults to false (opt-in)#1962
ronaveva wants to merge 1 commit into
6.2.1from
RUN-4693-docs-reject-default-false

Conversation

@ronaveva

@ronaveva ronaveva commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Follows the product change (rundeck/rundeck#10568) that flips rundeck.execution.rejectUndeclaredOptions to default false (opt-in).

Updates the docs merged earlier (from #1946) so they no longer describe the control as on-by-default:

  • docs/administration/configuration/config-file-reference.md — property default truefalse; reworded to "opt-in, off by default"; removed the "logs a security warning at startup when false" note (that startup warning was removed with the default flip); the retry/jobref scope details now say they apply "when enabled".
  • docs/manual/jobs/job-options.md — the "Reject undeclared options" bullet now describes it as opt-in (=true to reject).

🤖 Generated with Claude Code

The undeclared-option reject control now defaults to off (product change): update
the config reference and the job-options page so they describe it as opt-in
(default false), remove the "default true"/"warns at startup when false" wording,
and note that the retry/jobref scope details apply only when the control is
enabled.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@ronaveva
ronaveva requested review from a team and a lite review from Copilot September 9, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are limited to documentation and consistently align the described defaults/behavior with the stated product change.

Pull request overview

Updates the Rundeck documentation to reflect the product change that makes rundeck.execution.rejectUndeclaredOptions default to false (opt-in), ensuring the option-injection guidance matches current runtime behavior.

Changes:

  • Updates the config reference to show the property default as false and reframes the behavior as opt-in.
  • Removes the previously documented “startup security warning” note and clarifies scope phrasing to apply when enabled.
  • Adjusts the Jobs manual “Reject undeclared options” guidance to instruct explicitly setting ...=true to enforce rejection.
File summaries
File Description
docs/manual/jobs/job-options.md Updates the “Reject undeclared options” bullet to describe opt-in behavior and the required =true setting.
docs/administration/configuration/config-file-reference.md Flips the documented default to false, removes outdated startup-warning language, and clarifies when the scope details apply.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ronaveva ronaveva changed the title RUN-4693: rejectUndeclaredOptions defaults to false (opt-in) [RUN-4693] rejectUndeclaredOptions defaults to false (opt-in) Sep 9, 2026
@ronaveva ronaveva added this to the 6.2.1 milestone Sep 9, 2026
@ronaveva
ronaveva changed the base branch from 4.0.x to 6.2.1 September 9, 2026 20:43
@fdevans fdevans closed this Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants