opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
781 stars 201 forks source link

Solutions to "Registry MUST allow subject that references a missing manifest" #483

Closed neersighted closed 7 months ago

neersighted commented 8 months ago

Problem Statement

neersighted commented 8 months ago

Opt 1: no change

Addendum: non-conformant registries could implement "automatic transactions" based on the subject digest

neersighted commented 8 months ago

Opt 2: change to "SHOULD", allowing registries to reject

Addendum: tags could be suggested as a content visibility hint to clients

neersighted commented 8 months ago

Opt 3: leave as "MUST" and implement transactional API

dlorenc commented 8 months ago

Is there a next step here to closing this out? The voting seems to have stabilized in favor of option 1.

jdolitsky commented 8 months ago

Is there a next step here to closing this out? The voting seems to have stabilized in favor of option 1.

Considering this is what we will do, just opened PR to cut 1.1 rc4: https://github.com/opencontainers/distribution-spec/pull/487

jdolitsky commented 7 months ago

@neersighted @dmcgowan @sudo-bmitch - serious question: what was the original intention of putting this up for vote?

We would like to poll for opinions on what the best way to move forward is

The poll has taken place. Can we move forward now? Are we going to just ignore the result of the vote?

neersighted commented 7 months ago

I (read: we) opened this issue due to a lack of maintainer engagement and a perceived inability to move forward without more tangible action/making providing opinions more accessible.

I do think that at this point the result is clear; I appreciate all of those who strove to understand the issue and solicited informed opinions from others.

I would consider it presumptuous of me to bind the maintainers to a poll without prior agreement, but I hope that the results of this poll are a source of signal/major influence on whatever decision is finally made by the maintainers of the spec.

dmcgowan commented 7 months ago

I believe Brandon wanted to get a gauge of where folks stood on possible solutions. I don't think we have a good solution proposed here that both solves the blocking change and alleviates concerns around client complexity. I am OK with closing out this issue and having the discussion in one place. The breaking change is still a release blocker. Once we have PR to discuss, it will be easier to vote on something more concrete.

jdolitsky commented 7 months ago

Once we have PR to discuss, it will be easier to vote on something more concrete.

Given that the vote has been in favor of no change (Opt 1), there is in fact nothing left to vote on other than moving forward with a release. Am I wrong?

jdolitsky commented 7 months ago

Closing this issue as resolved in favor of "Opt 1: no change" as described here.

Continuing the conversation in https://github.com/opencontainers/distribution-spec/issues/459 with this new data point.

sudo-bmitch commented 7 months ago

I was asking for it to get a signal from the community because this went back and forth between a few of us without anyone else weighing in. I was prepared to rewrite my implementation if the community went the other way and didn't see the value of pushing the metadata before the image.

The breaking change is still a release blocker.

I believe there's disagreement on whether this is a breaking change. Given that validation is a "MAY" in the spec, and this is a new field, I think it's appropriate for the spec to specify that this new field is outside of that permitted validation.

jdolitsky commented 7 months ago

I believe there's disagreement on whether this is a breaking change.

As we heard last week, there is indeed disagreement about whether this is a breaking change. It's fairly subjective and a matter of opinion. It could be seen either way - which is why it had to come down to a vote.

The results of the vote show that most people concerned with the matter do not view this as a breaking change.

jcarter3 commented 7 months ago

This vote was never publicized for community wide vote, and seems to be more internally shared. It was meant to initially gauge a rough sentiment, not to decide futures.

jdolitsky commented 7 months ago

This vote was never publicized for community wide vote, and seems to be more internally shared. It was meant to initially gauge a rough sentiment, not to decide futures.

That's fair, but now we have "rough sentiment" and we are deciding not to do anything with it. I hope that maintainers will take this vote into account in https://github.com/opencontainers/distribution-spec/issues/490.

jcarter3 commented 7 months ago

What we have is people sharing links and asking people to vote their way :man_shrugging: Anything gathered from here should be completely abandoned.