Skip to content

[BUG][DOCUMENTATION] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.) #59908

Closed as not planned

Description

@ScriptAutomate

Is your feature request related to a problem? Please describe.

pre-commit needs to monitor the salt/config/__init__.py (and the conf/* files, and the conf rst files) for new opts/options added to Salt. There have been new options added at a pace faster than they've been documented. As a result, we have a mix of over 100 undocumented and underdocumented options for salt configs.

Before we start documenting everything that is undocumented/underdocumented, we need to prevent any new options from being added that aren't documented properly.

Describe the solution you'd like

Describe alternatives you've considered

I'm not quite sure what alternative paths there would be that could assist in preventing these from continuously growing the backlog.

Additional context

This is directly related to an EPIC issue and the PRs/issues linked within it: #58112

Please Note

Should require no SEP. I wasn't sure what type of issue this should be. This could be a mixture of bug, documentation, and feature request:

Activity

  1. added
    Feature
    documentation
    bug
    and removed
    Feature
    on Mar 26, 2021
  2. changed the title [-][FEATURE REQUEST] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/-] [+][BUG][DOCUMENTATION] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/+] on Mar 26, 2021
  3. added this to the Approved milestone on Mar 29, 2021
  4. added
    severity-high
    and removed on Mar 29, 2021
  5. added
    Phosphorus v3005.0
    on Jun 18, 2021
  6. removed their assignment
    on Jan 24, 2022
  7. 9 remaining items

  8. added this to the Sulfur v3006.4 milestone on Aug 24, 2023
  9. dwoz commented on Oct 23, 2026

    @dwoz
    Contributor

    Closing as part of a backlog cleanup — this issue was filed without a Salt versions-report, so there's no explicit version attached to compare against.

    If you (or anyone else) can still reproduce this on 3008.3 or later, please comment with:

    • A fresh reproduction
    • The output of salt --versions-report

    and the issue will be reopened. The original reporter can also reopen directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentationseverity-hightime-estimate-sprint

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions