Skip to content

fix: run full Splunk matrix on PR/push to release/* branches (ADDON-88928)#523

Merged
mkolasinski-splunk merged 2 commits into
release/5.6.0from
fix/addon-88928-release-branch-full-matrix
Jul 18, 2026
Merged

fix: run full Splunk matrix on PR/push to release/* branches (ADDON-88928)#523
mkolasinski-splunk merged 2 commits into
release/5.6.0from
fix/addon-88928-release-branch-full-matrix

Conversation

@mkolasinski-splunk

Copy link
Copy Markdown
Contributor

Summary

ADDON-88928: PR/push targeting release/* branches was running Splunk tests against latest-Splunk-only instead of the full supported matrix. The meta job's determine_splunk step only special-cased main/develop, so release/* fell into the latest-only else branch — exactly where full-matrix coverage matters most before cutting a release.

Change

  • reusable-build-test-release.yml: extend the determine_splunk condition to also treat release/* as full-matrix — for PR (base_ref) and for push (ref_name, gated by execute-tests-on-push-to-release to match the existing push gate).
  • README.md: document the release/* full-matrix behavior.

Validated (test-addonfactory-repo)

  • PR into a release/* base (test-addonfactory-repo#376): meta job succeeded; the job-summary consumed the full 5-version matrix [10.2.5, 10.0.8, 9.4.13, 9.3.14, 10.4.1] instead of latest-only [10.4.1]. AC confirmed.
  • A control PR against unmodified @develop reproduced a pre-existing startup_failure (missing GH_TOKEN_ADMIN passthrough in the caller), proving the failure was environmental and independent of this change; adding the passthrough unblocked the run.

JIRA: https://splunk.atlassian.net/browse/ADDON-88928

mkolasinski-splunk and others added 2 commits July 17, 2026 19:34
…8928)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@mkolasinski-splunk
mkolasinski-splunk requested a review from a team as a code owner July 17, 2026 18:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2860ce3e8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +497 to +498
[[ "${{ startsWith(github.base_ref, 'release/') }}" == "true" ]] || \
[[ "${{ startsWith(github.ref_name, 'release/') }}" == "true" && "${{ github.event_name }}" == "push" && "${{ inputs.execute-tests-on-push-to-release }}" == "true" ]]; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Honor the latest-Splunk override on release branches

When a caller sets wfe-run-on-splunk-latest: "true" to keep WFE tests on latest Splunk, a PR with github.base_ref matching release/* or an enabled push to release/* now enters these new clauses and unconditionally resets wfe_run_on_splunk_latest to false. That makes release runs always use the full supported matrix despite the workflow input's documented force/override semantics, so backport or emergency release workflows cannot opt into the smaller matrix.

Useful? React with 👍 / 👎.

@mkolasinski-splunk
mkolasinski-splunk merged commit 69bde9a into release/5.6.0 Jul 18, 2026
2 checks passed
@mkolasinski-splunk
mkolasinski-splunk deleted the fix/addon-88928-release-branch-full-matrix branch July 18, 2026 06:46
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 2026
@mkolasinski-splunk

Copy link
Copy Markdown
Contributor Author

Validation run confirming full Splunk matrix on release/* base: https://github.com/splunk/test-addonfactory-repo/actions/runs/29605345265

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant