Repository navigation
🌱 add COS referenced-content PreconditionsNotMet e2e scenarios - #3025
Merged
openshift-merge-bot[bot] merged 1 commit intoOct 19, 2026
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
/hold until group PR merges |
Cover the two referenced-Secret content-validation preconditions that were not yet exercised in revision.feature: - a ref pointing to a key that is not present in the Secret, and - a ref whose content is not valid JSON. Both assert Ready=False/PreconditionsNotMet with the controller's "Referenced content is invalid: ..." message. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
perdasilva
force-pushed
the
cos-secret-ref-content-validation
branch
from
October 19, 2026 15:00
7522a82 to
1e3057d
Compare
Contributor
Author
|
/unhold |
Member
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tmshort 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 |
openshift-merge-bot
Bot
merged commit Oct 19, 2026
b0dd116
into
operator-framework:main
40 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds two e2e scenarios to
revision.featurecovering the referenced-Secret content-validation preconditions that were not yet exercised.revision.featurealready covers the mutable-Secret and Secret-content-change preconditions; these fill the remaining content-resolution gaps:refpointing to a key not present in the Secret →Ready=False / PreconditionsNotMetwithReferenced content is invalid: resolving ref in phase "resources": key "…" not found in Secret …. Fix the Secret content.refwhose value is not valid JSON →Ready=False / PreconditionsNotMetwith message includingReferenced content is invalid: resolving ref in phase "resources": unmarshaling object from key "…" in Secret …Both use the pre-existing step definitions (
ClusterObjectSet is applied,reports Ready as False with Reason … and Message[:/ includes:],resource is applied); no step code changes are needed.Testing
Ran both scenarios against the object-controller built from this branch's base on a local experimental KIND cluster:
Notes
@BoxcutterRuntime.A pre-apply check rejected …) will land in a separatecos_preflight.featurePR.🤖 Generated with Claude Code
Summary by CodeRabbit