Skip to content

fix: preserve selected parameterized tests - #159

Merged
mkolasinski-splunk merged 2 commits into
2.0.xfrom
codex/ADDON-89948-partial-param-deselection-v2.0.5
Sep 16, 2026
Merged

mkolasinski-splunk merged 2 commits into
2.0.xfrom
codex/ADDON-89948-partial-param-deselection-v2.0.5

Conversation

@mkolasinski-splunk

Copy link
Copy Markdown
Contributor

Issue number: ADDON-89948

PR Type

What kind of change does this PR introduce?

  • Feature
  • Bug Fix
  • Refactoring (no functional or API changes)
  • Documentation Update
  • Maintenance (dependency updates, CI, etc.)

Summary

Changes

Backports the partial parameterized-test deselection fix onto the v2.0.5 line. The pytest hook now unregisters only the deselected parameter instance instead of unregistering every instance belonging to the same original test function.

The regression scenario selects one parameter with -m selected and proves that only that parameter's fixture executes while the other parameter remains deselected.

User experience

Before this change, marker selection of one case from a parameterized UCC functional test could remove the selected case's dependency metadata and fail fixture resolution. After this change, selected parameter instances retain their correct dependency graph.

Validation

  • Python 3.9 functional flow: 6 passed
  • Python 3.9 unit tests: 17 passed
  • Pre-commit: all checks passed

Release

This PR targets maintenance branch 2.0.x, created from tag v2.0.5. After merge, manually dispatch the CI workflow on 2.0.x; semantic-release recognizes this maintenance branch and should publish patch release 2.0.6.

Checklist

If an item doesn't apply to your changes, leave it unchecked.

AI Tool Assistance Usage Statement

  • AI assistance was used for troubleshooting, validation, and preparing this backport pull request.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T00:07:27.741922Z cbe8531 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mkolasinski-splunk
mkolasinski-splunk merged commit 4ddc382 into 2.0.x Sep 16, 2026
24 of 26 checks passed
@mkolasinski-splunk
mkolasinski-splunk deleted the codex/ADDON-89948-partial-param-deselection-v2.0.5 branch September 16, 2026 13:25
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 16, 2026
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.

2 participants