ROSAENG-61179 | fix: preserve add-on availability semantics - #3443
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olucasfreitas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Isolate the free add-on availability fix together with the focused add-on coverage so reviewers can validate the behavior and wire contracts in one small slice. Signed-off-by: lufreita <lufreita@redhat.com>
2279aaf to
ad017e0
Compare
PR Summary
Isolates the
pkg/ocmadd-on availability bug fixes and the focused add-on coverage from the broader ROSAENG-61179 work.Detailed Description of the Issue
This PR is the add-on-focused layer of the ROSAENG-61179 stack. It keeps the zero-cost add-on availability and AZ handling changes together with the add-on-specific request-contract and edge-path tests, while depending on the shared test harness from the base PR.
Related Issues and PRs
N/AN/AType of Change
Previous Behavior
Behavior After This Change
AZType = ANYuntil quota metadata overrides that default.How to Test (Step-by-Step)
Preconditions
1.26.3compatible toolchain. If the local default toolchain is older, prefix commands withGOTOOLCHAIN=auto.Test Steps
GOTOOLCHAIN=auto go test ./pkg/ocm -count=1 -args -ginkgo.focus="Addons API client behavior".GOTOOLCHAIN=auto make rosa.Expected Results
pkg/ocmspecs pass.Proof of the Fix
N/AN/AGOTOOLCHAIN=auto go test ./pkg/ocm -count=1 -args -ginkgo.focus="Addons API client behavior"GOTOOLCHAIN=auto make rosaN/ABreaking Changes
Breaking Change Details / Migration Plan
N/ADeveloper Verification Checklist
[JIRA-TICKET] | [TYPE]: <MESSAGE>.make install-hookshas been run in this clone.make testpasses.make lintpasses.make rosapasses.