Skip to content

Deprecated inner channel entries cause resolution error. #2154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

benluddy
Copy link
Contributor

@benluddy benluddy commented May 10, 2021

Similar to #2104, but this one happens because deprecated bundles are filtered out before they are returned from the catalog query layer:

p = append(p, WithoutDeprecatedProperty())

@benluddy benluddy requested a review from njhale May 10, 2021 21:12
@openshift-ci
Copy link

openshift-ci bot commented May 10, 2021

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 10, 2021
@openshift-ci openshift-ci bot requested review from awgreene and hasbro17 May 10, 2021 21:12
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 10, 2021
@benluddy benluddy force-pushed the deprecated-inner-entry-error branch from 386e61b to c844035 Compare May 10, 2021 21:47
Resolution would fail with an error in the presence of channels
containing more than two entries with a deprecated inner
entry (e.g. V1 -> V2 -> V3, with deprecated V2). This was due to
special handling that filtered out deprecated bundles at the cache
query layer. A channel's complete replaces-chain must be returned from
cache queries in order to correctly determine the relative order
between entries in the channel.

Signed-off-by: Ben Luddy <[email protected]>
@benluddy benluddy force-pushed the deprecated-inner-entry-error branch from c844035 to 5afaa1d Compare May 11, 2021 13:01
@benluddy benluddy marked this pull request as ready for review May 11, 2021 13:02
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 11, 2021
@benluddy benluddy changed the title Draft: Deprecated inner channel entries cause resolution error. Deprecated inner channel entries cause resolution error. May 11, 2021
@benluddy
Copy link
Contributor Author

#2092

@benluddy
Copy link
Contributor Author

benluddy commented May 11, 2021

#2091 (x3)

Copy link
Member

@ecordell ecordell left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 12, 2021
@openshift-ci
Copy link

openshift-ci bot commented May 12, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: benluddy, ecordell

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 199ed13 into operator-framework:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants