Skip to content

Audit configuration option documentation (EPIC #58112) - #69553

Closed
dwoz wants to merge 1 commit into
saltstack:3008.xfrom
dwoz:dwoz/docs/config-audit-3006x
Closed

dwoz wants to merge 1 commit into
saltstack:3008.xfrom
dwoz:dwoz/docs/config-audit-3006x

Conversation

@dwoz

@dwoz dwoz commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Backport of #69550 to 3006.x. Documentation-only audit for EPIC #58112.

This PR fixes the user-facing documentation for 15 of the 21 enumerated
config-audit issues, plus closes 2 already resolved.

See #69550 for the full table of issues, fixes, and rationale.

Test plan

  • make -C doc html clean
  • make -C doc man clean
  • pytest tests/pytests/unit/config/test_docs_consistency.py → 28 pass
  • pre-commit run --files <changed files> clean

Documentation-only fixes for configuration options the user-facing docs
either missed entirely or described incorrectly. Each fix is exercised by
a dedicated assertion in
tests/pytests/unit/config/test_docs_consistency.py so regressions surface
in CI rather than on the docs site.

Issues closed by this commit:

* Refs saltstack#58112  (EPIC tracking the audit)
* Refs saltstack#59910  fips_mode now has rst directives and example-config entries
               on both master and minion sides
* Refs saltstack#58891  event_match_type is now documented for both daemons, with
               the five valid values (startswith / endswith / find / regex
               / fnmatch) spelled out
* Refs saltstack#66587  state_top_saltenv is now described as a saltenv *fallback*
               that only applies when the minion does not set saltenv
* Refs saltstack#66533  retry_dns and acceptance_wait_time now describe the
               multi-master / failover behavior where acceptance_wait_time
               is reused as the DNS-retry wait
* Refs saltstack#65866  grains.fqdns docstring lists the platforms (Windows /
               proxy / SunOS / AIX / Junos / macOS) on which
               enable_fqdns_grains defaults to False
* Refs saltstack#58893  Removed the stale "XXX: Remove key_logfile support in
               2014.1.0" comment and documented key_logfile on both
               daemons
* Refs saltstack#60732  salt.states.schedule now has a worked example combining
               cron with splay and explains why you want both
* Refs saltstack#60630  salt.states.timezone module docstring no longer
               contradicts itself about utc=True being the default
* Refs saltstack#61963  master_type: str now has a real behavior description
               (multi-master "hot" topology)
* Refs saltstack#60965  worker_threads docs call out syndic-driven load and note
               that low CPU is not a reliable saturation signal here
* Refs saltstack#61293  http_connect_timeout and http_request_timeout are
               distinguished (handshake vs. entire request) and the
               master side now redirects user-facing fetch tuning to the
               minion
* Refs saltstack#57416  ssh_priv is documented in master.rst and conf/master
* Refs saltstack#69109  retry_dns block now mentions the CRITICAL log message
               that fires when retry_dns != 0 with master_type: failover
* Refs saltstack#66270  Documented default for request_channel_timeout corrected
               from 30 to 60 (matches DEFAULT_MINION_OPTS)
* Refs saltstack#66884  log_granular_levels example now uses %(name)s (the fully
               qualified logger name) instead of %(module)s (short name)
* Refs saltstack#63109  salt-key rst documents --include-accepted,
               --include-rejected, and --include-denied, and marks
               --include-all deprecated; the same content propagates to
               the generated man page

The following two issues from the EPIC are already addressed in current
sources and need no code change:

* Refs saltstack#56545  fileserver_limit_traversal has been fully removed
* Refs saltstack#50348  use_superseded is now documented in salt.states.module
               with the 3005 deprecation note

are deferred — they require a dedicated CLI/argparse cross-check pass
and will be tracked separately under the EPIC.
@dwoz dwoz added the test:full Run the full test suite label Jun 25, 2026
@dwoz dwoz added this to the Sulphur v3006.26 milestone Jun 25, 2026
@dwoz

dwoz commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Verifier report (self-review)

Ran the embedded test suite + Sphinx HTML + Sphinx man builds on every
target branch (master / 3008.x / 3007.x / 3006.x).

Per-branch quality gates:

branch tests html man pre-commit
master 28/28 clean (-W) clean (-W) clean
3008.x 28/28 clean clean clean
3007.x 28/28 2 pre-existing warnings (unrelated) 2 pre-existing clean
3006.x 28/28 clean clean clean (venv310)

Per-claim grading: 27 VERIFIED-BY-TEST, 11 VERIFIED-BY-CITE,
0 UNVERIFIED, 2 DEFERRED (#60677 full CLI parser audit, #56214 subsumed),
2 ALREADY-FIXED-CLOSE-WITHOUT-CHANGE (#56545, #50348).

Full table at agents/reports/docs-pr2-config-audit/verifier-report.md in
the dwoz workspace.

@dwoz
dwoz marked this pull request as ready for review August 24, 2026 21:00
@dwoz
dwoz requested a review from a team as a code owner August 24, 2026 21:00
twangboy
twangboy previously approved these changes Aug 25, 2026
@twangboy twangboy removed this from the Sulphur v3006.28 milestone Oct 1, 2026
@twangboy twangboy added this to the Argon v3008.5 milestone Oct 1, 2026
@twangboy

twangboy commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

We are no longer accepting bug fixes on the 3006.x branch. Please rebase against the 3008.x branch.

@dwoz

dwoz commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

@dwoz 3006.x has entered security only. Please rebase these changes on 3008.x

@dwoz

dwoz commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing — 3006.x has entered security-only and this change doesn't apply or port cleanly to 3008.x. Reopen a fresh PR against 3008.x if you'd like to continue.

@dwoz dwoz closed this Oct 22, 2026

This branch was previously deployed

1 inactive deployment
ci — 0239ae59 Deployed Jun 26, 2026 by dwoz via Build Onedir Packages / RPM (arm64) #24668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants