Skip to content

Make release splunk_versions required (drop unsafe fleet default) - #5

Merged
pbujna-apius merged 1 commit into
mainfrom
fix-splunk-versions-required
Jul 20, 2026
Merged

Make release splunk_versions required (drop unsafe fleet default)#5
pbujna-apius merged 1 commit into
mainfrom
fix-splunk-versions-required

Conversation

@pbujna-apius

Copy link
Copy Markdown
Contributor

The reusable release.yml splunk_versions input defaulted to "9.0,9.1,9.2,9.3,9.4". As a fleet-wide default this is unsafe: it declares Splunkbase compatibility with Splunk 9.0/9.1 (which ship Python 3.7) and omits all 10.x releases, so any caller relying on the default would silently publish an incorrect support matrix.

Change

  • splunk_versions is now required: true with no default.
  • Description expanded to explain that each caller must declare its own real, validated compatibility.

Impact

No-op for existing callers — apius_lang_entropy and the splunk-app-template caller both already pass splunk_versions explicitly. This is a guardrail for future apps.

The `splunk_versions` input in the reusable release.yml defaulted to
"9.0,9.1,9.2,9.3,9.4". That default was unsafe as a fleet-wide value:
it declared Splunkbase compatibility with Splunk 9.0/9.1 (which ship
Python 3.7) and omitted all 10.x releases, so a caller that relied on
the default would silently claim an incorrect support matrix.

Make the input `required: true` with no default so every caller must
declare its own real, validated compatibility explicitly, and expand
the description to explain why. Existing callers (apius_lang_entropy,
the splunk-app-template caller) already pass splunk_versions, so this
is a no-op for them and a guardrail for future apps.
@pbujna-apius
pbujna-apius requested a review from a team as a code owner July 20, 2026 13:13
@pbujna-apius
pbujna-apius merged commit b67656a into main Jul 20, 2026
1 check passed
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.

1 participant